114 m_maxLS(iConfig.getUntrackedParameter<unsigned
int>(
"maxLSBeforeRebin",250)),
115 m_LSfrac(iConfig.getUntrackedParameter<unsigned
int>(
"startingLSFraction",16)),
163 (*_hlresync)->GetXaxis()->SetTitle(
"Orbit"); (*_hlresync)->GetYaxis()->SetTitle(
"Events");
164 (*_hlresync)->SetCanExtend(TH1::kXaxis);
168 (*_hlOC0)->GetXaxis()->SetTitle(
"Orbit"); (*_hlOC0)->GetYaxis()->SetTitle(
"Events");
169 (*_hlOC0)->SetCanExtend(TH1::kXaxis);
173 (*_hlTE)->GetXaxis()->SetTitle(
"Orbit"); (*_hlTE)->GetYaxis()->SetTitle(
"Events");
174 (*_hlTE)->SetCanExtend(TH1::kXaxis);
178 (*_hlstart)->GetXaxis()->SetTitle(
"Orbit"); (*_hlstart)->GetYaxis()->SetTitle(
"Events");
179 (*_hlstart)->SetCanExtend(TH1::kXaxis);
183 (*_hlEC0)->GetXaxis()->SetTitle(
"Orbit"); (*_hlEC0)->GetYaxis()->SetTitle(
"Events");
184 (*_hlEC0)->SetCanExtend(TH1::kXaxis);
188 (*_hlHR)->GetXaxis()->SetTitle(
"Orbit"); (*_hlHR)->GetYaxis()->SetTitle(
"Events");
189 (*_hlHR)->SetCanExtend(TH1::kXaxis);
193 (*_hdlec0lresync)->GetXaxis()->SetTitle(
"lastEC0-lastResync");
197 (*_hdlresynclHR)->GetXaxis()->SetTitle(
"lastEC0-lastResync");
219 if(
_hlOC0 && *
_hlOC0) (*_hlOC0)->Fill((*l1ts)[0].lastOrbitCounter0());
220 if(
_hlTE && *
_hlTE) (*_hlTE)->Fill((*l1ts)[0].lastTestEnable());
222 if(
_hlEC0 && *
_hlEC0) (*_hlEC0)->Fill((*l1ts)[0].lastEventCounter0());
223 if(
_hlHR && *
_hlHR) (*_hlHR)->Fill((*l1ts)[0].lastHardReset());
261 descriptions.
add(
"l1TSDebugger",desc);
void analyze(const edm::Event &, const edm::EventSetup &) override
~APVCyclePhaseDebuggerFromL1TS() override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
RunHistogramManager m_rhm
const unsigned int m_maxLS
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
#define DEFINE_FWK_MODULE(type)
long long _lastOrbitCounter0
long long _lastEventCounter0
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< Level1TriggerScalersCollection > _l1tscollectionToken
void beginRun(const edm::Run &, const edm::EventSetup &) override
void beginRun(const edm::Run &iRun)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< Level1TriggerScalers > Level1TriggerScalersCollection
long long _lastTestEnable
APVCyclePhaseDebuggerFromL1TS(const edm::ParameterSet &)
const unsigned int m_LSfrac