9 monitorDir(ps.getUntrackedParameter<
std::
string>(
"monitorDir",
"")),
22 for (
int axis = 1; axis <= 2; ++axis) {
23 std::string axisTitle = (axis == 1) ?
"Data" :
"Emulator";
34 emtfEmulBX = ibooker.
book1D(
"emtfEmulBX",
"EMTF Emulated Muon Cand BX", 7, -3, 4);
37 for (
int bin = 1, bin_label = -3;
bin <= 7; ++
bin, ++bin_label) {
45 emtfEmulhwPt = ibooker.
book1D(
"emtfEmulhwPt",
"EMTF Emulated Muon Cand p_{T}", 512, 0, 512);
51 emtfEmulhwEta = ibooker.
book1D(
"emtfEmulhwEta",
"EMTF Emulated Muon Cand #eta", 460, -230, 230);
57 emtfEmulhwPhi = ibooker.
book1D(
"emtfEmulhwPhi",
"EMTF Emulated Muon Cand #phi", 125, -20, 105);
MonitorElement * emtfEmulhwEta
const_iterator end(int bx) const
MonitorElement * emtfDatahwPhi
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > dataToken
unsigned size(int bx) const
BXVector< RegionalMuonCand > RegionalMuonCandBxCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * emtfDatahwEta
MonitorElement * emtfComparenMuonsEvent
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * emtfEmulhwPt
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
MonitorElement * emtfDatahwQual
~L1TdeStage2EMTF() override
void setCurrentFolder(std::string const &fullpath)
MonitorElement * emtfEmulhwPhi
MonitorElement * emtfDataBX
MonitorElement * book1D(Args &&...args)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * emtfEmulhwQual
bin
set the eta bin as selection string.
MonitorElement * book2D(Args &&...args)
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > emulToken
L1TdeStage2EMTF(const edm::ParameterSet &ps)
MonitorElement * emtfEmulBX
MonitorElement * emtfDatahwPt
const_iterator begin(int bx) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::vector< RegionalMuonCand >::const_iterator const_iterator