CMS 3D CMS Logo

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

plots related to one Diamond detector package More...

Public Member Functions

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

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
 
MonitorElementstripTomography210 = nullptr
 
MonitorElementstripTomography220 = nullptr
 
MonitorElementtirggerCellTime = nullptr
 

Detailed Description

plots related to one Diamond detector package

Definition at line 124 of file TotemTimingDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

TotemTimingDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 161 of file TotemTimingDQMSource.cc.

161 {};

◆ PotPlots() [2/2]

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

Definition at line 249 of file TotemTimingDQMSource.cc.

References CustomPhysics_cfi::amplitude, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), TotemTimingDQMSource::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, runGCPTkAlMap::title, and TotemTimingDQMSource::TOMOGRAPHY_RESOLUTION_MM.

249  {
252  ibooker.setCurrentFolder(path);
253 
255 
256  activityPerBX = ibooker.book1D("activity per BX CMS", title + " Activity per BX;Event.BX", 3600, -1.5, 3598. + 0.5);
257 
259  ibooker.book2D("digi distribution", title + " digi distribution;plane;channel", 10, -0.5, 4.5, 12, 0, 12);
260 
261  dataSamplesRaw = ibooker.book1D("raw Samples", title + " Raw Samples; ADC", 256, 0, 256);
262 
263  baseline = ibooker.book2D("baseline", title + " baseline (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
264  noiseRMS = ibooker.book2D("noise RMS", title + " noise RMS (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
265 
266  digiSent =
267  ibooker.book2D("digis sent", title + " digi sent (sampic);board + 0.5 sampic;channel", 14, -0.5, 6.5, 16, 0, 16);
268  digiAll =
269  ibooker.book2D("all digis", title + " all digis(sampic);board + 0.5 sampic;channel", 14, -0.5, 6.5, 16, 0, 16);
270  digiSentPercentage = ibooker.book2D("sent digis percentage",
271  title + " sent digis percentage (sampic);board + 0.5 sampic;channel",
272  14,
273  -0.5,
274  6.5,
275  16,
276  0,
277  16);
278 
279  hitDistribution2d = ibooker.book2D("hits in planes",
280  title + " hits in planes;plane number;x (mm)",
281  18,
282  -0.5,
283  4,
285  0,
286  15);
287  hitDistribution2dWithTime = ibooker.book2D("hits in planes with time",
288  title + " hits in planes with time;plane number;x (mm)",
289  18,
290  -0.5,
291  4,
293  0,
294  15);
295  hitDistribution2d_lumisection = ibooker.book2D("hits in planes lumisection",
296  title + " hits in planes in the last lumisection;plane number;x (mm)",
297  18,
298  -0.5,
299  4,
301  0,
302  15);
303 
304  recHitTime = ibooker.book1D("recHit time", title + " time in the recHits; t (ns)", 500, -25, 25);
305  amplitude = ibooker.book1D("amplitude", title + " amplitude above baseline; amplitude (V)", 50, 0, 1);
306  tirggerCellTime = ibooker.book1D("trigger cell time", title + " Trigger Cell Time; t (ns)", 390, -25, 25);
307  baselineRMS = ibooker.book2D("noise RMS", title + " noise RMS (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
308  meanAmplitude =
309  ibooker.book2D("mean amplitude", title + " Mean Amplitude (V);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
310  cellOfMax = ibooker.book2D("cell of max", title + " cell of max (0-23);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
311 
312  hitRate = ibooker.book2D("hit rate", title + " hit rate (Hz);plane;channel", 10, -0.5, 4.5, 12, 0, 12);
313 
314  planesWithDigis = ibooker.book1D(
315  "active planes digis", title + " active planes with digis sent (per event);number of active planes", 6, -0.5, 5.5);
316  planesWithTime = ibooker.book1D(
317  "active planes with time", title + " active planes with time (per event);number of active planes", 6, -0.5, 5.5);
318 
319  // trackDistribution = ibooker.book1D( "tracks", title+" tracks;x (mm)",
320  // 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 ); //TODO needs tracks
321 
323  ibooker.book2D("tomography 210",
324  title + " tomography (only with time) with strips 210 (all planes);x + 50*plane(mm);y (mm)",
326  -20,
327  170,
329  0,
330  25);
332  ibooker.book2D("tomography 220",
333  title + " tomography (only with time) with strips 220 (all planes);x + 50*plane(mm);y (mm)",
335  -20,
336  170,
338  0,
339  25);
340 }
static const double INV_DISPLAY_RESOLUTION_FOR_HITS_MM
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
static const double TOMOGRAPHY_RESOLUTION_MM
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:128
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
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
Detector ID class for CTPPS Totem Timing detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits ...

Member Data Documentation

◆ activityPerBX

MonitorElement* TotemTimingDQMSource::PotPlots::activityPerBX = nullptr

Definition at line 126 of file TotemTimingDQMSource.cc.

◆ amplitude

MonitorElement* TotemTimingDQMSource::PotPlots::amplitude = nullptr

Definition at line 142 of file TotemTimingDQMSource.cc.

◆ baseline

MonitorElement* TotemTimingDQMSource::PotPlots::baseline = nullptr

Definition at line 129 of file TotemTimingDQMSource.cc.

◆ baselineRMS

MonitorElement* TotemTimingDQMSource::PotPlots::baselineRMS = nullptr

Definition at line 143 of file TotemTimingDQMSource.cc.

◆ cellOfMax

MonitorElement* TotemTimingDQMSource::PotPlots::cellOfMax = nullptr

Definition at line 146 of file TotemTimingDQMSource.cc.

◆ dataSamplesRaw

MonitorElement* TotemTimingDQMSource::PotPlots::dataSamplesRaw = nullptr

Definition at line 128 of file TotemTimingDQMSource.cc.

◆ digiAll

MonitorElement* TotemTimingDQMSource::PotPlots::digiAll = nullptr

Definition at line 133 of file TotemTimingDQMSource.cc.

◆ digiDistribution

MonitorElement* TotemTimingDQMSource::PotPlots::digiDistribution = nullptr

Definition at line 127 of file TotemTimingDQMSource.cc.

◆ digiSent

MonitorElement* TotemTimingDQMSource::PotPlots::digiSent = nullptr

Definition at line 132 of file TotemTimingDQMSource.cc.

◆ digiSentPercentage

MonitorElement* TotemTimingDQMSource::PotPlots::digiSentPercentage = nullptr

Definition at line 134 of file TotemTimingDQMSource.cc.

◆ hitDistribution2d

MonitorElement* TotemTimingDQMSource::PotPlots::hitDistribution2d = nullptr

Definition at line 137 of file TotemTimingDQMSource.cc.

◆ hitDistribution2d_lumisection

MonitorElement* TotemTimingDQMSource::PotPlots::hitDistribution2d_lumisection = nullptr

Definition at line 139 of file TotemTimingDQMSource.cc.

◆ hitDistribution2dWithTime

MonitorElement* TotemTimingDQMSource::PotPlots::hitDistribution2dWithTime = nullptr

Definition at line 138 of file TotemTimingDQMSource.cc.

◆ hitRate

MonitorElement* TotemTimingDQMSource::PotPlots::hitRate = nullptr

Definition at line 148 of file TotemTimingDQMSource.cc.

◆ meanAmplitude

MonitorElement* TotemTimingDQMSource::PotPlots::meanAmplitude = nullptr

Definition at line 145 of file TotemTimingDQMSource.cc.

◆ noiseRMS

MonitorElement* TotemTimingDQMSource::PotPlots::noiseRMS = nullptr

Definition at line 130 of file TotemTimingDQMSource.cc.

◆ planesWithDigis

MonitorElement* TotemTimingDQMSource::PotPlots::planesWithDigis = nullptr

Definition at line 150 of file TotemTimingDQMSource.cc.

◆ planesWithDigisSet

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

Definition at line 158 of file TotemTimingDQMSource.cc.

◆ planesWithTime

MonitorElement* TotemTimingDQMSource::PotPlots::planesWithTime = nullptr

Definition at line 151 of file TotemTimingDQMSource.cc.

◆ planesWithTimeSet

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

Definition at line 159 of file TotemTimingDQMSource.cc.

◆ recHitTime

MonitorElement* TotemTimingDQMSource::PotPlots::recHitTime = nullptr

Definition at line 141 of file TotemTimingDQMSource.cc.

◆ stripTomography210

MonitorElement* TotemTimingDQMSource::PotPlots::stripTomography210 = nullptr

Definition at line 155 of file TotemTimingDQMSource.cc.

◆ stripTomography220

MonitorElement* TotemTimingDQMSource::PotPlots::stripTomography220 = nullptr

Definition at line 156 of file TotemTimingDQMSource.cc.

◆ tirggerCellTime

MonitorElement* TotemTimingDQMSource::PotPlots::tirggerCellTime = nullptr

Definition at line 144 of file TotemTimingDQMSource.cc.