1 |
/* |
2 |
* TrkIdCut.h |
3 |
* |
4 |
* Created on: 13-mar-2009 |
5 |
* Author: Nicola Mori, S. Ricciarini |
6 |
*/ |
7 |
|
8 |
/*! @file TrkIdCut.h The TrkIdCut class definition file */ |
9 |
|
10 |
#ifndef TRKIDCUT_H_ |
11 |
#define TRKIDCUT_H_ |
12 |
#include "../../PamCutBase/PamCutBase.h" |
13 |
|
14 |
/*! @brief The TrkId cut. |
15 |
* |
16 |
* This cut checks if the event has an image track, and discards it if the |
17 |
* ambiguity is not solved. |
18 |
*/ |
19 |
|
20 |
class TrkIdCut: public PamCut { |
21 |
|
22 |
public: |
23 |
|
24 |
/*! @brief Constructor. */ |
25 |
TrkIdCut(const char *cutName) : |
26 |
PamCut(cutName) { |
27 |
} |
28 |
/*! @brief Destructor. */ |
29 |
~TrkIdCut() { |
30 |
} |
31 |
|
32 |
/*! @brief The TrkId check. |
33 |
* |
34 |
* @param event The event to analyze. |
35 |
* @return #CUTOK if |
36 |
* @return 0 |
37 |
*/ |
38 |
|
39 |
int Check(PamLevel2 *event); |
40 |
|
41 |
}; |
42 |
|
43 |
#endif /* TRKIDCUT_H_ */ |