6 #ifndef _DEventRFBunch_factory_CalorimeterOnly_
7 #define _DEventRFBunch_factory_CalorimeterOnly_
18 #include <JANA/JFactory.h>
44 const char*
Tag(
void){
return "CalorimeterOnly";}
48 jerror_t Select_RFBunch(JEventLoop* locEventLoop,
const DRFTime* locRFTime);
49 int Conduct_Vote(JEventLoop* locEventLoop,
double locRFTime, vector<pair<double, const JObject*> >& locTimes,
bool locUsedTracksFlag,
int& locHighestNumVotes);
51 bool Find_NeutralTimes(JEventLoop* locEventLoop, vector<pair<double, const JObject*> >& locTimes);
53 int Find_BestRFBunchShifts(
double locRFHitTime,
const vector<pair<double, const JObject*> >& locTimes, map<
int, vector<const JObject*> >& locNumBeamBucketsShiftedMap, set<int>& locBestRFBunchShifts);
55 bool Break_TieVote_BeamPhotons(vector<const DBeamPhoton*>& locBeamPhotons,
double locRFTime, map<
int, vector<const JObject*> >& locNumBeamBucketsShiftedMap, set<int>& locBestRFBunchShifts,
int locHighestNumVotes);
57 int Break_TieVote_Neutrals(map<
int, vector<const JObject*> >& locNumBeamBucketsShiftedMap, set<int>& locBestRFBunchShifts);
63 jerror_t Create_NaNRFBunch(
void);
77 jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber);
78 jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber);
83 #endif // _DEventRFBunch_factory_
const DParticleID * dParticleID
~DEventRFBunch_factory_CalorimeterOnly()
DEventRFBunch_factory_CalorimeterOnly()