00001
00002
00003
00004
00005
00006
00007
00010 #ifndef CALOGEOMCUT_H_
00011 #define CALOGEOMCUT_H_
00012
00013 #include "../../PamCutBase/PamCutBase.h"
00014 #include "../../CaloAxis2.h"
00015
00030 class CaloGeomCut: public PamCut {
00031
00032 public:
00044 CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float xTolCaloTrack = 0.7, float yTolCaloTrack = 0.7) :
00045 PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _xTolCaloTrack(xTolCaloTrack), _yTolCaloTrack(
00046 yTolCaloTrack) {
00047 }
00049 ~CaloGeomCut() {
00050 }
00051
00058 int Check(PamLevel2 *event);
00059
00060 private:
00061 CaloAxis *_xCaloAxis, *_yCaloAxis;
00062 float _xTolCaloTrack, _yTolCaloTrack;
00063 };
00064
00065 #endif