Hall-D Software
alpha
|
#include <DDetectorMatches_factory.h>
Public Member Functions | |
DDetectorMatches_factory () | |
~DDetectorMatches_factory () | |
DDetectorMatches * | Create_DDetectorMatches (jana::JEventLoop *locEventLoop, vector< const DTrackTimeBased * > &locTrackTimeBasedVector) |
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... | |
void | MatchToTOF (const DParticleID *locParticleID, const DTrackTimeBased *locTrackTimeBased, const vector< const DTOFPoint * > &locTOFPoints, DDetectorMatches *locDetectorMatches) const |
void | MatchToBCAL (const DParticleID *locParticleID, const DTrackTimeBased *locTrackTimeBased, const vector< const DBCALShower * > &locBCALShowers, DDetectorMatches *locDetectorMatches) const |
void | MatchToFCAL (const DParticleID *locParticleID, const DTrackTimeBased *locTrackTimeBased, const vector< const DFCALShower * > &locFCALShowers, DDetectorMatches *locDetectorMatches) const |
void | MatchToSC (const DParticleID *locParticleID, const DTrackTimeBased *locTrackTimeBased, const vector< const DSCHit * > &locSCHits, DDetectorMatches *locDetectorMatches) const |
void | MatchToDIRC (const DParticleID *locParticleID, const DTrackTimeBased *locTrackTimeBased, const vector< const DDIRCPmtHit * > &locDIRCHits, DDetectorMatches *locDetectorMatches, const vector< const DDIRCTruthBarHit * > &locDIRCBarHits) const |
void | MatchToTrack (const DParticleID *locParticleID, const DBCALShower *locBCALShower, const vector< const DTrackTimeBased * > &locTrackTimeBasedVector, DDetectorMatches *locDetectorMatches) const |
void | MatchToTrack (const DParticleID *locParticleID, const DFCALShower *locFCALShower, const vector< const DTrackTimeBased * > &locTrackTimeBasedVector, DDetectorMatches *locDetectorMatches) const |
Definition at line 29 of file DDetectorMatches_factory.h.
|
inline |
Definition at line 32 of file DDetectorMatches_factory.h.
|
inline |
Definition at line 33 of file DDetectorMatches_factory.h.
|
private |
Called everytime a new run number is detected.
Definition at line 21 of file DDetectorMatches_factory.cc.
DDetectorMatches * DDetectorMatches_factory::Create_DDetectorMatches | ( | jana::JEventLoop * | locEventLoop, |
vector< const DTrackTimeBased * > & | locTrackTimeBasedVector | ||
) |
Definition at line 41 of file DDetectorMatches_factory.cc.
References DParticleID::Calc_BCALFlightTimePCorrelation(), DParticleID::Calc_FCALFlightTimePCorrelation(), DParticleID::Calc_SCFlightTimePCorrelation(), DParticleID::Calc_TOFFlightTimePCorrelation(), MatchToBCAL(), MatchToDIRC(), MatchToFCAL(), MatchToSC(), MatchToTOF(), MatchToTrack(), DDetectorMatches::Set_FlightTimePCorrelation(), SYS_BCAL, SYS_FCAL, SYS_START, and SYS_TOF.
Referenced by evnt().
|
private |
Called every event.
Definition at line 30 of file DDetectorMatches_factory.cc.
References Create_DDetectorMatches().
|
private |
Called once at program start.
Definition at line 13 of file DDetectorMatches_factory.cc.
|
private |
Definition at line 106 of file DDetectorMatches_factory.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackTimeBased::extrapolations, SYS_BCAL, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 162 of file DDetectorMatches_factory.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDIRC(), DTrackTimeBased::extrapolations, DDetectorMatches::Get_DIRCTrackMatchParamsMap(), DKinematicData::PID(), SYS_DIRC, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 134 of file DDetectorMatches_factory.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackTimeBased::extrapolations, SYS_FCAL, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 148 of file DDetectorMatches_factory.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackTimeBased::extrapolations, SYS_START, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 120 of file DDetectorMatches_factory.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackTimeBased::extrapolations, SYS_TOF, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 179 of file DDetectorMatches_factory.cc.
References DParticleID::Distance_ToTrack(), DDetectorMatches::Set_DistanceToNearestTrack(), sqrt(), SYS_BCAL, DBCALShower::x, and DBCALShower::y.
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 208 of file DDetectorMatches_factory.cc.
References DParticleID::Distance_ToTrack(), DDetectorMatches::Set_DistanceToNearestTrack(), and SYS_FCAL.