CMS 3D CMS Logo

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

plots related to one Diamond detector package More...

Public Member Functions

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

Public Attributes

MonitorElementactivityPerBX = nullptr
 
MonitorElementamplitude = nullptr
 
MonitorElementbaseline = nullptr
 
MonitorElementbaselineRMS = nullptr
 
MonitorElementcellOfMax = nullptr
 
MonitorElementdataSamplesRaw = nullptr
 
MonitorElementdigiAll = nullptr
 
MonitorElementdigiDistribution = nullptr
 
MonitorElementdigiSent = nullptr
 
MonitorElementdigiSentPercentage = nullptr
 
MonitorElementhitDistribution2d = nullptr
 
MonitorElementhitDistribution2d_lumisection = nullptr
 
MonitorElementhitDistribution2dWithTime = nullptr
 
MonitorElementhitRate = nullptr
 
MonitorElementmeanAmplitude = nullptr
 
MonitorElementnoiseRMS = nullptr
 
MonitorElementplanesWithDigis = nullptr
 
std::set< unsigned int > planesWithDigisSet
 
MonitorElementplanesWithTime = nullptr
 
std::set< unsigned int > planesWithTimeSet
 
MonitorElementrecHitTime = nullptr
 
MonitorElementtrackDistribution = nullptr
 
MonitorElementtriggerCellTime = nullptr
 

Detailed Description

plots related to one Diamond detector package

Definition at line 115 of file DiamondSampicDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

DiamondSampicDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 149 of file DiamondSampicDQMSource.cc.

149 {};

◆ PotPlots() [2/2]

DiamondSampicDQMSource::PotPlots::PotPlots ( DQMStore::IBooker ibooker,
unsigned int  id,
bool  plotOnline 
)

Definition at line 257 of file DiamondSampicDQMSource.cc.

