14 |
|
|
15 |
/*! @brief The tracker hit quality cut. |
/*! @brief The tracker hit quality cut. |
16 |
* |
* |
17 |
* This cut performs a check on the number of hits on X and Y view, on the X lever arm and on the impact angle. |
* This cut performs a check on the number of hits on X and Y view |
18 |
|
* and on the lever arm. |
19 |
* |
* |
20 |
* CUT DEPENDENCIES: TrkPhysSin for object trkTrack |
* CUT DEPENDENCIES: TrkPhysSin for object trkTrack |
21 |
*/ |
*/ |
26 |
/*! @brief Constructor. |
/*! @brief Constructor. |
27 |
* |
* |
28 |
* @param cutName The cut's name. |
* @param cutName The cut's name. |
29 |
|
* @param trkAlg The tracking algorythm used to check the track. |
30 |
* @param xMinHit The minimum number of hits along the track for X view |
* @param xMinHit The minimum number of hits along the track for X view |
31 |
* @param yMinHit The minimum number of hits along the track for X view |
* @param yMinHit The minimum number of hits along the track for X view |
32 |
* @param xLeverArm The minimum lever arm for X view |
* @param xLeverArm The minimum lever arm for X view |
33 |
* @param xAngMin The minimum XZ angle (degrees) measured from vertical axis on the first TRK plane (can either positive or negative) |
* @param xAngMin The minimum XZ angle (degrees) measured from vertical axis on the first TRK plane (can either positive or negative) |
34 |
* @param xAngMax The maximum XZ angle (degrees) measured from vertical axis on the first TRK plane (can either positive or negative) |
* @param xAngMax The maximum XZ angle (degrees) measured from vertical axis on the first TRK plane (can either positive or negative) |
35 |
*/ |
*/ |
36 |
TrkHitQualCut(const char *cutName, int xMinHit, int yMinHit, int xLeverArm, Float_t xAngMin=-90., Float_t xAngMax=+90.) : |
TrkHitQualCut(const char *cutName, const char *trkAlg, int xMinHit, int yMinHit, int xLeverArm, Float_t xAngMin=-90., Float_t xAngMax=+90.) : |
37 |
PamCut(cutName), _xMinHit(xMinHit), _yMinHit(yMinHit), _xLeverArm(xLeverArm), _xAngMin(xAngMin), _xAngMax(xAngMax) { |
PamCut(cutName), _trkAlg(trkAlg), _xMinHit(xMinHit), _yMinHit(yMinHit), _xLeverArm(xLeverArm), _xAngMin(xAngMin), _xAngMax(xAngMax) { |
38 |
} |
} |
39 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
40 |
~TrkHitQualCut() { |
~TrkHitQualCut() { |
54 |
|
|
55 |
private: |
private: |
56 |
|
|
57 |
|
const char *_trkAlg; |
58 |
int _xMinHit, _yMinHit, _xLeverArm; |
int _xMinHit, _yMinHit, _xLeverArm; |
59 |
Float_t _xAngMin, _xAngMax; |
Float_t _xAngMin, _xAngMax; |
60 |
|
|