27 TH2I *mismatchD_EtEtaPhi,
29 TH2I *mismatchE_EtEtaPhi);
39 : data_(
data), emu_(emu), mbxparams_(mbxparams) {
51 TH2I *mismatchD_EtEtaPhi,
53 TH2I *mismatchE_EtEtaPhi) {
59 bool errorFlag =
false;
60 unsigned int i = 0,
j = 0;
65 for (
i = 0;
i < data_->size();
i++) {
67 if (data_->at(
i).bx() != mbxparams_.GCTTrigBx)
72 if (data_->at(
i).rank() == 0)
75 for (
j = 0;
j < emu_->size();
j++) {
77 if (emu_->at(
j).bx() != mbxparams_.EmuTrigBx)
80 if (data_->at(
i).rank() == emu_->at(
j).rank() &&
81 data_->at(
i).regionId().ieta() == emu_->at(
j).regionId().ieta() &&
84 errorFlag_hist_->Fill(0);
90 errorFlag_hist_->Fill(1);
91 mismatchD_Rank->Fill(data_->at(
i).rank());
92 mismatchD_EtEtaPhi->Fill(data_->at(
i).regionId().ieta(),
93 data_->at(
i).regionId().iphi(),
108 for (
j = 0;
j < emu_->size();
j++) {
110 if (emu_->at(
j).bx() != mbxparams_.EmuTrigBx)
115 errorFlag_hist_->Fill(2);
116 mismatchE_Rank->Fill(emu_->at(
j).rank());
117 mismatchE_EtEtaPhi->Fill(emu_->at(
j).regionId().ieta(),
118 emu_->at(
j).regionId().iphi(),
bool doCompare(TH1I *errorFlag_hist_, TH1I *mismatchD_Rank, TH2I *mismatchD_EtEtaPhi, TH1I *mismatchE_Rank, TH2I *mismatchE_EtEtaPhi)
compareCands(const T &data, const T &emu, const GctErrorAnalyzerMBxInfo &mbxparams)
const unsigned int GCT_OBJECT_QUANTA
GctErrorAnalyzerMBxInfo mbxparams_
char data[epos_bytes_allocation]