11 monitorDir(ps.getUntrackedParameter<
std::
string>(
"monitorDir",
"")),
12 bmtfSource(ps.getParameter<
edm::InputTag>(
"bmtfSource")),
16 kalman(ps.getUntrackedParameter<
bool>(
"kalman",
false)),
38 histoPrefix =
"kbmtf";
42 int hwQual_bxbins = 20;
49 bmtf_hwEta = ibooker.
book1D(histoPrefix+
"_hwEta",
"HW #eta", 461, -230.5, 230.5);
52 bmtf_hwPt = ibooker.
book1D(histoPrefix+
"_hwPt",
"HW p_{T}", ptbins, -0.5, ptbins-0.5);
53 bmtf_hwQual= ibooker.
book1D(histoPrefix+
"_hwQual" ,
"HW Quality", 20, -0.5, 19.5);
54 bmtf_proc = ibooker.
book1D(histoPrefix+
"_proc" ,
"Processor", 12, -0.5, 11.5);
56 bmtf_wedge_bx = ibooker.
book2D(histoPrefix+
"_wedge_bx",
"Wedge vs BX", 12, -0.5, 11.5, 5, -2.5, 2.5);
62 bmtf_hwEta_hwLocalPhi = ibooker.
book2D(histoPrefix+
"_hwEta_hwLocalPhi",
"HW #eta vs HW Local #phi" , 461, -230.5, 230.5, 201, -100.5, 100.5);
65 bmtf_hwEta_hwGlobalPhi = ibooker.
book2D(histoPrefix+
"_hwEta_hwGlobalPhi",
"HW #eta vs HW Global #phi" , 100, -230.5, 230.5, 120, -0.5, 575.5);
68 bmtf_hwPt_hwEta = ibooker.
book2D(histoPrefix+
"_hwPt_hwEta" ,
"HW p_{T} vs HW #eta", 511, -0.5, 510.5, 461, -230.5, 230.5);
71 bmtf_hwPt_hwLocalPhi = ibooker.
book2D(histoPrefix+
"_hwPt_hwLocalPhi" ,
"HW p_{T} vs HW Local #phi", 511, -0.5, 510.5, 201, -100.5, 100.5);
74 bmtf_hwEta_bx = ibooker.
book2D(histoPrefix+
"_hwEta_bx" ,
"HW #eta vs BX" , 461, -230.5, 230.5, 5, -2.5, 2.5);
77 bmtf_hwLocalPhi_bx = ibooker.
book2D(histoPrefix+
"_hwLocalPhi_bx" ,
"HW Local #phi vs BX" , 201, -100.5, 100.5, 5, -2.5, 2.5);
80 bmtf_hwPt_bx = ibooker.
book2D(histoPrefix+
"_hwPt_bx" ,
"HW p_{T} vs BX" , 511, -0.5, 510.5, 5, -2.5, 2.5);
83 bmtf_hwQual_bx = ibooker.
book2D(histoPrefix+
"_hwQual_bx" ,
"HW Quality vs BX" , hwQual_bxbins, -0.5, hwQual_bxbins-0.5, 5, -2.5, 2.5);
87 bmtf_hwPt2 = ibooker.
book1D(histoPrefix+
"_hwPt2",
"HW p_{T}2", 512, -0.5, 511.5);
166 global_phi= itMuon->hwPhi() + itMuon->processor()*48.-15;
const_iterator end(int bx) const
T getParameter(std::string const &) const
MonitorElement * bmtf_hwPt_hwLocalPhi
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * bmtf_hwEta_hwGlobalPhi
L1TStage2BMTF(const edm::ParameterSet &ps)
MonitorElement * bmtf_hwEta_hwLocalPhi
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)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetToken bmtfToken
MonitorElement * bmtf_hwQual_bx
MonitorElement * bmtf_hwLocalPhi_bx
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
MonitorElement * bmtf_hwGlobalPhi
MonitorElement * bmtf_hwDXY
bin
set the eta bin as selection string.
void setTitle(const std::string &title)
set (ie. change) histogram/profile title
MonitorElement * bmtf_wedge_bx
MonitorElement * book2D(Args &&...args)
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
~L1TStage2BMTF() override
MonitorElement * bmtf_hwQual
MonitorElement * bmtf_hwPt_hwEta
MonitorElement * bmtf_hwPt_bx
MonitorElement * bmtf_hwEta
MonitorElement * bmtf_hwPt2
MonitorElement * bmtf_proc
MonitorElement * bmtf_hwPt
MonitorElement * bmtf_hwEta_bx
const_iterator begin(int bx) const
MonitorElement * bmtf_hwLocalPhi
std::vector< RegionalMuonCand >::const_iterator const_iterator
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override