00001 /* 00002 * TrkIonCut.h 00003 * 00004 * Created on: 13-mar-2009 00005 * Author: Nicola Mori, S. Ricciarini 00006 */ 00007 00010 #ifndef TRKIONCUT_H_ 00011 #define TRKIONCUT_H_ 00012 00013 #include "../../PamCutBase/PamCutBase.h" 00014 00020 class TrkIonCut: public PamCut { 00021 00022 public: 00029 TrkIonCut(const char *cutName, float maxRelease = 3., float minRelease = 0.) : 00030 PamCut(cutName), _maxRelease(maxRelease), _minRelease(minRelease) { 00031 } 00033 ~TrkIonCut() { 00034 } 00035 00044 int Check(PamLevel2 *event); 00045 00046 private: 00047 00048 float _maxRelease, _minRelease; 00049 00050 }; 00051 #endif /* TRKIONCUT_H_ */