CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DiamondSampicCalibrationDQMSource::PotPlots Struct Reference

plots related to one Diamond detector package More...

Public Member Functions

 PotPlots ()
 
 PotPlots (DQMStore::IBooker &ibooker, unsigned int id)
 

Public Attributes

MonitorElementhitDistribution2d = nullptr
 
MonitorElementrecHitTime = nullptr
 

Detailed Description

plots related to one Diamond detector package

Definition at line 88 of file DiamondSampicCalibrationDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

DiamondSampicCalibrationDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 93 of file DiamondSampicCalibrationDQMSource.cc.

93 {};

◆ PotPlots() [2/2]

DiamondSampicCalibrationDQMSource::PotPlots::PotPlots ( DQMStore::IBooker ibooker,
unsigned int  id 
)

Definition at line 135 of file DiamondSampicCalibrationDQMSource.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), DiamondSampicCalibrationDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, CTPPSDetId::rpName(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.

135  {
138  ibooker.setCurrentFolder(path);
139 
141 
142  hitDistribution2d = ibooker.book2D("hits in planes",
143  title + " hits in planes;plane number;x (mm)",
144  10,
145  -0.5,
146  4.5,
148  -0.5,
149  18.5);
150 
151  recHitTime = ibooker.book1D("recHit time", title + " time in the recHits; t (ns)", 500, -25, 25);
152 }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:134
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:212
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98

Member Data Documentation

◆ hitDistribution2d

MonitorElement* DiamondSampicCalibrationDQMSource::PotPlots::hitDistribution2d = nullptr

Definition at line 90 of file DiamondSampicCalibrationDQMSource.cc.

◆ recHitTime

MonitorElement* DiamondSampicCalibrationDQMSource::PotPlots::recHitTime = nullptr

Definition at line 91 of file DiamondSampicCalibrationDQMSource.cc.