28 |
* xMagnTol and yMagnTol will be used as parameters. |
* xMagnTol and yMagnTol will be used as parameters. |
29 |
* |
* |
30 |
* @param cutName The cut's name. |
* @param cutName The cut's name. |
31 |
|
* @param trkAlg The tracking algorythm used to check the track. |
32 |
* @param xTol The fiducial border on X view for a generic plane in cm (except M1 and M2). |
* @param xTol The fiducial border on X view for a generic plane in cm (except M1 and M2). |
33 |
* @param yTol The fiducial border on Y view for a generic plane in cm (except M1 and M2). |
* @param yTol The fiducial border on Y view for a generic plane in cm (except M1 and M2). |
34 |
* @param xMagnTol The fiducial border on X view for M1 and M2 in cm. |
* @param xMagnTol The fiducial border on X view for M1 and M2 in cm. |
35 |
* @param yMagnTol The fiducial border on Y view for M1 and M2 in cm. |
* @param yMagnTol The fiducial border on Y view for M1 and M2 in cm. |
36 |
*/ |
*/ |
37 |
TrkGeomCut(const char *cutName, Float_t xTol=0.15, Float_t yTol=0.15, Float_t xMagnTol=0.15, Float_t yMagnTol=0.15) : |
TrkGeomCut(const char *cutName, const char *trkAlg, Float_t xTol=0.15, Float_t yTol=0.15, Float_t xMagnTol=0.15, Float_t yMagnTol=0.15) : |
38 |
PamCut(cutName), _xTol(xTol), _yTol(yTol), _xMagnTol(xMagnTol), _yMagnTol(yMagnTol) { |
PamCut(cutName), _trkAlg(trkAlg), _xTol(xTol), _yTol(yTol), _xMagnTol(xMagnTol), _yMagnTol(yMagnTol) { |
39 |
} |
} |
40 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
41 |
~TrkGeomCut() { |
~TrkGeomCut() { |
49 |
*/ |
*/ |
50 |
int Check(PamLevel2 *event); |
int Check(PamLevel2 *event); |
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
private: |
private: |
56 |
|
|
57 |
|
const char *_trkAlg; |
58 |
Float_t _xTol, _yTol; |
Float_t _xTol, _yTol; |
59 |
Float_t _xMagnTol, _yMagnTol; |
Float_t _xMagnTol, _yMagnTol; |
60 |
|
|