00001 /* 00002 * TrkHitQualCut.h 00003 * 00004 * Created on: 13-mar-2009 00005 * Author: Nicola Mori, S. Ricciarini 00006 */ 00007 00010 #ifndef TRKHITQUALCUT_H_ 00011 #define TRKHITQUALCUT_H_ 00012 00013 #include "../../PamCutBase/PamCutBase.h" 00014 00023 class TrkHitQualCut: public PamCut { 00024 00025 public: 00033 TrkHitQualCut(const char *cutName, int xMinHit, int yMinHit, int xLeverArm) : 00034 PamCut(cutName), _xMinHit(xMinHit), _yMinHit(yMinHit), _xLeverArm(xLeverArm) { 00035 } 00037 ~TrkHitQualCut() { 00038 } 00039 00050 /*TODO: implementare un tipo di ritorno diverso a seconda che fallisca il check sul numero di hit o quello 00051 * sul lever arm (opzionale) 00052 */ 00053 int Check(PamLevel2 *event); 00054 00055 private: 00056 00057 int _xMinHit, _yMinHit, _xLeverArm; 00058 00059 }; 00060 #endif /* TRKHITQUALCUT_H_ */