| 1 |
/* |
| 2 |
* TrkRunValCut.h |
| 3 |
* |
| 4 |
* Created on: 24-mar-2009 |
| 5 |
* Author: S. Ricciarini |
| 6 |
*/ |
| 7 |
|
| 8 |
/*! @file TrkRunValCut.h The TrkRunValCut class definition file */ |
| 9 |
|
| 10 |
#ifndef TRKRUNVALCUT_H_ |
| 11 |
#define TRKRUNVALCUT_H_ |
| 12 |
|
| 13 |
#include "../../PamCutBase/PamCutBase.h" |
| 14 |
|
| 15 |
/*! @brief The tracker run validation cut. |
| 16 |
*/ |
| 17 |
class TrkRunValCut: public PamCut { |
| 18 |
|
| 19 |
public: |
| 20 |
/*! @brief Constructor. */ |
| 21 |
TrkRunValCut(const char *cutName) : |
| 22 |
PamCut(cutName) { |
| 23 |
} |
| 24 |
/*! @brief Destructor. */ |
| 25 |
~TrkRunValCut() { |
| 26 |
} |
| 27 |
|
| 28 |
/*! @brief The tracker run validation check. |
| 29 |
* |
| 30 |
* This method checks the tracker run validation variable, which must be 1 or 2. |
| 31 |
* |
| 32 |
* @param event The event to analyze. |
| 33 |
* @return #CUTOK if tracker calibration is online or default. |
| 34 |
*/ |
| 35 |
int Check(PamLevel2 *event); |
| 36 |
|
| 37 |
private: |
| 38 |
|
| 39 |
}; |
| 40 |
#endif /* TRKRUNVALCUT_H_ */ |