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