Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_TOF_Eff Class Reference

#include <JEventProcessor_TOF_Eff.h>

+ Inheritance diagram for JEventProcessor_TOF_Eff:

Public Member Functions

 JEventProcessor_TOF_Eff ()
 
 ~JEventProcessor_TOF_Eff ()
 
const char * className (void)
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *locEventLoop, int locRunNumber)
 Called every time a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *locEventLoop, uint64_t locEventNumber)
 Called every event. More...
 
jerror_t erun (void)
 Called every time run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 
int Calc_NearestHit (const DTOFPaddleHit *locPaddleHit) const
 
bool Cut_FCALTiming (const DChargedTrackHypothesis *locChargedTrackHypothesis, const DParticleID *locParticleID, const DEventRFBunch *locEventRFBunch)
 
double Calc_TOFTiming (const DChargedTrackHypothesis *locChargedTrackHypothesis, const DParticleID *locParticleID, const DEventRFBunch *locEventRFBunch, double &locDeltaT)
 

Private Attributes

double dMaxFCALDeltaT
 
double dMinTrackingFOM
 
unsigned int dMinNumTrackHits
 
double dMaxTOFThetaCut
 
double dMaxVertexR
 
int dMinHitRingsPerCDCSuperlayer
 
int dMinHitPlanesPerFDCPackage
 
DCutAction_TrackHitPatterndCutAction_TrackHitPattern
 
double dMinTOFPaddleMatchDistance
 
TH2I * dHist_TOFPaddleTrackYVsVerticalPaddle_HasHit_Top
 
TH2I * dHist_TOFPaddleTrackYVsVerticalPaddle_TotalHit_Top
 
TH2I * dHist_TOFPaddleHorizontalPaddleVsTrackX_HasHit_North
 
TH2I * dHist_TOFPaddleHorizontalPaddleVsTrackX_TotalHit_North
 
TH2I * dHist_TOFPaddleTrackYVsVerticalPaddle_HasHit_Bottom
 
TH2I * dHist_TOFPaddleTrackYVsVerticalPaddle_TotalHit_Bottom
 
TH2I * dHist_TOFPaddleHorizontalPaddleVsTrackX_HasHit_South
 
TH2I * dHist_TOFPaddleHorizontalPaddleVsTrackX_TotalHit_South
 
TH2I * dHist_TrackTOFYVsX_HasHit
 
TH2I * dHist_TrackTOFYVsX_TotalHit
 
TH2I * dHist_TrackTOF2DPaddles_HasHit
 
TH2I * dHist_TrackTOF2DPaddles_TotalHit
 
DTreeInterfacedTreeInterface
 

Static Private Attributes

static thread_local DTreeFillData dTreeFillData
 

Detailed Description

Definition at line 35 of file JEventProcessor_TOF_Eff.h.

Constructor & Destructor Documentation

JEventProcessor_TOF_Eff::JEventProcessor_TOF_Eff ( )
inline

Definition at line 38 of file JEventProcessor_TOF_Eff.h.

JEventProcessor_TOF_Eff::~JEventProcessor_TOF_Eff ( )
inline

Definition at line 39 of file JEventProcessor_TOF_Eff.h.

Member Function Documentation

jerror_t JEventProcessor_TOF_Eff::brun ( jana::JEventLoop *  locEventLoop,
int  locRunNumber 
)
private

Called every time a new run number is detected.

Definition at line 157 of file JEventProcessor_TOF_Eff.cc.

int JEventProcessor_TOF_Eff::Calc_NearestHit ( const DTOFPaddleHit locPaddleHit) const
private

Definition at line 380 of file JEventProcessor_TOF_Eff.cc.

References DTOFPaddleHit::bar, DTOFPaddleHit::E_north, and DTOFPaddleHit::E_south.

Referenced by evnt().

double JEventProcessor_TOF_Eff::Calc_TOFTiming ( const DChargedTrackHypothesis locChargedTrackHypothesis,
const DParticleID locParticleID,
const DEventRFBunch locEventRFBunch,
double &  locDeltaT 
)
private
const char* JEventProcessor_TOF_Eff::className ( void  )
inline

Definition at line 40 of file JEventProcessor_TOF_Eff.h.

bool JEventProcessor_TOF_Eff::Cut_FCALTiming ( const DChargedTrackHypothesis locChargedTrackHypothesis,
const DParticleID locParticleID,
const DEventRFBunch locEventRFBunch 
)
private
jerror_t JEventProcessor_TOF_Eff::erun ( void  )
private

Called every time run number changes, provided brun has been called.

Definition at line 424 of file JEventProcessor_TOF_Eff.cc.

jerror_t JEventProcessor_TOF_Eff::evnt ( jana::JEventLoop *  locEventLoop,
uint64_t  locEventNumber 
)
private
jerror_t JEventProcessor_TOF_Eff::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 436 of file JEventProcessor_TOF_Eff.cc.

References dCutAction_TrackHitPattern, and dTreeInterface.

Member Data Documentation

DCutAction_TrackHitPattern* JEventProcessor_TOF_Eff::dCutAction_TrackHitPattern
private

Definition at line 60 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), fini(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleHorizontalPaddleVsTrackX_HasHit_North
private

Definition at line 67 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleHorizontalPaddleVsTrackX_HasHit_South
private

Definition at line 72 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleHorizontalPaddleVsTrackX_TotalHit_North
private

Definition at line 68 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleHorizontalPaddleVsTrackX_TotalHit_South
private

Definition at line 73 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleTrackYVsVerticalPaddle_HasHit_Bottom
private

Definition at line 70 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleTrackYVsVerticalPaddle_HasHit_Top
private

Definition at line 65 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleTrackYVsVerticalPaddle_TotalHit_Bottom
private

Definition at line 71 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TOFPaddleTrackYVsVerticalPaddle_TotalHit_Top
private

Definition at line 66 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TrackTOF2DPaddles_HasHit
private

Definition at line 78 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TrackTOF2DPaddles_TotalHit
private

Definition at line 79 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TrackTOFYVsX_HasHit
private

Definition at line 76 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

TH2I* JEventProcessor_TOF_Eff::dHist_TrackTOFYVsX_TotalHit
private

Definition at line 77 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

double JEventProcessor_TOF_Eff::dMaxFCALDeltaT
private

Definition at line 54 of file JEventProcessor_TOF_Eff.h.

Referenced by Cut_FCALTiming(), and init().

double JEventProcessor_TOF_Eff::dMaxTOFThetaCut
private

Definition at line 57 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

double JEventProcessor_TOF_Eff::dMaxVertexR
private

Definition at line 58 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

int JEventProcessor_TOF_Eff::dMinHitPlanesPerFDCPackage
private

Definition at line 59 of file JEventProcessor_TOF_Eff.h.

Referenced by init().

int JEventProcessor_TOF_Eff::dMinHitRingsPerCDCSuperlayer
private

Definition at line 59 of file JEventProcessor_TOF_Eff.h.

Referenced by init().

unsigned int JEventProcessor_TOF_Eff::dMinNumTrackHits
private

Definition at line 56 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

double JEventProcessor_TOF_Eff::dMinTOFPaddleMatchDistance
private

Definition at line 64 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

double JEventProcessor_TOF_Eff::dMinTrackingFOM
private

Definition at line 55 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), and init().

thread_local DTreeFillData JEventProcessor_TOF_Eff::dTreeFillData
staticprivate

Definition at line 87 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt().

DTreeInterface* JEventProcessor_TOF_Eff::dTreeInterface
private

Definition at line 84 of file JEventProcessor_TOF_Eff.h.

Referenced by evnt(), fini(), and init().


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