Public Types | Public Member Functions

ForIA::TrackDicer Class Reference

Probabilistically rejects four vectors based on the tracking efficiency. More...

#include <TrackDicer.hh>

List of all members.

Public Types

enum  Efficiency { NOMINAL, SYST_UP, SYST_DOWN }

Public Member Functions

 TrackDicer ()
 Constructor.
void initialise (Efficiency effType=NOMINAL)
 Initialise the efficiency data and random number generator.
double trackEfficiency (IFourMomentumConstPtr track) const
 Returns the track efficiency for a single track.
template<typename T >
remove (const T &tracks) const

Detailed Description

Probabilistically rejects four vectors based on the tracking efficiency.

Definition at line 14 of file TrackDicer.hh.


Member Enumeration Documentation

Enumerator:
NOMINAL 
SYST_UP 
SYST_DOWN 

Definition at line 18 of file TrackDicer.hh.


Constructor & Destructor Documentation

ForIA::TrackDicer::TrackDicer (  )

Constructor.

Definition at line 9 of file TrackDicer.cxx.


Member Function Documentation

void ForIA::TrackDicer::initialise ( Efficiency  effType = NOMINAL )

Initialise the efficiency data and random number generator.

Definition at line 13 of file TrackDicer.cxx.

template<typename T >
T ForIA::TrackDicer::remove ( const T &  tracks ) const [inline]

Probabilistically rejects tracks from a MomentumVector. Should work on anything that inherits from IFourMomentum

Parameters:
tracksthe tracks to reject from
Returns:
a list of equal or smaller size than the input

Definition at line 37 of file TrackDicer.hh.

double ForIA::TrackDicer::trackEfficiency ( IFourMomentumConstPtr  track ) const

Returns the track efficiency for a single track.

Definition at line 48 of file TrackDicer.cxx.


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