1 #ifndef compareMissingEnergySums_h 2 #define compareMissingEnergySums_h 47 bool errorFlag =
false;
49 for (
unsigned int i = 0;
i <
data_->size();
i++) {
53 for (
unsigned int j = 0;
j <
emu_->size();
j++) {
57 if (
data_->at(
i).overFlow() &&
emu_->at(
j).overFlow()) {
59 errorFlag_hist_->Fill(0);
64 if (!
data_->at(
i).overFlow() && !
emu_->at(
j).overFlow() &&
data_->at(
i).et() == 0 &&
emu_->at(
j).et() == 0)
70 errorFlag_hist_->Fill(0);
77 errorFlag_hist_->Fill(1);
78 return errorFlag =
true;
84 errorFlag_hist_->Fill(2);
85 return errorFlag =
true;
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_)