1 |
pam-fi |
1.1 |
/* |
2 |
|
|
* TrkDedxHeCut.h |
3 |
|
|
* |
4 |
pam-fi |
1.2 |
* Created on: 28/gen/2010 |
5 |
|
|
* Author: Nicola Mori |
6 |
pam-fi |
1.1 |
*/ |
7 |
|
|
|
8 |
|
|
#ifndef TRKDEDXHECUT_H_ |
9 |
|
|
#define TRKDEDXHECUT_H_ |
10 |
|
|
|
11 |
|
|
#include "../../PamCutBase/PamCutBase.h" |
12 |
|
|
|
13 |
pam-fi |
1.2 |
/*! @brief The dE/dX cut to select He |
14 |
|
|
* This cut discards all the events whose rigidity modulus and dE/dX (both given by TRK) are outside a pre-defined band |
15 |
|
|
* (defined by E. Vannuccini and N. Mori). The function defining the upper and lower limits of the band is: dE/dx = a + b/R^2, |
16 |
|
|
* where a and b are parameters which take different values for the upper and lower limit. |
17 |
|
|
* CUT DEPENDENCIES: TrkPhSinCut for object TrkTrack |
18 |
pam-fi |
1.1 |
*/ |
19 |
|
|
class TrkDedxHeCut: public PamCut { |
20 |
|
|
|
21 |
|
|
public: |
22 |
pam-fi |
1.2 |
|
23 |
pam-fi |
1.1 |
/*! @brief Constructor. |
24 |
|
|
* |
25 |
|
|
* @param cutName The cut's name. |
26 |
|
|
*/ |
27 |
|
|
TrkDedxHeCut(const char *cutName) : |
28 |
pam-fi |
1.2 |
PamCut(cutName) { |
29 |
pam-fi |
1.1 |
} |
30 |
|
|
|
31 |
|
|
/*! @brief Destructor. */ |
32 |
|
|
~TrkDedxHeCut() { |
33 |
|
|
} |
34 |
|
|
|
35 |
pam-fi |
1.2 |
/*! @brief The tracker dE/dx vs rigidity check. |
36 |
pam-fi |
1.1 |
* |
37 |
|
|
* @param event The event to analyze. |
38 |
pam-fi |
1.2 |
* @return #CUTOK if the event lies inside the helium band |
39 |
|
|
* @return 0 otherwise |
40 |
pam-fi |
1.1 |
*/ |
41 |
|
|
int Check(PamLevel2 *event); |
42 |
|
|
}; |
43 |
pam-fi |
1.2 |
#endif /* TRKDEDXHECUT_H_ */ |