83 : m_l1abccollectionToken(
85 m_maxLS(iConfig.getUntrackedParameter<unsigned
int>(
"maxLSBeforeRebin", 250)),
86 m_LSfrac(iConfig.getUntrackedParameter<unsigned
int>(
"startingLSFraction", 16)),
87 m_rhm(consumesCollector()) {
91 "offsets",
"Orbit vs BX offsets between SCAL and Event", 2 * 3564 + 1, -3564.5, 3564.5, 201, -100.5, 100.5);
115 for (L1AcceptBunchCrossingCollection::const_iterator l1abc = pIn->begin(); l1abc != pIn->end(); ++l1abc) {
116 if (l1abc->l1AcceptOffset() == 0) {
119 ->Fill((
int)l1abc->bunchCrossing() - (
int)
iEvent.bunchCrossing(),
120 (
long long)l1abc->orbitNumber() - (
long long)
iEvent.orbitNumber());
122 (*m_horboffvsorb)->Fill(
iEvent.orbitNumber(), (
long long)l1abc->orbitNumber() - (
long long)
iEvent.orbitNumber());
124 (*m_hbxoffvsorb)->Fill(
iEvent.orbitNumber(), (
int)l1abc->bunchCrossing() - (
int)
iEvent.bunchCrossing());
130 edm::LogInfo(
"L1ABCDebug") <<
"Dump of L1AcceptBunchCrossing Collection for event in orbit " <<
iEvent.orbitNumber()
131 <<
" and BX " <<
iEvent.bunchCrossing();
133 for (L1AcceptBunchCrossingCollection::const_iterator l1abc = pIn->begin(); l1abc != pIn->end(); ++l1abc) {
142 (*m_hoffsets)->GetXaxis()->SetTitle(
"#Delta BX (SCAL-Event)");
143 (*m_hoffsets)->GetYaxis()->SetTitle(
"#Delta orbit (SCAL-Event)");
146 (*m_horboffvsorb)->GetXaxis()->SetTitle(
"Orbit");
147 (*m_horboffvsorb)->GetYaxis()->SetTitle(
"#Delta orbit (SCAL-Event)");
148 (*m_horboffvsorb)->SetCanExtend(TH1::kXaxis);
151 (*m_hbxoffvsorb)->GetXaxis()->SetTitle(
"Orbit");
152 (*m_hbxoffvsorb)->GetYaxis()->SetTitle(
"#Delta BX (SCAL-Event)");
153 (*m_hbxoffvsorb)->SetCanExtend(TH1::kXaxis);