CaloNotIntCut Class Reference

The non-interacting track cut. This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for the check. To improve computation speed, Check does NOT computes the track for the event; the track information is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then demanded to fill this external object with the proper track information for the current event before calling Check or ApplyCut. Currently, only the check with the calorimeter track is implemented. More...

#include <CaloNotIntCut.h>

Inheritance diagram for CaloNotIntCut:

PamCut

List of all members.

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.


Detailed Description

The non-interacting track cut. This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for the check. To improve computation speed, Check does NOT computes the track for the event; the track information is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then demanded to fill this external object with the proper track information for the current event before calling Check or ApplyCut. Currently, only the check with the calorimeter track is implemented.

CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects).


Constructor & Destructor Documentation

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.

Parameters:
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.

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.

Parameters:
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.
Returns:


Member Function Documentation

int CaloNotIntCut::Check ( PamLevel2 *  event  )  [virtual]

The non-interacting track check.

Parameters:
event The event to analyze.
Returns:
CUTOK if the ratio between the charge released along the Calo track and the total released charge is greater than qRatioMin.

0 otherwise.

Implements PamCut.


The documentation for this class was generated from the following files:

Generated on Fri Jun 5 15:09:00 2009 for PamCut by  doxygen 1.5.9