7 |
|
|
8 |
/*! @file CaloTrackChi2Cut.h The CaloTrackChi2Cut class definition file */ |
/*! @file CaloTrackChi2Cut.h The CaloTrackChi2Cut class definition file */ |
9 |
|
|
10 |
|
#ifndef NO_CALOAXIS |
11 |
|
|
12 |
#ifndef CALOTRACKCHI2CUT_H_ |
#ifndef CALOTRACKCHI2CUT_H_ |
13 |
#define CALOTRACKCHI2CUT_H_ |
#define CALOTRACKCHI2CUT_H_ |
14 |
|
|
15 |
#include "../../PamCutBase/PamCutBase.h" |
#include "../../PamCutBase/PamCutBase.h" |
16 |
#include "../../CaloAxis2.h" |
#include <CaloAxis.h> |
17 |
|
|
18 |
/*! @brief The calorimeter track chi2 quality cut. |
/*! @brief The calorimeter track chi2 quality cut. |
19 |
* |
* |
40 |
* @param cutName The cut name. |
* @param cutName The cut name. |
41 |
* @param xCaloAxis Pointer to the CaloAxis object for X axis. |
* @param xCaloAxis Pointer to the CaloAxis object for X axis. |
42 |
* @param yCaloAxis Pointer to the CaloAxis object for Y axis. |
* @param yCaloAxis Pointer to the CaloAxis object for Y axis. |
43 |
* @param maxChi2 The maximum allowed Chi2. |
* @param maxChi2 The maximum allowed Chi2 (default value is optimized for single-track fit FitAxis). |
44 |
* @param minChi2 The minimum allowed Chi2. |
* @param minChi2 The minimum allowed Chi2 (default value is optimized for single-track fit FitAxis). |
45 |
*/ |
*/ |
46 |
CaloTrackChi2Cut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float maxChi2=0.03, float minChi2=0.005) : |
CaloTrackChi2Cut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float maxChi2=0.03, float minChi2=0.005) : |
47 |
PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _maxChi2(maxChi2), _minChi2(minChi2) { |
PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _maxChi2(maxChi2), _minChi2(minChi2) { |
64 |
}; |
}; |
65 |
|
|
66 |
#endif /* CALOTRACKCHI2CUT_H_ */ |
#endif /* CALOTRACKCHI2CUT_H_ */ |
67 |
|
#endif /* NO_CALOAXIS */ |