2 |
* TrkGeomCut.h |
* TrkGeomCut.h |
3 |
* |
* |
4 |
* Created on: 13-mar-2009 |
* Created on: 13-mar-2009 |
5 |
* Author: Nicola Mori, S. Ricciarini |
* Author: N. Mori, S. Ricciarini |
6 |
*/ |
*/ |
7 |
|
|
8 |
/*! @file TrkGeomCut.h The TrkGeomCut class definition file */ |
/*! @file TrkGeomCut.h The TrkGeomCut class definition file */ |
24 |
* |
* |
25 |
* The parameters are the width of the regions on each side of a view that define the |
* The parameters are the width of the regions on each side of a view that define the |
26 |
* fiducial acceptance region. The detector size is therefore reduce by an amount of xTol |
* fiducial acceptance region. The detector size is therefore reduce by an amount of xTol |
27 |
* (yTol) on each side of the X (Y) view. |
* (yTol) on each side of the X (Y) view for all the GF planes except fot M1 and M2. For these, |
28 |
|
* xMagnTol and yMagnTol will be used as parameters. |
29 |
* |
* |
30 |
* @param cutName The cut's name. |
* @param cutName The cut's name. |
31 |
* @param xTol The fiducial border on X view in cm. |
* @param xTol The fiducial border on X view for a generic plane in cm (except M1 and M2). |
32 |
* @param yTol The fiducial border on Y view in cm. |
* @param yTol The fiducial border on Y view for a generic plane in cm (except M1 and M2). |
33 |
|
* @param xMagnTol The fiducial border on X view for M1 and M2 in cm. |
34 |
|
* @param yMagnTol The fiducial border on Y view for M1 and M2 in cm. |
35 |
*/ |
*/ |
36 |
TrkGeomCut(const char *cutName, float xTol, float yTol) : |
TrkGeomCut(const char *cutName, Float_t xTol=0.15, Float_t yTol=0.15, Float_t xMagnTol=0.15, Float_t yMagnTol=0.15) : |
37 |
PamCut(cutName), _xTol(xTol), _yTol(yTol) { |
PamCut(cutName), _xTol(xTol), _yTol(yTol), _xMagnTol(xMagnTol), _yMagnTol(yMagnTol) { |
38 |
} |
} |
39 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
40 |
~TrkGeomCut() { |
~TrkGeomCut() { |
50 |
|
|
51 |
private: |
private: |
52 |
|
|
53 |
float _xTol; |
Float_t _xTol, _yTol; |
54 |
float _yTol; |
Float_t _xMagnTol, _yMagnTol; |
55 |
|
|
56 |
}; |
}; |
57 |
#endif /* TRKGEOMCUT_H_ */ |
#endif /* TRKGEOMCUT_H_ */ |