3 #ifndef _DBCALUnifiedHit_
4 #define _DBCALUnifiedHit_
8 #include <JANA/JObject.h>
9 #include <JANA/JFactory.h>
38 void toStrings(vector<pair<string,string> > &items)
const{
39 AddString(items,
"module",
"%d", module);
40 AddString(items,
"layer",
"%d",
layer);
41 AddString(items,
"sector",
"%d", sector);
42 AddString(items,
"end",
"%s", end==0 ?
"upstream":
"downstream" );
43 AddString(items,
"E(GeV)",
"%2.3f", E);
44 AddString(items,
"t(ns)",
"%4.2f", t);
45 AddString(items,
"t_ADC(ns)",
"%4.2f", t_ADC);
46 AddString(items,
"t_TDC(ns)",
"%4.2f", t_TDC);
50 #endif // _DBCALUnifiedHit_
float t_TDC
Time of TDC hit that is closes t to the ADC time.
void toStrings(vector< pair< string, string > > &items) const
bool has_TDC_hit
Flag if the Unified Time is the TDC time.
float t_ADC
Time from fADC.
float t
Unified time, obtained from ADC and/or TDC and used for further analysis.