TrkRigCut Class Reference

The rigidity cut. This cut discards all the events whose rigidity is less than the threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative. More...

#include <TrkRigCut.h>

Inheritance diagram for TrkRigCut:

PamCut

List of all members.

Public Member Functions

 TrkRigCut (const char *cutName, float minRigidity)
 Constructor.
 ~TrkRigCut ()
 Destructor.
int Check (PamLevel2 *event)
 The rigidity check.


Detailed Description

The rigidity cut. This cut discards all the events whose rigidity is less than the threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative.

Constructor & Destructor Documentation

TrkRigCut::TrkRigCut ( const char *  cutName,
float  minRigidity 
) [inline]

Constructor.

Parameters:
cutName The cut's name.
minRigidity The minimum rigidity p/Z (in GV) below which an event will be discarded. Can be positive or negative.


Member Function Documentation

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

The rigidity check.

Parameters:
event The event to analyze.
Returns:
CUTOK if the rigidity is greater than the threshold

0 otherwise.

Implements PamCut.


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

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