Hall-D Software
alpha
|
#include <DMCThrownMatching_factory.h>
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 |
Definition at line 39 of file DMCThrownMatching_factory.h.
|
private |
Called everytime a new run number is detected.
Definition at line 34 of file DMCThrownMatching_factory.cc.
References dDebugLevel, dMaximumBCALMatchAngleDegrees, dMaximumFCALMatchDistance, dMaximumTOFMatchDistance, dMaxTotalParticleErrorForMatch, dMinTrackMatchHitFraction, dTargetCenter, DApplication::GetDGeometry(), and DGeometry::GetTargetZ().
bool DMCThrownMatching_factory::Calc_InverseMatrix | ( | const TMatrixFSym & | locInputCovarianceMatrix, |
TMatrixDSym & | locInverse3x3Matrix | ||
) | const |
Definition at line 726 of file DMCThrownMatching_factory.cc.
References dMaxTotalParticleErrorForMatch, and sqrt().
Referenced by Find_GenReconMatches_NeutralHypo().
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().
|
private |
Called everytime run number changes, provided brun has been called.
Definition at line 767 of file DMCThrownMatching_factory.cc.
|
private |
Called every event.
Definition at line 53 of file DMCThrownMatching_factory.cc.
References dDebugLevel, Find_GenReconMatches_BCALShowers(), Find_GenReconMatches_BeamPhotons(), Find_GenReconMatches_ChargedHypo(), Find_GenReconMatches_ChargedTrack(), Find_GenReconMatches_FCALShowers(), Find_GenReconMatches_NeutralHypo(), Find_GenReconMatches_NeutralParticle(), Find_GenReconMatches_TOFPoints(), DMCThrownMatching::Get_MatchingChargedTrack(), DMCThrownMatching::Get_MatchingMCThrown(), DKinematicData::momentum(), ParticleCharge(), ParticleType(), and DKinematicData::PID().
|
private |
Definition at line 324 of file DMCThrownMatching_factory.cc.
References dMaximumBCALMatchAngleDegrees, dTargetCenter, DBCALShower::E, DBCALTruthShower::phi, DBCALTruthShower::r, DMCThrownMatching::Set_BCALShowerToTruthMap(), DMCThrownMatching::Set_BCALTruthToShowerMap(), sin(), DBCALShower::x, DBCALShower::y, DBCALTruthShower::z, and DBCALShower::z.
Referenced by evnt().
|
private |
Definition at line 172 of file DMCThrownMatching_factory.cc.
References DTAGMHit::column, DTAGHHit::counter_id, dDebugLevel, DKinematicData::energy(), DTAGMHit::row, DMCThrownMatching::Set_BeamPhotonToTruthMap(), DMCThrownMatching::Set_BeamTruthToPhotonMap(), DMCThrownMatching::Set_MCGENBeamPhoton(), and DMCThrownMatching::Set_TaggedMCGENBeamPhoton().
Referenced by evnt().
|
private |
Definition at line 523 of file DMCThrownMatching_factory.cc.
References DTrackTimeBased::candidateid, dDebugLevel, dMinTrackMatchHitFraction, Get_NumTrackHits(), DChargedTrackHypothesis::Get_TrackTimeBased(), DKinematicData::momentum(), ParticleType(), DKinematicData::PID(), DMCThrownMatching::Set_ChargedHypoToThrownMap(), DMCThrownMatching::Set_ThrownToChargedHypoMap(), and DMCThrown::type.
Referenced by evnt().
|
private |
Definition at line 494 of file DMCThrownMatching_factory.cc.
References DMCThrownMatching::Get_ChargedHypoToThrownMap(), DMCThrownMatching::Get_ThrownToChargedHypoMap(), DMCThrownMatching::Set_ChargedToThrownMap(), and DMCThrownMatching::Set_ThrownToChargedMap().
Referenced by evnt().
|
private |
Definition at line 255 of file DMCThrownMatching_factory.cc.
References dMaximumFCALMatchDistance, DFCALShower::getEnergy(), DFCALShower::getPosition(), DFCALTruthShower::px(), DFCALTruthShower::py(), DFCALTruthShower::pz(), DMCThrownMatching::Set_FCALShowerToTruthMap(), DMCThrownMatching::Set_FCALTruthToShowerMap(), sin(), DFCALTruthShower::x(), DFCALTruthShower::y(), and DFCALTruthShower::z().
Referenced by evnt().
|
private |
Definition at line 641 of file DMCThrownMatching_factory.cc.
References Calc_InverseMatrix(), Calc_MatchFOM(), dDebugLevel, DKinematicData::errorMatrix(), DNeutralParticleHypothesis::Get_NeutralShower(), DKinematicData::momentum(), ParticleType(), DKinematicData::PID(), DMCThrownMatching::Set_NeutralHypoToThrownMap(), DMCThrownMatching::Set_ThrownToNeutralHypoMap(), and DMCThrown::type.
Referenced by evnt().
|
private |
Definition at line 613 of file DMCThrownMatching_factory.cc.
References DMCThrownMatching::Get_NeutralHypoToThrownMap(), DMCThrownMatching::Get_ThrownToNeutralHypoMap(), DMCThrownMatching::Set_NeutralToThrownMap(), and DMCThrownMatching::Set_ThrownToNeutralMap().
Referenced by evnt().
|
private |
Definition at line 426 of file DMCThrownMatching_factory.cc.
References dMaximumTOFMatchDistance, DTOFTruth::E, DTOFPoint::pos, DTOFTruth::px, DTOFTruth::py, DTOFTruth::pz, DMCThrownMatching::Set_TOFPointToTruthMap(), DMCThrownMatching::Set_TOFTruthToPointMap(), sin(), DTOFTruth::x, DTOFTruth::y, and DTOFTruth::z.
Referenced by evnt().
|
private |
Called after last event of last event source has been processed.
Definition at line 775 of file DMCThrownMatching_factory.cc.
|
private |
Called once at program start.
Definition at line 18 of file DMCThrownMatching_factory.cc.
References dDebugLevel, dMaximumBCALMatchAngleDegrees, dMaximumFCALMatchDistance, dMaximumTOFMatchDistance, dMaxTotalParticleErrorForMatch, dMinTrackMatchHitFraction, and dTargetCenter.
|
private |
Definition at line 68 of file DMCThrownMatching_factory.h.
Referenced by brun(), Calc_MatchFOM(), evnt(), Find_GenReconMatches_BeamPhotons(), Find_GenReconMatches_ChargedHypo(), Find_GenReconMatches_NeutralHypo(), and init().
|
private |
Definition at line 67 of file DMCThrownMatching_factory.h.
Referenced by brun(), Find_GenReconMatches_BCALShowers(), and init().
|
private |
Definition at line 66 of file DMCThrownMatching_factory.h.
Referenced by brun(), Find_GenReconMatches_FCALShowers(), and init().
|
private |
Definition at line 65 of file DMCThrownMatching_factory.h.
Referenced by brun(), Find_GenReconMatches_TOFPoints(), and init().
|
private |
Definition at line 70 of file DMCThrownMatching_factory.h.
Referenced by brun(), Calc_InverseMatrix(), and init().
|
private |
Definition at line 64 of file DMCThrownMatching_factory.h.
Referenced by brun(), Find_GenReconMatches_ChargedHypo(), and init().
|
private |
Definition at line 69 of file DMCThrownMatching_factory.h.
Referenced by brun(), Find_GenReconMatches_BCALShowers(), and init().