TrkSigmaDeflCut Class Reference

The cut on TRK sigma_deflection. More...

#include <TrkSigmaDeflCut.h>

Inheritance diagram for TrkSigmaDeflCut:

PamCut

List of all members.

Public Member Functions

 TrkSigmaDeflCut (const char *cutName, std::vector< float > binning)
 Constructor.
 TrkSigmaDeflCut (const char *cutName, const char *rigBinListFileName)
 Constructor.
 ~TrkSigmaDeflCut ()
 Destructor.
int Check (PamLevel2 *event)
 The sigma_deflection check.


Detailed Description

The cut on TRK sigma_deflection.

This cut discards an event if its sigma_deflection (defined as sqrt(coval[4][4]), in GV^-1) is not less than the minimum deflection for the bin which contains the event deflection modulus (deflection of the first TRK track).


Constructor & Destructor Documentation

TrkSigmaDeflCut::TrkSigmaDeflCut ( const char *  cutName,
std::vector< float >  binning 
) [inline]

Constructor.

Parameters:
cutName The cut's name.
binning A vector containing the histogram binning in rigidity. Note that it must contain both the upper and lower limits, and that the elements must be ordered (ie., lowest rigidity value in the first element and so on).

TrkSigmaDeflCut::TrkSigmaDeflCut ( const char *  cutName,
const char *  rigBinListFileName 
)

Constructor.

Parameters:
cutName The cut's name.
rigBinListFileName A text file containing the histogram binning. Note that it must contain both the upper and lower limits, and that the elements must be ordered (ie., lowest rigidity value in the first element and so on).


Member Function Documentation

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

The sigma_deflection check.

The event is discarded if its deflection is less than the lower histogram limit or higher than the upper limit. The event is also discarded if its sigma_deflection is not less than the minimum deflection for the bin which contains the event deflection modulus.

Parameters:
event The event to analyze.
Returns:
CUTOK if the sigma_deflection condition is satisfied.

0 otherwise.

Implements PamCut.


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

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