00001
00002
00003
00004
00005
00006
00007
00010 #ifndef CALONHITCUT_H_
00011 #define CALONHITCUT_H_
00012
00013 #include "../../PamCutBase/PamCutBase.h"
00014 #include "../../CaloAxis2.h"
00015
00029 class CaloNHitCut: public PamCut {
00030
00031 public:
00032
00043 CaloNHitCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10) :
00044 PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _nMinHit(nMinHit) {
00045 }
00047 ~CaloNHitCut() {
00048 }
00049
00061 int Check(PamLevel2 *event);
00062
00063 private:
00064 CaloAxis *_xCaloAxis, *_yCaloAxis;
00065 int _nMinHit;
00066
00067 };
00068 #endif
00069