242 std::string subs[5] = {
"DTTF",
"RPCb",
"CSCTF",
"RPCf",
"GMT"};
252 ibooker.setCurrentFolder(
"L1T/L1TGMT");
255 double qtymin = -0.5;
272 for (
int j = 0;
j < 9;
j++) {
273 qscale[
j] = -0.5 +
j;
287 ptscale[
nbins] = ptscale[nbins - 1] + 10.;
291 float etascale[5][66];
321 for (
int j = nbins;
j >= 0;
j--, i++) {
324 for (
int j = 0;
j <=
nbins;
j++, i++) {
327 netascale[
CSCTF] = i - 1;
346 for (
int j = nbins;
j > 0;
j--, i++) {
349 for (
int j = 0;
j <=
nbins;
j++, i++) {
352 netascale[
GMT] = i - 1;
358 for (
int i = 0; i < 5; i++) {
359 hname = subs[
i] +
"_nbx";
360 htitle = subs[
i] +
" multiplicity in bx";
361 subs_nbx[
i] = ibooker.book2D(hname.data(), htitle.data(), 4, 1., 5., 5, -2.5, 2.5);
365 hname = subs[
i] +
"_eta";
366 htitle = subs[
i] +
" eta value";
367 subs_eta[
i] = ibooker.book1D(hname.data(), htitle.data(), netascale[
i], etascale[
i]);
370 hname = subs[
i] +
"_phi";
371 htitle = subs[
i] +
" phi value";
372 subs_phi[
i] = ibooker.book1D(hname.data(), htitle.data(), nphiscale, phiscale);
375 hname = subs[
i] +
"_pt";
376 htitle = subs[
i] +
" pt value";
377 subs_pt[
i] = ibooker.book1D(hname.data(), htitle.data(), nptscale,
ptscale);
380 hname = subs[
i] +
"_qty";
381 htitle = subs[
i] +
" qty value";
382 subs_qty[
i] = ibooker.book1D(hname.data(), htitle.data(), nqty, qtymin, qtymax);
385 hname = subs[
i] +
"_etaphi";
386 htitle = subs[
i] +
" phi vs eta";
387 subs_etaphi[
i] = ibooker.book2D(hname.data(), htitle.data(), netascale[
i], etascale[
i], nphiscale, phiscale);
391 hname = subs[
i] +
"_etaqty";
392 htitle = subs[
i] +
" qty vs eta";
393 subs_etaqty[
i] = ibooker.book2D(hname.data(), htitle.data(), netascale[
i], etascale[
i], nqty, qscale);
397 hname = subs[
i] +
"_bits";
398 htitle = subs[
i] +
" bit population";
399 subs_bits[
i] = ibooker.book1D(hname.data(), htitle.data(), 32, -0.5, 31.5);
403 regional_triggers = ibooker.book1D(
"Regional_trigger",
"Muon trigger contribution", 27, 0., 27.);
433 bx_number = ibooker.book1D(
"Bx_Number",
"Bx number ROP chip", 3564, 0., 3564.);
436 dbx_chip = ibooker.bookProfile(
"dbx_Chip",
"bx count difference wrt ROP chip", 5, 0., 5., 100, -4000., 4000.,
"i");
446 ibooker.book1D(
"eta_DTCSC_and_RPC",
"eta of confirmed GMT candidates", netascale[
GMT], etascale[GMT]);
450 ibooker.book1D(
"eta_DTCSC_only",
"eta of unconfirmed DT/CSC candidates", netascale[GMT], etascale[GMT]);
453 eta_rpc_only = ibooker.book1D(
"eta_RPC_only",
"eta of unconfirmed RPC candidates", netascale[GMT], etascale[GMT]);
456 phi_dtcsc_and_rpc = ibooker.book1D(
"phi_DTCSC_and_RPC",
"phi of confirmed GMT candidates", nphiscale, phiscale);
459 phi_dtcsc_only = ibooker.book1D(
"phi_DTCSC_only",
"phi of unconfirmed DT/CSC candidates", nphiscale, phiscale);
462 phi_rpc_only = ibooker.book1D(
"phi_RPC_only",
"phi of unconfirmed RPC candidates", nphiscale, phiscale);
466 "eta vs phi map of confirmed GMT candidates",
475 "eta vs phi map of unconfirmed DT/CSC candidates",
484 "eta vs phi map of unconfirmed RPC candidates",
492 dist_phi_dt_rpc = ibooker.book1D(
"dist_phi_DT_RPC",
"Dphi between DT and RPC candidates", 100, -125., 125.);
495 dist_phi_csc_rpc = ibooker.book1D(
"dist_phi_CSC_RPC",
"Dphi between CSC and RPC candidates", 100, -125., 125.);
498 dist_phi_dt_csc = ibooker.book1D(
"dist_phi_DT_CSC",
"Dphi between DT and CSC candidates", 100, -125., 125.);
501 dist_eta_dt_rpc = ibooker.book1D(
"dist_eta_DT_RPC",
"Deta between DT and RPC candidates", 40, -1., 1.);
504 dist_eta_csc_rpc = ibooker.book1D(
"dist_eta_CSC_RPC",
"Deta between CSC and RPC candidates", 40, -1., 1.);
507 dist_eta_dt_csc = ibooker.book1D(
"dist_eta_DT_CSC",
"Deta between DT and CSC candidates", 40, -1., 1.);
510 n_rpcb_vs_dttf = ibooker.book2D(
"n_RPCb_vs_DTTF",
"n cands RPCb vs DTTF", 5, -0.5, 4.5, 5, -0.5, 4.5);
514 n_rpcf_vs_csctf = ibooker.book2D(
"n_RPCf_vs_CSCTF",
"n cands RPCf vs CSCTF", 5, -0.5, 4.5, 5, -0.5, 4.5);
518 n_csctf_vs_dttf = ibooker.book2D(
"n_CSCTF_vs_DTTF",
"n cands CSCTF vs DTTF", 5, -0.5, 4.5, 5, -0.5, 4.5);
522 bx_dt_rpc = ibooker.book2D(
"bx_DT_vs_RPC",
"1st bx DT vs. RPC", 5, -2.5, 2.5, 5, -2.5, 2.5);
526 bx_csc_rpc = ibooker.book2D(
"bx_CSC_vs_RPC",
"1st bx CSC vs. RPC", 5, -2.5, 2.5, 5, -2.5, 2.5);
530 bx_dt_csc = ibooker.book2D(
"bx_DT_vs_CSC",
"1st bx DT vs. CSC", 5, -2.5, 2.5, 5, -2.5, 2.5);
534 for (
int i = 0; i < 4; i++) {
535 hname = subs[
i] +
"_dbx";
536 htitle =
"dBx " + subs[
i] +
" to previous event";
537 subs_dbx[
i] = ibooker.book2D(hname.data(), htitle.data(), 1000, 0., 1000., 4, 0., 4.);
538 for (
int j = 0;
j < 4;
j++) {
MonitorElement * bx_number
const L1MuScale * getPtScale() const
get the Pt scale
MonitorElement * phi_rpc_only
MonitorElement * subs_eta[5]
MonitorElement * subs_nbx[5]
MonitorElement * dist_eta_dt_rpc
MonitorElement * subs_bits[5]
MonitorElement * subs_dbx[4]
MonitorElement * n_csctf_vs_dttf
MonitorElement * eta_dtcsc_and_rpc
MonitorElement * dist_eta_csc_rpc
MonitorElement * subs_etaphi[5]
MonitorElement * regional_triggers
static const double piconv_
MonitorElement * etaphi_dtcsc_and_rpc
MonitorElement * etaphi_rpc_only
MonitorElement * eta_dtcsc_only
MonitorElement * eta_rpc_only
MonitorElement * n_rpcb_vs_dttf
MonitorElement * phi_dtcsc_only
const L1MuScale * getPhiScale() const
get the phi scale
MonitorElement * bx_dt_csc
MonitorElement * subs_phi[5]
virtual 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)
virtual unsigned getNBins() const =0
get number of bins
MonitorElement * dbx_chip
MonitorElement * dist_phi_dt_rpc
MonitorElement * dist_phi_dt_csc
MonitorElement * phi_dtcsc_and_rpc
MonitorElement * subs_pt[5]
MonitorElement * subs_qty[5]
const L1MuScale * getRegionalEtaScale(int isys) const
get the regioanl muon trigger eta scale, isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC) ...
MonitorElement * bx_csc_rpc
MonitorElement * bx_dt_rpc
MonitorElement * dist_phi_csc_rpc
MonitorElement * etaphi_dtcsc_only
const L1MuScale * getGMTEtaScale() const
get the GMT eta scale
MonitorElement * subs_etaqty[5]
MonitorElement * dist_eta_dt_csc
T const * product() const
MonitorElement * n_rpcf_vs_csctf
virtual float getValue(unsigned i) const =0
get value of the underlying vector for bin i
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)