1 #ifndef compareMissingEnergySums_h 2 #define compareMissingEnergySums_h 55 for(
unsigned int i=0;
i <
data_->size();
i++) {
58 for(
unsigned int j=0; j <
emu_->size(); j++) {
61 if(
data_->at(
i).overFlow() &&
emu_->at(j).overFlow()) {
63 errorFlag_hist_->Fill(0);
68 if(!
data_->at(
i).overFlow() && !
emu_->at(j).overFlow() &&
data_->at(
i).et() == 0 &&
emu_->at(j).et() == 0)
return errorFlag;
72 errorFlag_hist_->Fill(0);
78 errorFlag_hist_->Fill(1);
84 errorFlag_hist_->Fill(2);
89 errorFlag_hist_->Fill(3);
compareMissingEnergySums(const T &data, const T &emu, const GctErrorAnalyzerMBxInfo &mbxparams)
~compareMissingEnergySums()
GctErrorAnalyzerMBxInfo mbxparams_
char data[epos_bytes_allocation]
bool doCompare(TH1I *errorFlag_hist_)