CMS 3D CMS Logo

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

plots related to one Diamond detector package More...

Public Member Functions

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

Public Attributes

MonitorElementactivePlanes = NULL
 
MonitorElementactivity_per_bx = NULL
 
MonitorElementactivity_per_bx_minus1 = NULL
 
MonitorElementactivity_per_bx_plus1 = NULL
 
MonitorElementclock_Digi1_le = NULL
 
MonitorElementclock_Digi1_te = NULL
 
MonitorElementclock_Digi3_le = NULL
 
MonitorElementclock_Digi3_te = NULL
 
MonitorElementECCheck = NULL
 
MonitorElementhitDistribution2d = NULL
 
MonitorElementhitDistribution2dOOT = NULL
 
MonitorElementhitDistribution2dOOT_le = NULL
 
MonitorElementhitDistribution2dOOT_te = NULL
 
MonitorElementHPTDCErrorFlags_cumulative = NULL
 
MonitorElementleadingEdgeCumulative_both = NULL
 
MonitorElementleadingEdgeCumulative_le = NULL
 
MonitorElementleadingTrailingCorrelationPot = NULL
 
MonitorElementleadingWithoutTrailingCumulativePot = NULL
 
MonitorElementstripTomographyAllFar = NULL
 
MonitorElementstripTomographyAllFar_minus1 = NULL
 
MonitorElementstripTomographyAllFar_plus1 = NULL
 
MonitorElementtimeOverThresholdCumulativePot = NULL
 
MonitorElementtrackDistribution = NULL
 
MonitorElementtrackDistributionOOT = NULL
 

Detailed Description

plots related to one Diamond detector package

Definition at line 95 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 127 of file CTPPSDiamondDQMSource.cc.

127 {};
CTPPSDiamondDQMSource::PotPlots::PotPlots ( DQMStore::IBooker ibooker,
unsigned int  id 
)

