1 |
/* |
2 |
* TrgConfCut.h |
3 |
* |
4 |
* Created on: 10-mar-2009 |
5 |
* Author: Nicola Mori, S. Ricciarini |
6 |
*/ |
7 |
|
8 |
/*! @file TrgConfCut.cpp The TrgConfCut class declaration file */ |
9 |
|
10 |
#ifndef TRGCONFCUT_H_ |
11 |
#define TRGCONFCUT_H_ |
12 |
|
13 |
#include "../../PamCutBase/PamCutBase.h" |
14 |
|
15 |
/*TODO: adattare il taglio anche per TOF4*/ |
16 |
|
17 |
/*! @brief trigger configuration cut: trigger conf. must be TOF1 |
18 |
*/ |
19 |
class TrgConfCut: public PamCut { |
20 |
|
21 |
public: |
22 |
/*! @brief Constructor. |
23 |
* |
24 |
* @param cutName The cut's name. |
25 |
* @return |
26 |
*/ |
27 |
TrgConfCut(const char *cutName): PamCut(cutName){ |
28 |
} |
29 |
/*! @brief Destructor. */ |
30 |
~TrgConfCut() { |
31 |
} |
32 |
|
33 |
/*! @brief The trigger configuration check. |
34 |
* |
35 |
* @param event The event to analyze. |
36 |
* @return #CUTOK if trigger configuration is TOF1. |
37 |
* @return 0 otherwise. |
38 |
*/ |
39 |
int Check(PamLevel2 *event); |
40 |
|
41 |
}; |
42 |
#endif /* TRGCONFCUT_H_ */ |