PamCut: CaloCuts/CaloNHitCut/CaloNHitCut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# CaloCuts/CaloNHitCut/CaloNHitCut.h

Go to the documentation of this file.

    00001 /*
    00002  * CaloNHitCut.h
    00003  *
    00004  *  Created on: 18-mar-2009
    00005  *      Author: Nicola Mori, S. Ricciarini
    00006  */
    00007
    00010 #ifndef CALONHITCUT_H_
    00011 #define CALONHITCUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014 #include "../../CaloAxis2.h"
    00015
    00029 class CaloNHitCut: public PamCut {
    00030
    00031 public:
    00032
    00043   CaloNHitCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10) :
    00044     PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _nMinHit(nMinHit) {
    00045   }
    00047   ~CaloNHitCut() {
    00048   }
    00049
    00061   int Check(PamLevel2 *event);
    00062
    00063 private:
    00064   CaloAxis *_xCaloAxis, *_yCaloAxis;
    00065   int _nMinHit;
    00066
    00067 };
    00068 #endif /* CALONHITCUT_H_ */
    00069