8 #ifndef _DEventRFBunch_
9 #define _DEventRFBunch_
16 #include "JANA/JObject.h"
25 void Set_Content(
DetectorSystem_t locTimeSource,
double locTime,
double locTimeVariance,
unsigned int locNumParticleVotes = 0);
34 void toStrings(vector<pair<string,string> > &items)
const
36 AddString(items,
"Source System",
"%s",
SystemName(dTimeSource));
37 AddString(items,
"t",
"%3.5f", dTime);
38 AddString(items,
"var_t",
"%3.2f", dTimeVariance);
39 AddString(items,
"#tracks",
"%i", dNumParticleVotes);
48 dNumParticleVotes = 0;
53 dTimeSource = locTimeSource;
55 dTimeVariance = locTimeVariance;
56 dNumParticleVotes = locNumParticleVotes;
59 #endif // _DEventRFBunch_
void Set_Content(DetectorSystem_t locTimeSource, double locTime, double locTimeVariance, unsigned int locNumParticleVotes=0)
const char * SystemName(DetectorSystem_t sys)
void toStrings(vector< pair< string, string > > &items) const
unsigned int dNumParticleVotes