PamCut: CaloCuts/CaloNotIntCut/CaloNotIntCut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# CaloCuts/CaloNotIntCut/CaloNotIntCut.h

Go to the documentation of this file.

    00001 /*
    00002  * CaloNotIntCut.h
    00003  *
    00004  *  Created on: 17-mar-2009
    00005  *      Author: Nicola Mori
    00006  */
    00007
    00010 #ifndef CALONOTINTCUT_H_
    00011 #define CALONOTINTCUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014 #include "../../CaloAxis2.h"
    00015
    00027 class CaloNotIntCut: public PamCut {
    00028
    00029 public:
    00040   CaloNotIntCut(const char *cutName, TrkTrack *trkTrack, float qRatioMin=0.8) :
    00041     PamCut(cutName), _trkTrack(trkTrack), _xCaloAxis(NULL), _yCaloAxis(NULL), _qRatioMin(qRatioMin) {
    00042   }
    00043
    00054   CaloNotIntCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8) :
    00055     PamCut(cutName), _trkTrack(NULL), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _qRatioMin(qRatioMin) {
    00056   }
    00057
    00058   //TODO: aggiungere il costruttore per il TOF.
    00059
    00061   ~CaloNotIntCut() {
    00062   }
    00063
    00071   int Check(PamLevel2 *event);
    00072
    00073 private:
    00074
    00075   TrkTrack *_trkTrack;
    00076   CaloAxis *_xCaloAxis, *_yCaloAxis;
    00077   float _qRatioMin;
    00078
    00079 };
    00080 #endif /* CALONOTINTCUT_H_ */