#include <CaloNotIntCut.h>
Public Member Functions | |
CaloNotIntCut (const char *cutName, TrkTrack *trkTrack, float qRatioMin=0.8) | |
Constructor for tracker track. Use this constructor if you want to use the tracker track to perform the non-interaction check. | |
CaloNotIntCut (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8) | |
Constructor for calorimeter track. Use this constructor if you want to use the calorimeter track to perform the non-interaction check. | |
~CaloNotIntCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The non-interacting track check. | |
Private Attributes | |
TrkTrack * | _trkTrack |
CaloAxis * | _xCaloAxis |
CaloAxis * | _yCaloAxis |
float | _qRatioMin |
CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects).
Definition at line 27 of file CaloNotIntCut.h.
CaloNotIntCut::CaloNotIntCut | ( | const char * | cutName, | |
TrkTrack * | trkTrack, | |||
float | qRatioMin = 0.8 | |||
) | [inline] |
Constructor for tracker track. Use this constructor if you want to use the tracker track to perform the non-interaction check.
NOTE: Check() for this constructor is not implemented yet.
cutName | The name of the cut. | |
trkTrack | Pointer to the tracker track object. * | |
qRatioMin | The minimum threshold for the ratio between track charge and total charge in CALO. |
Definition at line 40 of file CaloNotIntCut.h.
CaloNotIntCut::CaloNotIntCut | ( | const char * | cutName, | |
CaloAxis * | xCaloAxis, | |||
CaloAxis * | yCaloAxis, | |||
float | qRatioMin = 0.8 | |||
) | [inline] |
Constructor for calorimeter track. Use this constructor if you want to use the calorimeter track to perform the non-interaction check.
cutName | The name of the cut. | |
xCaloAxis | The pointer to the CaloAxis object for X axis | |
yCaloAxis | The pointer to the CaloAxis object for Y axis | |
qRatioMin | The minimum threshold for the ratio between track charge and total charge in CALO. |
Definition at line 54 of file CaloNotIntCut.h.
CaloNotIntCut::~CaloNotIntCut | ( | ) | [inline] |
int CaloNotIntCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The non-interacting track check.
event | The event to analyze. |
0 otherwise.
Implements PamCut.
Definition at line 11 of file CaloNotIntCut.cpp.
References _qRatioMin, _trkTrack, _xCaloAxis, _yCaloAxis, CUTOK, and CaloAxis::GetQaxis().
float CaloNotIntCut::_qRatioMin [private] |
TrkTrack* CaloNotIntCut::_trkTrack [private] |
CaloAxis* CaloNotIntCut::_xCaloAxis [private] |
CaloAxis * CaloNotIntCut::_yCaloAxis [private] |