| 2 |
* DataQualCut.h |
* DataQualCut.h |
| 3 |
* |
* |
| 4 |
* Created on: 10-mar-2009 |
* Created on: 10-mar-2009 |
| 5 |
* Author: N. Mori |
* Author: N. Mori, S. Ricciarini, E. Mocchiutti |
| 6 |
*/ |
*/ |
| 7 |
|
|
| 8 |
#ifndef DATAQUALCUT_H_ |
#ifndef DATAQUALCUT_H_ |
| 16 |
* This cut ensures that all the data relative to the various detectors is |
* This cut ensures that all the data relative to the various detectors is |
| 17 |
* present in the current event and that it has been correctly read. |
* present in the current event and that it has been correctly read. |
| 18 |
*/ |
*/ |
| 19 |
|
//TODO: vedere se includere il ND e S4, chiedere riguardo al controllo su ORB che non c'e' in PamLevel2::IsGood() |
| 20 |
class DataQualCut: public PamCut { |
class DataQualCut: public PamCut { |
| 21 |
|
|
| 22 |
public: |
public: |
| 23 |
/*! @brief Constructor. |
/*! @brief Constructor. |
|
DataQualCut.h |
|
| 24 |
* |
* |
| 25 |
* @param cutName The cut's name. |
* @param cutName The cut's name. |
| 26 |
* @param cutMask An integer whose binary code would provide a mask for the cuts to apply; |
* @param cutMask An integer whose binary code would provide a mask for the cuts to apply; |
| 28 |
* Default: DEFAULT (meaning Level-2 for TRK, CALO, TOF, ANT, TRG, ORB). |
* Default: DEFAULT (meaning Level-2 for TRK, CALO, TOF, ANT, TRG, ORB). |
| 29 |
*/ |
*/ |
| 30 |
|
|
| 31 |
DataQualCut(const char *cutName, unsigned int cutMask=DEFAULT) : |
DataQualCut(const char *cutName, unsigned int cutMask = DEFAULT) : |
| 32 |
PamCut(cutName), _cutMask(cutMask) { |
PamCut(cutName), _cutMask(cutMask) { |
| 33 |
} |
} |
| 34 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
| 35 |
~DataQualCut() { |
~DataQualCut() { |
| 56 |
private: |
private: |
| 57 |
|
|
| 58 |
unsigned int _cutMask; |
unsigned int _cutMask; |
| 59 |
|
Bool_t CL1IsGood(CaloLevel1 *cl1, CaloLevel2 *cl2); ///< Check CaloLevel1 Consistency |
| 60 |
|
|
| 61 |
}; |
}; |
| 62 |
#endif /* DATAQUALCUT_H_ */ |
#endif /* DATAQUALCUT_H_ */ |