#include <TofBetaCut.h>
Public Member Functions | |
TofBetaCut (const char *cutName, int *trackTof=NULL, float resMax=10., float qualCut=10., float chi2Cut=20.) | |
Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta and (resMax, qualCut and chi2Cut) for the quality of beta. Various combinations of quality parameters are possible: default low-quality beta (used for beta[12]): 10.,10.,20.; medium-quality beta: 5.,15.,4.; high-quality beta: 3.,20.,3. | |
~TofBetaCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The TofBeta check. | |
Public Attributes | |
float | beta |
The beta value for the last examined event. |
TofBetaCut::TofBetaCut | ( | const char * | cutName, | |
int * | trackTof = NULL , |
|||
float | resMax = 10. , |
|||
float | qualCut = 10. , |
|||
float | chi2Cut = 20. | |||
) | [inline] |
Constructor. The parameters are: the TOF-index for the track which is necessary to input to derive the beta and (resMax, qualCut and chi2Cut) for the quality of beta. Various combinations of quality parameters are possible: default low-quality beta (used for beta[12]): 10.,10.,20.; medium-quality beta: 5.,15.,4.; high-quality beta: 3.,20.,3.
cutName | The cut's name. | |
trackTof | Pointer to the TOF-index indicating the track to be used when evaluating the beta (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. | |
resMax | Default: 10. (equivalent to beta[12]) | |
qualCut | Default: 10. (equivalent to beta[12]) | |
chi2Cut | Default: 20. (equivalent to beta[12]) |
int TofBetaCut::Check | ( | PamLevel2 * | event | ) | [virtual] |