CaloCrossCut Class Reference

The calorimeter last plane cut. More...

#include <CaloCrossCut.h>

Inheritance diagram for CaloCrossCut:

PamCut

List of all members.

Public Member Functions

 CaloCrossCut (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis)
 Constructor.
 ~CaloCrossCut ()
 Destructor.
int Check (PamLevel2 *event)
 The calorimeter last plane check.


Detailed Description

The calorimeter last plane cut.

Checks if the particle has crossed the last calorimeter plane. The current implementation uses the CaloAxis objects; to save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.

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


Constructor & Destructor Documentation

CaloCrossCut::CaloCrossCut ( const char *  cutName,
CaloAxis *  xCaloAxis,
CaloAxis *  yCaloAxis 
) [inline]

Constructor.

The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.

Parameters:
cutName The cut name.
xCaloAxis The pointer to the CaloAxis object for X axis.
yCaloAxis The pointer to the CaloAxis object for Y axis.


Member Function Documentation

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

The calorimeter last plane check.

Parameters:
event The event to analyze.
Returns:
CUTOK if charge released in plane 22 is greater than 0 (from CaloAxis) for both X and Y

0 otherwise

Implements PamCut.


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

Generated on Fri Jun 5 15:08:59 2009 for PamCut by  doxygen 1.5.9