1 |
/* |
2 |
* TrkDedxNucleiCut.h |
3 |
* |
4 |
* Created on: 8/jul/2010 |
5 |
* Author: Nicola Mori |
6 |
*/ |
7 |
|
8 |
#ifndef TRKDEDXNUCLEICUT_H_ |
9 |
#define TRKDEDXNUCLEICUT_H_ |
10 |
|
11 |
#include "../../PamCutBase/PamCutBase.h" |
12 |
|
13 |
/*! @brief The dE/dX cut to select nuclei (Z >= 2) |
14 |
* This cut keeps all the events whose energy release in tracker exceeds the lower |
15 |
* limit of the He band. This will effectively discard only Z = 1 particles. |
16 |
* The selection algorithm is different from that used in #TrkDedxHeCut: here no smart dE/dx computation |
17 |
* is performed, ie., there's no exclusion of high release clusters nor separate check on X and Y views. |
18 |
* This may result in a little contamination from protons. |
19 |
* CUT DEPENDENCIES: TrkPhSinCut for object TrkTrack |
20 |
*/ |
21 |
class TrkDedxNucleiCut: public PamCut { |
22 |
|
23 |
public: |
24 |
|
25 |
/*! @brief Constructor. |
26 |
* |
27 |
* @param cutName The cut's name. |
28 |
*/ |
29 |
TrkDedxNucleiCut(const char *cutName, const char *trkAlg) : |
30 |
PamCut(cutName), _trkAlg(trkAlg) { |
31 |
} |
32 |
|
33 |
/*! @brief Destructor. */ |
34 |
~TrkDedxNucleiCut() { |
35 |
} |
36 |
|
37 |
/*! @brief The tracker dE/dx vs rigidity check. |
38 |
* |
39 |
* @param event The event to analyze. |
40 |
* @return #CUTOK if the event lies above the lower limit of the helium band. |
41 |
* @return 0 otherwise |
42 |
*/ |
43 |
int Check(PamLevel2 *event); |
44 |
|
45 |
private: |
46 |
|
47 |
const char *_trkAlg; |
48 |
}; |
49 |
#endif /* TRKDEDXNUCLEICUT_H_ */ |