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

#include <DMCThrownMatching_factory.h>

+ Inheritance diagram for DMCThrownMatching_factory:

Public Member Functions

bool Calc_InverseMatrix (const TMatrixFSym &locInputCovarianceMatrix, TMatrixDSym &locInverse3x3Matrix) const
 
double Calc_MatchFOM (const DVector3 &locMomentum_Thrown, const DVector3 &locMomentum_Detected, TMatrixDSym locInverse3x3Matrix) const
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *locEventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *locEventLoop, uint64_t eventnumber)
 Called every event. More...
 
jerror_t erun (void)
 Called everytime 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...
 
void Find_GenReconMatches_BeamPhotons (JEventLoop *locEventLoop, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_ChargedTrack (const vector< const DChargedTrack * > &locChargedTracks, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_ChargedHypo (const vector< const DMCThrown * > &locInputMCThrownVector, const vector< const DChargedTrackHypothesis * > &locInputChargedTrackHypothesisVector, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_NeutralParticle (const vector< const DNeutralParticle * > &locNeutralParticles, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_NeutralHypo (const vector< const DMCThrown * > &locInputMCThrownVector, const vector< const DNeutralParticleHypothesis * > &locInputNeutralParticleHypothesisVector, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_TOFPoints (JEventLoop *locEventLoop, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_BCALShowers (JEventLoop *locEventLoop, DMCThrownMatching *locMCThrownMatching) const
 
void Find_GenReconMatches_FCALShowers (JEventLoop *locEventLoop, DMCThrownMatching *locMCThrownMatching) const
 

Private Attributes

double dMinTrackMatchHitFraction
 
double dMaximumTOFMatchDistance
 
double dMaximumFCALMatchDistance
 
double dMaximumBCALMatchAngleDegrees
 
unsigned int dDebugLevel
 
double dTargetCenter
 
double dMaxTotalParticleErrorForMatch
 

Detailed Description

Definition at line 39 of file DMCThrownMatching_factory.h.

Member Function Documentation

jerror_t DMCThrownMatching_factory::brun ( jana::JEventLoop *  locEventLoop,
int32_t  runnumber 
)
private
bool DMCThrownMatching_factory::Calc_InverseMatrix ( const TMatrixFSym &  locInputCovarianceMatrix,
TMatrixDSym &  locInverse3x3Matrix 
) const
double DMCThrownMatching_factory::Calc_MatchFOM ( const DVector3 locMomentum_Thrown,
const DVector3 locMomentum_Detected,
TMatrixDSym  locInverse3x3Matrix 
) const

Definition at line 748 of file DMCThrownMatching_factory.cc.

References dDebugLevel.

Referenced by Find_GenReconMatches_NeutralHypo().

jerror_t DMCThrownMatching_factory::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 767 of file DMCThrownMatching_factory.cc.

void DMCThrownMatching_factory::Find_GenReconMatches_BCALShowers ( JEventLoop *  locEventLoop,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_BeamPhotons ( JEventLoop *  locEventLoop,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_ChargedHypo ( const vector< const DMCThrown * > &  locInputMCThrownVector,
const vector< const DChargedTrackHypothesis * > &  locInputChargedTrackHypothesisVector,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_ChargedTrack ( const vector< const DChargedTrack * > &  locChargedTracks,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_NeutralHypo ( const vector< const DMCThrown * > &  locInputMCThrownVector,
const vector< const DNeutralParticleHypothesis * > &  locInputNeutralParticleHypothesisVector,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_NeutralParticle ( const vector< const DNeutralParticle * > &  locNeutralParticles,
DMCThrownMatching locMCThrownMatching 
) const
private
void DMCThrownMatching_factory::Find_GenReconMatches_TOFPoints ( JEventLoop *  locEventLoop,
DMCThrownMatching locMCThrownMatching 
) const
private
jerror_t DMCThrownMatching_factory::fini ( void  )
private

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

Definition at line 775 of file DMCThrownMatching_factory.cc.

jerror_t DMCThrownMatching_factory::init ( void  )
private

Member Data Documentation

unsigned int DMCThrownMatching_factory::dDebugLevel
private
double DMCThrownMatching_factory::dMaximumBCALMatchAngleDegrees
private

Definition at line 67 of file DMCThrownMatching_factory.h.

Referenced by brun(), Find_GenReconMatches_BCALShowers(), and init().

double DMCThrownMatching_factory::dMaximumFCALMatchDistance
private

Definition at line 66 of file DMCThrownMatching_factory.h.

Referenced by brun(), Find_GenReconMatches_FCALShowers(), and init().

double DMCThrownMatching_factory::dMaximumTOFMatchDistance
private

Definition at line 65 of file DMCThrownMatching_factory.h.

Referenced by brun(), Find_GenReconMatches_TOFPoints(), and init().

double DMCThrownMatching_factory::dMaxTotalParticleErrorForMatch
private

Definition at line 70 of file DMCThrownMatching_factory.h.

Referenced by brun(), Calc_InverseMatrix(), and init().

double DMCThrownMatching_factory::dMinTrackMatchHitFraction
private

Definition at line 64 of file DMCThrownMatching_factory.h.

Referenced by brun(), Find_GenReconMatches_ChargedHypo(), and init().

double DMCThrownMatching_factory::dTargetCenter
private

Definition at line 69 of file DMCThrownMatching_factory.h.

Referenced by brun(), Find_GenReconMatches_BCALShowers(), and init().


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