1 #ifndef compareTotalEnergySums_h
2 #define compareTotalEnergySums_h
55 for(
unsigned int i=0;
i < data_->size();
i++) {
57 if(data_->at(
i).bx() != mbxparams_.GCTTrigBx)
continue;
59 for(
unsigned int j=0;
j < emu_->size();
j++) {
61 if(emu_->at(
j).bx() != mbxparams_.EmuTrigBx)
continue;
64 if(data_->at(
i).overFlow() && emu_->at(
j).overFlow()) {
66 errorFlag_hist_->Fill(0);
72 if(!data_->at(
i).overFlow() && !emu_->at(
j).overFlow() && data_->at(
i).et() == 0 && emu_->at(
j).et() == 0)
return errorFlag;
75 if(!data_->at(
i).overFlow() && !emu_->at(
j).overFlow() && data_->at(
i).et() == emu_->at(
j).et()) {
77 errorFlag_hist_->Fill(0);
82 errorFlag_hist_->Fill(1);
bool doCompare(TH1I *errorFlag_hist_)
GctErrorAnalyzerMBxInfo mbxparams_
compareTotalEnergySums(const T &data, const T &emu, const GctErrorAnalyzerMBxInfo &mbxparams)
char data[epos_bytes_allocation]
~compareTotalEnergySums()