11 for (
int endc = 0; endc < 2; endc++)
19 <<
"+++ trying to instantiate TMB of illegal ME0 id [" 20 <<
" endcap = " << endc
21 <<
" chamber = " <<
cham 22 <<
"]; skipping it... +++\n";
37 for (
int endc = 0; endc < 2; endc++)
45 const int region(endc == 0 ? -1 : 1);
49 if (tmb ==
nullptr ||
me0_g->
chamber(detid) ==
nullptr)
continue;
57 <<
"ME0TriggerBuilder got results in " <<detid
59 <<
"Put " << trigV.size() <<
" Trigger digi" 60 << ((trigV.size() > 1) ?
"s " :
" ") <<
"in collection\n";
61 oc_trig.put(std::make_pair(trigV.begin(),trigV.end()), detid);
const ME0Chamber * chamber(ME0DetId id) const
Return a chamber given its id.
edm::ParameterSet config_
void setME0Geometry(const ME0Geometry *g)
std::vector< ME0TriggerDigi > readoutTriggers()
ME0TriggerBuilder(const edm::ParameterSet &)
const ME0Geometry * me0_g
std::unique_ptr< ME0Motherboard > tmb_[MAX_ENDCAPS][MAX_CHAMBERS]
void run(const ME0PadDigiCollection *)
void build(const ME0PadDigiClusterCollection *me0Pads, ME0TriggerDigiCollection &oc_trig)