| 1 |
/* |
| 2 |
* TrkChi2QualCut.h |
| 3 |
* |
| 4 |
* Created on: 13-mar-2009 |
| 5 |
* Author: Nicola Mori, S. Ricciarini |
| 6 |
*/ |
| 7 |
|
| 8 |
/*! @file TrkChi2QualCut.h The TrkChi2QualCut class definition file */ |
| 9 |
|
| 10 |
#ifndef TRKCHI2QUALCUT_H_ |
| 11 |
#define TRKCHI2QUALCUT_H_ |
| 12 |
|
| 13 |
#include "../../PamCutBase/PamCutBase.h" |
| 14 |
|
| 15 |
/*! @brief The tracker chi2 quality cut. |
| 16 |
* |
| 17 |
* This cut performs a specific check on chi2 of the track (see code for details) |
| 18 |
*/ |
| 19 |
|
| 20 |
class TrkChi2QualCut: public PamCut { |
| 21 |
|
| 22 |
public: |
| 23 |
/*! @brief Constructor. |
| 24 |
* |
| 25 |
* @param cutName The cut's name. |
| 26 |
*/ |
| 27 |
TrkChi2QualCut(char *cutName) : |
| 28 |
PamCut(cutName) { |
| 29 |
} |
| 30 |
/*! @brief Destructor. */ |
| 31 |
~TrkChi2QualCut() { |
| 32 |
} |
| 33 |
|
| 34 |
/*! @brief The tracker chi2 quality check. |
| 35 |
* |
| 36 |
* |
| 37 |
* @param event The event to analyze. |
| 38 |
* @return #CUTOK if chi2 is satisfying. |
| 39 |
* @return 0 if not |
| 40 |
*/ |
| 41 |
int Check(PamLevel2 *event); |
| 42 |
|
| 43 |
}; |
| 44 |
#endif /* TRKCHI2QUALCUT_H_ */ |