Hall-D Software
alpha
|
#include <DEventRFBunch_factory.h>
Public Member Functions | |
DEventRFBunch_factory () | |
~DEventRFBunch_factory () | |
bool | Get_RFTimeGuess (JEventLoop *locEventLoop, double &locRFTimeGuess, double &locRFVariance, DetectorSystem_t &locTimeSource) const |
Private Member Functions | |
void | Select_GoodTracks (JEventLoop *locEventLoop, vector< const DTrackTimeBased * > &locSelectedTimeBasedTracks) const |
jerror_t | Select_RFBunch (JEventLoop *locEventLoop, vector< const DTrackTimeBased * > &locTrackTimeBasedVector, const DRFTime *locRFTime) |
int | Conduct_Vote (JEventLoop *locEventLoop, double locRFTime, vector< pair< double, const JObject * > > &locTimes, bool locUsedTracksFlag, int &locHighestNumVotes) |
bool | Find_TrackTimes_SCTOF (const DDetectorMatches *locDetectorMatches, const vector< const DTrackTimeBased * > &locTrackTimeBasedVector, vector< pair< double, const JObject * > > &locTimes) const |
bool | Find_TrackTimes_All (const DDetectorMatches *locDetectorMatches, const vector< const DTrackTimeBased * > &locTrackTimeBasedVector, vector< pair< double, const JObject * > > &locTimes) |
bool | Find_NeutralTimes (JEventLoop *locEventLoop, vector< pair< double, const JObject * > > &locTimes) |
int | Find_BestRFBunchShifts (double locRFHitTime, const vector< pair< double, const JObject * > > &locTimes, map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts) |
bool | Break_TieVote_BeamPhotons (vector< const DBeamPhoton * > &locBeamPhotons, double locRFTime, map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts, int locHighestNumVotes) |
int | Break_TieVote_Tracks (map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts) |
int | Break_TieVote_Neutrals (map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts) |
jerror_t | Select_RFBunch_NoRFTime (JEventLoop *locEventLoop, vector< const DTrackTimeBased * > &locTrackTimeBasedVector) |
void | Get_RFTimeGuess (vector< pair< double, const JObject * > > &locTimes, double &locRFTimeGuess, double &locRFVariance) const |
jerror_t | Create_NaNRFBunch (void) |
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... | |
Private Attributes | |
const DParticleID * | dParticleID |
double | dBeamBunchPeriod |
DVector3 | dTargetCenter |
double | dMinTrackingFOM |
string | OVERRIDE_TAG |
Definition at line 41 of file DEventRFBunch_factory.h.
|
inline |
Definition at line 44 of file DEventRFBunch_factory.h.
|
inline |
Definition at line 45 of file DEventRFBunch_factory.h.
|
private |
Definition at line 348 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 418 of file DEventRFBunch_factory.cc.
References DBCALShower::E, and DFCALShower::getEnergy().
|
private |
Definition at line 377 of file DEventRFBunch_factory.cc.
References DTrackTimeBased::chisq, and DTrackTimeBased::Ndof.
|
private |
Called everytime a new run number is detected.
Definition at line 29 of file DEventRFBunch_factory.cc.
References DApplication::GetDGeometry(), and DGeometry::GetTargetZ().
|
private |
Definition at line 156 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 538 of file DEventRFBunch_factory.cc.
References DEventRFBunch::dNumParticleVotes, DEventRFBunch::dTime, DEventRFBunch::dTimeSource, DEventRFBunch::dTimeVariance, and SYS_NULL.
|
private |
Called everytime run number changes, provided brun has been called.
Definition at line 553 of file DEventRFBunch_factory.cc.
|
private |
Called every event.
Definition at line 50 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 321 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 282 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 216 of file DEventRFBunch_factory.cc.
References DFCALShower::getTime(), DKinematicData::momentum(), DBCALShower::t, and DKinematicData::z().
|
private |
Definition at line 184 of file DEventRFBunch_factory.cc.
References DKinematicData::momentum(), and DKinematicData::z().
|
private |
Called after last event of last event source has been processed.
Definition at line 561 of file DEventRFBunch_factory.cc.
bool DEventRFBunch_factory::Get_RFTimeGuess | ( | JEventLoop * | locEventLoop, |
double & | locRFTimeGuess, | ||
double & | locRFVariance, | ||
DetectorSystem_t & | locTimeSource | ||
) | const |
Definition at line 496 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 520 of file DEventRFBunch_factory.cc.
|
private |
Called once at program start.
Definition at line 17 of file DEventRFBunch_factory.cc.
|
private |
Definition at line 83 of file DEventRFBunch_factory.cc.
References DTrackTimeBased::FOM.
|
private |
Definition at line 115 of file DEventRFBunch_factory.cc.
References DEventRFBunch::dNumParticleVotes, DRFTime::dTime, DEventRFBunch::dTime, DEventRFBunch::dTimeSource, DRFTime::dTimeVariance, DEventRFBunch::dTimeVariance, and SYS_RF.
|
private |
Definition at line 462 of file DEventRFBunch_factory.cc.
References DEventRFBunch::dNumParticleVotes, DEventRFBunch::dTime, DEventRFBunch::dTimeSource, DEventRFBunch::dTimeVariance, and SYS_START.
|
private |
Definition at line 73 of file DEventRFBunch_factory.h.
|
private |
Definition at line 76 of file DEventRFBunch_factory.h.
|
private |
Definition at line 71 of file DEventRFBunch_factory.h.
|
private |
Definition at line 74 of file DEventRFBunch_factory.h.
|
private |
Definition at line 78 of file DEventRFBunch_factory.h.