CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TotemT2DQMSource::PlanePlots Struct Reference

Public Member Functions

 PlanePlots ()=default
 
 PlanePlots (DQMStore::IBooker &ibooker, unsigned int id, unsigned int nbinsx, unsigned int nbinsy)
 

Public Attributes

MonitorElementdigisMultiplicity = nullptr
 
MonitorElementrechitMultiplicity = nullptr
 

Detailed Description

Definition at line 78 of file TotemT2DQMSource.cc.

Constructor & Destructor Documentation

◆ PlanePlots() [1/2]

TotemT2DQMSource::PlanePlots::PlanePlots ( )
default

◆ PlanePlots() [2/2]

TotemT2DQMSource::PlanePlots::PlanePlots ( DQMStore::IBooker ibooker,
unsigned int  id,
unsigned int  nbinsx,
unsigned int  nbinsy 
)

Definition at line 121 of file TotemT2DQMSource.cc.

References dqm::implementation::IBooker::book2DD(), totemT2DQMSource_cfi::nbinsx, totemT2DQMSource_cfi::nbinsy, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, TotemT2DetId::planeName(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.

124  {
128  ibooker.setCurrentFolder(path);
129 
130  digisMultiplicity = ibooker.book2DD("digis multiplicity",
131  title + " digis multiplicity;arbitrary unit;arbitrary unit",
132  nbinsx,
133  -0.5,
134  double(nbinsx) - 0.5,
135  nbinsy,
136  -0.5,
137  double(nbinsy) - 0.5);
138  rechitMultiplicity = ibooker.book2DD("rechits multiplicity",
139  title + " rechits multiplicity;x;y",
140  nbinsx,
141  -0.5,
142  double(nbinsx) - 0.5,
143  nbinsy,
144  -0.5,
145  double(nbinsy) - 0.5);
146 }
MonitorElement * digisMultiplicity
Detector ID class for Totem T2 detectors. Bits [19:31] : Base CTPPSDetId class attributes Bits [16:18...
Definition: TotemT2DetId.h:25
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * rechitMultiplicity
void planeName(std::string &name, NameFlag flag=nFull) const
Definition: TotemT2DetId.cc:39
MonitorElement * book2DD(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:338

Member Data Documentation

◆ digisMultiplicity

MonitorElement* TotemT2DQMSource::PlanePlots::digisMultiplicity = nullptr

Definition at line 79 of file TotemT2DQMSource.cc.

◆ rechitMultiplicity

MonitorElement* TotemT2DQMSource::PlanePlots::rechitMultiplicity = nullptr

Definition at line 80 of file TotemT2DQMSource.cc.