PamCut: CaloCuts/CaloTrackChi2Cut/CaloTrackChi2Cut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# CaloCuts/CaloTrackChi2Cut/CaloTrackChi2Cut.h

Go to the documentation of this file.

    00001 /*
    00002  * CaloTrackChi2Cut.h
    00003  *
    00004  *  Created on: 18-mar-2009
    00005  *      Author: mori
    00006  */
    00007
    00010 #ifndef CALOTRACKCHI2CUT_H_
    00011 #define CALOTRACKCHI2CUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014 #include "../../CaloAxis2.h"
    00015
    00030 class CaloTrackChi2Cut: public PamCut {
    00031
    00032 public:
    00044   CaloTrackChi2Cut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float maxChi2=0.03, float minChi2=0.005) :
    00045     PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _maxChi2(maxChi2), _minChi2(minChi2) {
    00046   }
    00048   ~CaloTrackChi2Cut() {
    00049   }
    00050
    00057   int Check(PamLevel2 *event);
    00058
    00059 private:
    00060   CaloAxis *_xCaloAxis, *_yCaloAxis;
    00061   float _maxChi2, _minChi2;
    00062 };
    00063
    00064 #endif /* CALOTRACKCHI2CUT_H_ */