291 std::string subs[5] = {
"DTTF",
"RPCb",
"CSCTF",
"RPCf",
"GMT" };
315 int nqty=8;
double qtymin=-0.5;
double qtymax=7.5;
321 if(nbins>144) nbins=144;
330 for(
int j=0;
j<9;
j++) {
331 qscale[
j] = -0.5 +
j;
340 if(nbins>31) nbins=31;
344 ptscale[
nbins]=ptscale[nbins-1]+10.;
348 float etascale[5][66];
353 if(nbins>65) nbins = 65;
362 if(nbins>65) nbins = 65;
372 if(nbins>32) nbins = 32;
375 for(
int j=nbins;
j>=0;
j--,i++) {
381 netascale[
CSCTF]=i-1;
386 if(nbins>65) nbins = 65;
395 if(nbins>32) nbins = 32;
398 for(
int j=nbins;
j>0;
j--,i++) {
411 for(
int i=0; i<5; i++) {
413 hname = subs[
i] +
"_nbx"; htitle = subs[
i] +
" multiplicity in bx";
418 hname = subs[
i] +
"_eta"; htitle = subs[
i] +
" eta value";
422 hname = subs[
i] +
"_phi"; htitle = subs[
i] +
" phi value";
426 hname = subs[
i] +
"_pt"; htitle = subs[
i] +
" pt value";
430 hname = subs[
i] +
"_qty"; htitle = subs[
i] +
" qty value";
434 hname = subs[
i] +
"_etaphi"; htitle = subs[
i] +
" phi vs eta";
439 hname = subs[
i] +
"_etaqty"; htitle = subs[
i] +
" qty vs eta";
444 hname = subs[
i] +
"_bits"; htitle = subs[
i] +
" bit population";
483 dbx_chip =
dbe->
bookProfile(
"dbx_Chip",
"bx count difference wrt ROP chip", 5, 0., 5.,100,-4000.,4000.,
"i");
493 netascale[
GMT], etascale[GMT]);
497 netascale[GMT], etascale[GMT]);
501 netascale[GMT], etascale[GMT]);
505 nphiscale, phiscale);
509 nphiscale, phiscale);
513 nphiscale, phiscale);
517 netascale[GMT], etascale[GMT], nphiscale, phiscale);
522 netascale[GMT], etascale[GMT], nphiscale, phiscale);
527 netascale[GMT], etascale[GMT], nphiscale, phiscale);
564 bx_dt_rpc =
dbe->
book2D(
"bx_DT_vs_RPC",
"1st bx DT vs. RPC", 5, -2.5, 2.5, 5, -2.5, 2.5);
568 bx_csc_rpc =
dbe->
book2D(
"bx_CSC_vs_RPC",
"1st bx CSC vs. RPC", 5, -2.5, 2.5, 5, -2.5, 2.5);
572 bx_dt_csc =
dbe->
book2D(
"bx_DT_vs_CSC",
"1st bx DT vs. CSC", 5, -2.5, 2.5, 5, -2.5, 2.5);
577 for(
int i=0; i<4; i++) {
578 hname = subs[
i] +
"_dbx"; htitle =
"dBx " + subs[
i] +
" to previous event";
580 for(
int j=0;
j<4;
j++) {
MonitorElement * bx_number
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
const L1MuScale * getPtScale() const
get the Pt scale
MonitorElement * phi_rpc_only
MonitorElement * subs_eta[5]
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 * 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
virtual float getValue(unsigned i) const =0
get value of the underlying vector for bin i
MonitorElement * bx_dt_csc
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
MonitorElement * subs_phi[5]
MonitorElement * dbx_chip
MonitorElement * dist_phi_dt_rpc
MonitorElement * dist_phi_dt_csc
MonitorElement * phi_dtcsc_and_rpc
MonitorElement * subs_pt[5]
T const * product() const
virtual unsigned getNBins() const =0
get number of bins
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) ...
char data[epos_bytes_allocation]
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 * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * dist_eta_dt_csc
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * n_rpcf_vs_csctf