#include <TofDedxS1Cut.h>
Public Member Functions | |
TofDedxS1Cut (const char *cutName, float maxDedxS1, int *trackTof=NULL) | |
Constructor. | |
~TofDedxS1Cut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The TofDedxS1 check. | |
Private Attributes | |
float | _maxDedxS1 |
int * | _trackTof |
int | _nHitPadPair [3] |
Definition at line 21 of file TofDedxS1Cut.h.
TofDedxS1Cut::TofDedxS1Cut | ( | const char * | cutName, | |
float | maxDedxS1, | |||
int * | trackTof = NULL | |||
) | [inline] |
Constructor.
The parameters are: maximum dE/dX for S1 layers and the TOF-index for the track which is necessary to input to derive the dE/dX for S1 layers.
cutName | The cut's name. | |
maxDedxS1 | The maximum dE/dX for each S1 layer, for which the event is accepted | |
trackTof | Pointer to the TOF-index indicating the track to be used when evaluating the dE/dX for S1 layers (default value for TOF_index is 0, corresponding to the TOF stand-alone track [no TRK information to build the TOF stand-alone track]). The pointer to the TOF_index for TRK-track as given by TrkPhSinCut can be used. |
Definition at line 33 of file TofDedxS1Cut.h.
TofDedxS1Cut::~TofDedxS1Cut | ( | ) | [inline] |
int TofDedxS1Cut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The TofDedxS1 check.
event | The event to analyze. |
0 otherwise
Implements PamCut.
Definition at line 12 of file TofDedxS1Cut.cpp.
References _maxDedxS1, _trackTof, CUTOK, and TOFNPADLAYER.
float TofDedxS1Cut::_maxDedxS1 [private] |
int TofDedxS1Cut::_nHitPadPair[3] [private] |
Definition at line 52 of file TofDedxS1Cut.h.
int* TofDedxS1Cut::_trackTof [private] |