15 : triggerFed_(conf.getUntrackedParameter<
int>(
"HcalTriggerFED", -1)),
16 sdFed_(conf.getUntrackedParameter<
int>(
"HcalSlowDataFED", -1)),
17 spdFed_(conf.getUntrackedParameter<
int>(
"HcalSourcePositionFED", -1)),
18 tdcFed_(conf.getUntrackedParameter<
int>(
"HcalTDCFED", -1)),
19 qadcFed_(conf.getUntrackedParameter<
int>(
"HcalQADCFED", -1)),
20 calibFile_(conf.getUntrackedParameter<
string>(
"ConfigurationFile",
"")),
21 tdcUnpacker_(conf.getUntrackedParameter<
bool>(
"IncludeUnmatchedHits",
false)),
23 doTriggerData_(
false),
24 doEventPosition_(
false),
31 std::cout <<
"HcalTBObjectUnpacker will unpack Trigger FED ";
37 std::cout <<
"HcalTBObjectUnpacker will unpack SlowData FED ";
44 std::cout <<
"HcalTBObjectUnpacker will unpack TDC FED ";
51 std::cout <<
"HcalTBObjectUnpacker will unpack QADC FED ";
57 std::cout <<
"HcalTBObjectUnpacker will unpack Source Position Data FED ";
69 <<
"HcalTBObjectUnpacker: TDC/QADC/WC configuration file not found or is empty: " <<
calibFile_ << endl;
72 <<
"HcalTBObjectUnpacker: TDC/QADC/WC configuration file not found: " <<
calibFile_ << endl;
77 produces<HcalTBTriggerData>();
79 produces<HcalTBRunData>();
81 produces<HcalTBEventPosition>();
83 produces<HcalTBTiming>();
86 produces<HcalTBBeamCounters>();
90 produces<HcalSourcePositionData>();
105 auto trigd = std::make_unique<HcalTBTriggerData>();
107 auto rund = std::make_unique<HcalTBRunData>();
109 auto epd = std::make_unique<HcalTBEventPosition>();
111 auto tmgd = std::make_unique<HcalTBTiming>();
113 auto bcntd = std::make_unique<HcalTBBeamCounters>();
115 auto spd = std::make_unique<HcalSourcePositionData>();
167 printf(
"HcalTBObjectUnpacker cowardly refuses to parse a NULL file...\n");
184 vector<string> lineVect;
188 for (
unsigned i = 0;
i <= tmpStr.size();
i++) {
189 if (tmpStr[
i] ==
' ' ||
i == tmpStr.size()) {
192 lineVect.push_back(
item);
203 if (!lineVect.empty())