Public Member Functions

ForIA::MinBiasTrackEfficiency Class Reference

#include <MinBiasTrackEfficiency.hh>

List of all members.

Public Member Functions

 MinBiasTrackEfficiency ()
bool setEvent (const Event &evt)
 Set the event from which the tracks and vertices will be taken.
double eventWeight ()
 Return the total event weight (1/efficiency)
double eventEfficiency ()
 Return the total event efficiency.
double vertexEfficiency ()
 Return the vertex reconstruction efficiency.
double triggerEfficiency ()
 Return the trigger efficiency.
double mcZWeight ()
 The weight to use for Monte Carlo, based upon the truth z position of the primary vtx.
bool setUseVtx (bool vtx=true)
bool setUseTrigger (bool trig=true)

Detailed Description

Definition at line 16 of file MinBiasTrackEfficiency.hh.


Constructor & Destructor Documentation

ForIA::MinBiasTrackEfficiency::MinBiasTrackEfficiency (  )

Definition at line 16 of file MinBiasTrackEfficiency.cxx.


Member Function Documentation

double ForIA::MinBiasTrackEfficiency::eventEfficiency (  )

Return the total event efficiency.

Definition at line 129 of file MinBiasTrackEfficiency.cxx.

double ForIA::MinBiasTrackEfficiency::eventWeight (  )

Return the total event weight (1/efficiency)

Definition at line 109 of file MinBiasTrackEfficiency.cxx.

double ForIA::MinBiasTrackEfficiency::mcZWeight (  )

The weight to use for Monte Carlo, based upon the truth z position of the primary vtx.

Definition at line 155 of file MinBiasTrackEfficiency.cxx.

bool ForIA::MinBiasTrackEfficiency::setEvent ( const Event evt )

Set the event from which the tracks and vertices will be taken.

Definition at line 90 of file MinBiasTrackEfficiency.cxx.

bool ForIA::MinBiasTrackEfficiency::setUseTrigger ( bool  trig = true )

Set whether or not to include the trigger efficiency in the event efficiency (default true)

Definition at line 275 of file MinBiasTrackEfficiency.cxx.

bool ForIA::MinBiasTrackEfficiency::setUseVtx ( bool  vtx = true )

Set whether or not to include the vertex efficiency in the event efficiency (default true)

Definition at line 268 of file MinBiasTrackEfficiency.cxx.

double ForIA::MinBiasTrackEfficiency::triggerEfficiency (  )

Return the trigger efficiency.

Definition at line 140 of file MinBiasTrackEfficiency.cxx.

double ForIA::MinBiasTrackEfficiency::vertexEfficiency (  )

Return the vertex reconstruction efficiency.

Definition at line 164 of file MinBiasTrackEfficiency.cxx.


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