7 |
|
|
8 |
/*! @file CaloGeomCut.h The CaloGeomCut class definition file */ |
/*! @file CaloGeomCut.h The CaloGeomCut class definition file */ |
9 |
|
|
10 |
|
#ifndef NO_CALOAXIS |
11 |
|
|
12 |
#ifndef CALOGEOMCUT_H_ |
#ifndef CALOGEOMCUT_H_ |
13 |
#define CALOGEOMCUT_H_ |
#define CALOGEOMCUT_H_ |
14 |
|
|
15 |
#include "../../PamCutBase/PamCutBase.h" |
#include "../../PamCutBase/PamCutBase.h" |
16 |
#include "../../CaloAxis2.h" |
#include <CaloAxis.h> |
17 |
|
|
18 |
/*! @brief The geometric cut using the calorimeter track. |
/*! @brief The geometric cut using the calorimeter track. |
19 |
* |
* |
42 |
* @param yCaloAxis The pointer to the CaloAxis object for Y axis. |
* @param yCaloAxis The pointer to the CaloAxis object for Y axis. |
43 |
* @param iMethod index of the method used to track: 0 means straight line; |
* @param iMethod index of the method used to track: 0 means straight line; |
44 |
* 1 means curved line (taking into account magnetic field and beta |
* 1 means curved line (taking into account magnetic field and beta |
45 |
* from TOF stand-alone [assuming proton mass] with 3 parameters specified |
* from TOF stand-alone with 3 parameters specified |
46 |
* below) starting from the top of the calorimeter and going backward |
* below) starting from the top of the calorimeter and going backward |
47 |
* (straight line inside the calorimeter). |
* (straight line inside the calorimeter). |
48 |
* Various combinations of TOF beta quality parameters are possible: default, low-quality beta (used for beta[12]): 10.,10.,20.; medium-quality beta: 5.,15.,4; high-quality beta: 3.,20.,3. |
* Various combinations of TOF beta quality parameters are possible: |
49 |
|
* default, low-quality beta (used for beta[12]): 10.,10.,20.; |
50 |
|
* medium-quality beta: 5.,15.,4; high-quality beta: 3.,20.,3. |
51 |
* @param xTolCaloTrack The tolerance for X view which defines the fiducial acceptance. |
* @param xTolCaloTrack The tolerance for X view which defines the fiducial acceptance. |
52 |
* @param yTolCaloTrack The tolerance for Y view which defines the fiducial acceptance. |
* @param yTolCaloTrack The tolerance for Y view which defines the fiducial acceptance. |
53 |
* @param mass The particle's mass (used only when iMethod = 1). Default is #H_MASS. |
* @param mass The particle's mass (used only when iMethod = 1). Default is #H_MASS. |
55 |
* @param qualCut Default: 10. (equivalent to beta[12]) |
* @param qualCut Default: 10. (equivalent to beta[12]) |
56 |
* @param chi2Cut Default: 20. (equivalent to beta[12]) |
* @param chi2Cut Default: 20. (equivalent to beta[12]) |
57 |
*/ |
*/ |
58 |
CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod, Float_t xTolCaloTrack = |
CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod, |
59 |
0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t resMax = 10., Float_t qualCut = 10., Float_t chi2Cut = 20.) : |
Float_t xTolCaloTrack = 0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t resMax = 10., |
60 |
PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _iMethod(iMethod), _xTolCaloTrack(xTolCaloTrack), |
Float_t qualCut = 10., Float_t chi2Cut = 20.); |
61 |
_yTolCaloTrack(yTolCaloTrack), _mass(mass), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) { |
|
|
} |
|
62 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
63 |
~CaloGeomCut() { |
~CaloGeomCut(); |
|
} |
|
64 |
|
|
65 |
/*! @brief The geometry check using the calorimeter's track. |
/*! @brief The geometry check using the calorimeter's track. |
66 |
* |
* |
76 |
Float_t _xTolCaloTrack, _yTolCaloTrack; |
Float_t _xTolCaloTrack, _yTolCaloTrack; |
77 |
Float_t _mass; |
Float_t _mass; |
78 |
Float_t _resMax, _qualCut, _chi2Cut; |
Float_t _resMax, _qualCut, _chi2Cut; |
79 |
|
|
80 |
|
Trajectory* _traj; |
81 |
|
static const Int_t _nPoint; |
82 |
|
vector<Float_t> _zIn; // MUST be Float_t |
83 |
|
static const Float_t _zCaloTop; // cm MUST be Float_t |
84 |
}; |
}; |
85 |
|
|
86 |
#endif /* CALOGEOMCUT_H_ */ |
#endif /* CALOGEOMCUT_H_ */ |
87 |
|
#endif /* NO_CALOAXIS */ |