7 |
|
|
8 |
/*! @file CaloTrackCut.h The CaloTrackCut class definition file */ |
/*! @file CaloTrackCut.h The CaloTrackCut class definition file */ |
9 |
|
|
10 |
|
#ifndef NO_CALOAXIS |
11 |
|
|
12 |
#ifndef CALOTRACKCUT_H_ |
#ifndef CALOTRACKCUT_H_ |
13 |
#define CALOTRACKCUT_H_ |
#define CALOTRACKCUT_H_ |
14 |
|
|
15 |
#include "../../PamCutBase/PamCutBase.h" |
#include "../../PamCutBase/PamCutBase.h" |
16 |
#include "../../CaloAxis2.h" |
#include <CaloAxis.h> |
17 |
|
|
18 |
/*! @brief The calorimeter track cut. |
/*! @brief The calorimeter track cut. |
19 |
* Checks for the existence of a track in the calorimeter, using the CaloAxis routine. |
* Checks for the existence of a track in the calorimeter, using the CaloAxis routine. |
26 |
/*! @brief Constructor. |
/*! @brief Constructor. |
27 |
* |
* |
28 |
* @param cutName The cut's name. |
* @param cutName The cut's name. |
29 |
|
* @param showerFit If false, a single-track fits (FitAxis) is performed; if true, a shower fit (FitShower) is performed |
30 |
|
* |
31 |
*/ |
*/ |
32 |
CaloTrackCut(const char *cutName) : |
CaloTrackCut(const char *cutName, Bool_t showerFit=false) : |
33 |
PamCut(cutName) { |
PamCut(cutName), _showerFit(showerFit) { |
34 |
} |
} |
35 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
36 |
~CaloTrackCut() { |
~CaloTrackCut() { |
51 |
CaloAxis xCaloAxis; |
CaloAxis xCaloAxis; |
52 |
CaloAxis yCaloAxis; |
CaloAxis yCaloAxis; |
53 |
/*!@}*/ |
/*!@}*/ |
54 |
|
|
55 |
|
private: |
56 |
|
|
57 |
|
Bool_t _showerFit; |
58 |
|
|
59 |
}; |
}; |
60 |
|
|
61 |
#endif /* CALOTRACKCUT_H_ */ |
#endif /* CALOTRACKCUT_H_ */ |
62 |
|
#endif /* NO_CALOAXIS */ |