Definition at line 211 of file CTPPSDiamondDQMSource.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), HPTDCErrorFlags::getHPTDCErrorName(), MonitorElement::getTH1F(), CTPPSDiamondDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM, CTPPSDetId::nFull, CTPPSDetId::nPath, callgraph::path, CTPPSDetId::rpName(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.

212 {
215  ibooker.setCurrentFolder( path );
216 
218 
219  activity_per_bx = ibooker.book1D( "activity per BX", title+" activity per BX;Event.BX", 4002, -1.5, 4000. + 0.5 );
220  activity_per_bx_plus1 = ibooker.book1D( "activity per BX OOT +1", title+" activity per BX OOT +1;Event.BX", 4002, -1.5, 4000. + 0.5 );
221  activity_per_bx_minus1 = ibooker.book1D( "activity per BX OOT -1", title+" activity per BX OOT -1;Event.BX", 4002, -1.5, 4000. + 0.5 );
222 
223  hitDistribution2d = ibooker.book2D( "hits in planes", title+" hits in planes;plane number;x (mm)", 10, -0.5, 4.5, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
224  hitDistribution2dOOT= ibooker.book2D( "hits with OOT in planes", title+" hits with OOT in planes;plane number + 0.1 OOT;x (mm)", 41, -0.1, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
225  hitDistribution2dOOT_le= ibooker.book2D( "hits with OOT in planes (le only)", title+" hits with OOT in planes (le only);plane number + 0.1 OOT;x (mm)", 41, -0.1, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
226  hitDistribution2dOOT_te= ibooker.book2D( "hits with OOT in planes (te only)", title+" hits with OOT in planes (te only);plane number + 0.1 OOT;x (mm)", 41, -0.1, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
227  activePlanes = ibooker.book1D( "active planes", title+" active planes;number of active planes", 6, -0.5, 5.5 );
228 
229  trackDistribution = ibooker.book1D( "tracks", title+" tracks;x (mm)", 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
230  trackDistributionOOT = ibooker.book2D( "tracks with OOT", title+" tracks with OOT;plane number;x (mm)", 9, -0.5, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -1, 18 );
231 
232  stripTomographyAllFar = ibooker.book2D( "tomography all far", title+" tomography with strips far (all planes);x + 25*plane(mm);y (mm)", 100, 0, 100, 24, -2, 10 );
233  stripTomographyAllFar_plus1 = ibooker.book2D( "tomography all far OOT +1", title+" tomography with strips far (all planes);x + 25*plane(mm);y (mm)", 100, 0, 100, 24, -2, 10 );
234  stripTomographyAllFar_minus1 = ibooker.book2D( "tomography all far OOT -1", title+" tomography with strips far (all planes);x + 25*plane(mm);y (mm)", 100, 0, 100, 24, -2, 10 );
235 
236  leadingEdgeCumulative_both = ibooker.book1D( "leading edge (le and te)", title+" leading edge (le and te); leading edge (ns)", 125, 0, 125 );
237  leadingEdgeCumulative_le = ibooker.book1D( "leading edge (le only)", title+" leading edge (le only); leading edge (ns)", 125, 0, 125 );
238  timeOverThresholdCumulativePot = ibooker.book1D( "time over threshold", title+" time over threshold;time over threshold (ns)", 100, -100, 100 );
239  leadingTrailingCorrelationPot = ibooker.book2D( "leading trailing correlation", title+" leading trailing correlation;leading edge (ns);trailing edge (ns)", 100, 0, 100, 100, 0, 100 );
240 
241  leadingWithoutTrailingCumulativePot = ibooker.book1D( "leading edges without trailing", title+" leading edges without trailing;leading edges without trailing", 4, 0.5, 4.5 );
242  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 1, "Nothing" );
243  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 2, "Leading only" );
244  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 3, "Trailing only" );
245  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 4, "Both" );
246 
247  ECCheck = ibooker.book1D( "optorxEC(8bit) - vfatEC", title+" EC Error;optorxEC-vfatEC", 512, -256, 256 );
248 
249  HPTDCErrorFlags_cumulative = ibooker.book1D( "HPTDC Errors", title+" HPTDC Errors", 16, -0.5, 16.5 );
250  for ( unsigned short error_index=1; error_index<16; ++error_index )
251  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( error_index, HPTDCErrorFlags::getHPTDCErrorName( error_index-1 ).c_str() );
252  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( 16, "MH" );
253 
254 
255  ibooker.setCurrentFolder( path+"/clock/" );
256  clock_Digi1_le = ibooker.book1D( "clock1 leading edge", title+" clock1;leading edge (ns)", 125, 0, 125 );
257  clock_Digi1_te = ibooker.book1D( "clock1 trailing edge", title+" clock1;trailing edge (ns)", 125, 0, 125 );
258  clock_Digi3_le = ibooker.book1D( "clock3 leading edge", title+" clock3;leading edge (ns)", 1000, 0, 125 );
259  clock_Digi3_te = ibooker.book1D( "clock3 trailing edge", title+" clock3;trailing edge (ns)", 125, 0, 125 );
260 }
MonitorElement * leadingWithoutTrailingCumulativePot
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:139
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
static const double INV_DISPLAY_RESOLUTION_FOR_HITS_MM
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
TH1F * getTH1F(void) const
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
static std::string getHPTDCErrorName(const unsigned short id)

Member Data Documentation

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activePlanes = NULL

Definition at line 105 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx = NULL

Definition at line 97 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_minus1 = NULL

Definition at line 99 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_plus1 = NULL

Definition at line 98 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_le = NULL

Definition at line 122 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_te = NULL

Definition at line 123 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_le = NULL

Definition at line 124 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_te = NULL

Definition at line 125 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::ECCheck = NULL

Definition at line 118 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d = NULL

Definition at line 101 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT = NULL

Definition at line 102 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_le = NULL

Definition at line 103 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_te = NULL

Definition at line 104 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_cumulative = NULL

Definition at line 120 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_both = NULL

Definition at line 114 of file CTPPSDiamondDQMSource.cc.

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_le = NULL

Definition at line 114 of file CTPPSDiamondDQMSource.cc.

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingTrailingCorrelationPot = NULL

Definition at line 115 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingWithoutTrailingCumulativePot = NULL

Definition at line 116 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::stripTomographyAllFar = NULL

Definition at line 110 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::stripTomographyAllFar_minus1 = NULL

Definition at line 112 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::stripTomographyAllFar_plus1 = NULL

Definition at line 111 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::timeOverThresholdCumulativePot = NULL

Definition at line 115 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistribution = NULL

Definition at line 107 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistributionOOT = NULL

Definition at line 108 of file CTPPSDiamondDQMSource.cc.