References CustomPhysics_cfi::amplitude, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), DiamondSampicDQMSource::changePathToSampic(), DiamondSampicDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, ctppsDiamondDQMSource_cfi::plotOnline, CTPPSDetId::rpName(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.

257  {
261 
263 
265  ibooker.book2D("digi distribution", title + " digi distribution;plane;channel", 10, -0.5, 4.5, 12, 0, 12);
266 
267  hitDistribution2d = ibooker.book2D("hits in planes",
268  title + " hits in planes;plane number;x (mm)",
269  10,
270  -0.5,
271  4.5,
273  -0.5,
274  18.5);
275  hitDistribution2dWithTime = ibooker.book2D("hits in planes with time",
276  title + " hits in planes with time;plane number;x (mm)",
277  10,
278  -0.5,
279  4.5,
281  -0.5,
282  18.5);
283 
284  recHitTime = ibooker.book1D("recHit time", title + " recHit time; t (ns)", 500, -25, 25);
285  trackDistribution = ibooker.book1D(
286  "tracks", title + " tracks;x (mm)", 19. * INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18); //TODO needs tracks
287 
288  if (plotOnline) {
290  ibooker.book2D("hits in planes lumisection",
291  title + " hits in planes in the last lumisection;plane number;x (mm)",
292  18,
293  -0.5,
294  4,
296  0,
297  15);
298  triggerCellTime = ibooker.book1D("trigger cell time", title + " Trigger Cell Time; t (ns)", 390, -25, 25);
299  activityPerBX = ibooker.book1D("activity per BX CMS", title + " Activity per BX;Event.BX", 3600, -1.5, 3598. + 0.5);
300  amplitude = ibooker.book1D("amplitude", title + " amplitude above baseline; amplitude (V)", 50, 0, 1);
301  baselineRMS = ibooker.book2D("noise RMS", title + " noise RMS (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
302  meanAmplitude =
303  ibooker.book2D("mean amplitude", title + " Mean Amplitude (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
304  cellOfMax = ibooker.book2D("cell of max", title + " cell of max (0-23);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
305 
306  //hitRate = ibooker.book2D("hit rate", title + " hit rate (Hz);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
307 
308  planesWithDigis = ibooker.book1D("active planes digis",
309  title + " active planes with digis sent (per event);number of active planes",
310  6,
311  -0.5,
312  5.5);
313  planesWithTime = ibooker.book1D(
314  "active planes with time", title + " active planes with time (per event);number of active planes", 6, -0.5, 5.5);
315 
316  dataSamplesRaw = ibooker.book1D("raw Samples", title + " Raw Samples; ADC", 256, 0, 256);
317 
318  baseline = ibooker.book2D("baseline", title + " baseline (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
319  noiseRMS = ibooker.book2D("noise RMS", title + " noise RMS (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
320 
321  digiSent = ibooker.book2D(
322  "digis sent", title + " digi sent (sampic);board + 0.5 sampic;channel", 14, -0.5, 6.5, 16, 0, 16);
323  digiAll =
324  ibooker.book2D("all digis", title + " all digis(sampic);board + 0.5 sampic;channel", 14, -0.5, 6.5, 16, 0, 16);
325  digiSentPercentage = ibooker.book2D("sent digis percentage",
326  title + " sent digis percentage (sampic);board + 0.5 sampic;channel",
327  14,
328  -0.5,
329  6.5,
330  16,
331  0,
332  16);
333  }
334 }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
static const double INV_DISPLAY_RESOLUTION_FOR_HITS_MM
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:128
static std::string changePathToSampic(std::string path)
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

◆ activityPerBX

MonitorElement* DiamondSampicDQMSource::PotPlots::activityPerBX = nullptr

Definition at line 117 of file DiamondSampicDQMSource.cc.

◆ amplitude

MonitorElement* DiamondSampicDQMSource::PotPlots::amplitude = nullptr

Definition at line 133 of file DiamondSampicDQMSource.cc.

◆ baseline

MonitorElement* DiamondSampicDQMSource::PotPlots::baseline = nullptr

Definition at line 120 of file DiamondSampicDQMSource.cc.

◆ baselineRMS

MonitorElement* DiamondSampicDQMSource::PotPlots::baselineRMS = nullptr

Definition at line 134 of file DiamondSampicDQMSource.cc.

◆ cellOfMax

MonitorElement* DiamondSampicDQMSource::PotPlots::cellOfMax = nullptr

Definition at line 137 of file DiamondSampicDQMSource.cc.

◆ dataSamplesRaw

MonitorElement* DiamondSampicDQMSource::PotPlots::dataSamplesRaw = nullptr

Definition at line 119 of file DiamondSampicDQMSource.cc.

◆ digiAll

MonitorElement* DiamondSampicDQMSource::PotPlots::digiAll = nullptr

Definition at line 124 of file DiamondSampicDQMSource.cc.

◆ digiDistribution

MonitorElement* DiamondSampicDQMSource::PotPlots::digiDistribution = nullptr

Definition at line 118 of file DiamondSampicDQMSource.cc.

◆ digiSent

MonitorElement* DiamondSampicDQMSource::PotPlots::digiSent = nullptr

Definition at line 123 of file DiamondSampicDQMSource.cc.

◆ digiSentPercentage

MonitorElement* DiamondSampicDQMSource::PotPlots::digiSentPercentage = nullptr

Definition at line 125 of file DiamondSampicDQMSource.cc.

◆ hitDistribution2d

MonitorElement* DiamondSampicDQMSource::PotPlots::hitDistribution2d = nullptr

Definition at line 128 of file DiamondSampicDQMSource.cc.

◆ hitDistribution2d_lumisection

MonitorElement* DiamondSampicDQMSource::PotPlots::hitDistribution2d_lumisection = nullptr

Definition at line 130 of file DiamondSampicDQMSource.cc.

◆ hitDistribution2dWithTime

MonitorElement* DiamondSampicDQMSource::PotPlots::hitDistribution2dWithTime = nullptr

Definition at line 129 of file DiamondSampicDQMSource.cc.

◆ hitRate

MonitorElement* DiamondSampicDQMSource::PotPlots::hitRate = nullptr

Definition at line 139 of file DiamondSampicDQMSource.cc.

◆ meanAmplitude

MonitorElement* DiamondSampicDQMSource::PotPlots::meanAmplitude = nullptr

Definition at line 136 of file DiamondSampicDQMSource.cc.

◆ noiseRMS

MonitorElement* DiamondSampicDQMSource::PotPlots::noiseRMS = nullptr

Definition at line 121 of file DiamondSampicDQMSource.cc.

◆ planesWithDigis

MonitorElement* DiamondSampicDQMSource::PotPlots::planesWithDigis = nullptr

Definition at line 141 of file DiamondSampicDQMSource.cc.

◆ planesWithDigisSet

std::set<unsigned int> DiamondSampicDQMSource::PotPlots::planesWithDigisSet

Definition at line 146 of file DiamondSampicDQMSource.cc.

◆ planesWithTime

MonitorElement* DiamondSampicDQMSource::PotPlots::planesWithTime = nullptr

Definition at line 142 of file DiamondSampicDQMSource.cc.

◆ planesWithTimeSet

std::set<unsigned int> DiamondSampicDQMSource::PotPlots::planesWithTimeSet

Definition at line 147 of file DiamondSampicDQMSource.cc.

◆ recHitTime

MonitorElement* DiamondSampicDQMSource::PotPlots::recHitTime = nullptr

Definition at line 132 of file DiamondSampicDQMSource.cc.

◆ trackDistribution

MonitorElement* DiamondSampicDQMSource::PotPlots::trackDistribution = nullptr

Definition at line 144 of file DiamondSampicDQMSource.cc.

◆ triggerCellTime

MonitorElement* DiamondSampicDQMSource::PotPlots::triggerCellTime = nullptr

Definition at line 135 of file DiamondSampicDQMSource.cc.