Hall-D Software
alpha
|
#include <DDetectorMatches_factory_WireBased.h>
Public Member Functions | |
DDetectorMatches_factory_WireBased () | |
virtual | ~DDetectorMatches_factory_WireBased () |
const char * | Tag (void) |
DDetectorMatches * | Create_DDetectorMatches (jana::JEventLoop *locEventLoop, vector< const DTrackWireBased * > &locTrackWireBasedVector) |
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 DTrackWireBased *locTrackWireBased, const vector< const DTOFPoint * > &locTOFPoints, DDetectorMatches *locDetectorMatches) const |
void | MatchToBCAL (const DParticleID *locParticleID, const DTrackWireBased *locTrackWireBased, const vector< const DBCALShower * > &locBCALShowers, DDetectorMatches *locDetectorMatches) const |
void | MatchToFCAL (const DParticleID *locParticleID, const DTrackWireBased *locTrackWireBased, const vector< const DFCALShower * > &locFCALShowers, DDetectorMatches *locDetectorMatches) const |
void | MatchToSC (const DParticleID *locParticleID, const DTrackWireBased *locTrackWireBased, const vector< const DSCHit * > &locSCHits, DDetectorMatches *locDetectorMatches) const |
void | MatchToTrack (const DParticleID *locParticleID, const DBCALShower *locBCALShower, const vector< const DTrackWireBased * > &locTrackWireBasedVector, DDetectorMatches *locDetectorMatches) const |
void | MatchToTrack (const DParticleID *locParticleID, const DFCALShower *locFCALShower, const vector< const DTrackWireBased * > &locTrackWireBasedVector, DDetectorMatches *locDetectorMatches) const |
Definition at line 27 of file DDetectorMatches_factory_WireBased.h.
|
inline |
Definition at line 30 of file DDetectorMatches_factory_WireBased.h.
|
inlinevirtual |
Definition at line 31 of file DDetectorMatches_factory_WireBased.h.
|
private |
Called everytime a new run number is detected.
Definition at line 21 of file DDetectorMatches_factory_WireBased.cc.
DDetectorMatches * DDetectorMatches_factory_WireBased::Create_DDetectorMatches | ( | jana::JEventLoop * | locEventLoop, |
vector< const DTrackWireBased * > & | locTrackWireBasedVector | ||
) |
Definition at line 41 of file DDetectorMatches_factory_WireBased.cc.
References DParticleID::Calc_BCALFlightTimePCorrelation(), DParticleID::Calc_FCALFlightTimePCorrelation(), DParticleID::Calc_SCFlightTimePCorrelation(), DParticleID::Calc_TOFFlightTimePCorrelation(), MatchToBCAL(), 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_WireBased.cc.
References Create_DDetectorMatches().
|
private |
Called once at program start.
Definition at line 13 of file DDetectorMatches_factory_WireBased.cc.
|
private |
Definition at line 98 of file DDetectorMatches_factory_WireBased.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackWireBased::extrapolations, SYS_BCAL, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 123 of file DDetectorMatches_factory_WireBased.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackWireBased::extrapolations, SYS_FCAL, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 135 of file DDetectorMatches_factory_WireBased.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackWireBased::extrapolations, SYS_START, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 111 of file DDetectorMatches_factory_WireBased.cc.
References DDetectorMatches::Add_Match(), DParticleID::Cut_MatchDistance(), DTrackWireBased::extrapolations, SYS_TOF, and DTrackingData::t0().
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 147 of file DDetectorMatches_factory_WireBased.cc.
References DParticleID::Distance_ToTrack(), DDetectorMatches::Set_DistanceToNearestTrack(), sqrt(), SYS_BCAL, DBCALShower::x, and DBCALShower::y.
Referenced by Create_DDetectorMatches().
|
private |
Definition at line 173 of file DDetectorMatches_factory_WireBased.cc.
References DParticleID::Distance_ToTrack(), DDetectorMatches::Set_DistanceToNearestTrack(), and SYS_FCAL.
|
inline |
Definition at line 32 of file DDetectorMatches_factory_WireBased.h.