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 = 0
 
MonitorElementactivePlanesInclusive = 0
 
std::vector< MonitorElement * > activity_per_bx
 
MonitorElementactivity_per_bx_0_25 = 0
 
MonitorElementactivity_per_bx_25_50 = 0
 
MonitorElementactivity_per_bx_50_75 = 0
 
MonitorElementclock_Digi1_le = 0
 
MonitorElementclock_Digi1_te = 0
 
MonitorElementclock_Digi3_le = 0
 
MonitorElementclock_Digi3_te = 0
 
unsigned int CompleteCounter
 
MonitorElementECCheck = 0
 
std::map< int, int > effDoublecountingChMap
 
MonitorElementEfficiencyOfChannelsInPot = 0
 
std::map< int, int > effTriplecountingChMap
 
unsigned int HitCounter
 
MonitorElementhitDistribution2d = 0
 
MonitorElementhitDistribution2d_lumisection = 0
 
MonitorElementhitDistribution2dOOT = 0
 
MonitorElementhitDistribution2dOOT_le = 0
 
MonitorElementHPTDCErrorFlags_cumulative = 0
 
MonitorElementleadingEdgeCumulative_all = 0
 
MonitorElementleadingEdgeCumulative_both = 0
 
MonitorElementleadingEdgeCumulative_le = 0
 
unsigned int LeadingOnlyCounter
 
MonitorElementleadingTrailingCorrelationPot = 0
 
MonitorElementleadingWithoutTrailingCumulativePot = 0
 
MonitorElementMHComprensive = 0
 
unsigned int MHCounter
 
std::vector< MonitorElement * > pixelTomographyAll
 
MonitorElementpixelTomographyAll_0_25 = 0
 
MonitorElementpixelTomographyAll_25_50 = 0
 
MonitorElementpixelTomographyAll_50_75 = 0
 
TH2F pixelTracksMap
 
MonitorElementtimeOverThresholdCumulativePot = 0
 
MonitorElementtrackDistribution = 0
 
MonitorElementtrackDistributionOOT = 0
 
MonitorElementtrailingEdgeCumulative_te = 0
 
unsigned int TrailingOnlyCounter
 

Detailed Description

plots related to one Diamond detector package

Definition at line 115 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 157 of file CTPPSDiamondDQMSource.cc.

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

Definition at line 237 of file CTPPSDiamondDQMSource.cc.

References activePlanes, activePlanesInclusive, activity_per_bx, activity_per_bx_0_25, activity_per_bx_25_50, activity_per_bx_50_75, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), clock_Digi1_le, clock_Digi1_te, clock_Digi3_le, clock_Digi3_te, ECCheck, EfficiencyOfChannelsInPot, HPTDCErrorFlags::getHPTDCErrorName(), MonitorElement::getTH1F(), hitDistribution2d, hitDistribution2d_lumisection, hitDistribution2dOOT, hitDistribution2dOOT_le, HPTDCErrorFlags_cumulative, CTPPSDiamondDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM, leadingEdgeCumulative_all, leadingEdgeCumulative_both, leadingEdgeCumulative_le, leadingTrailingCorrelationPot, leadingWithoutTrailingCumulativePot, MHComprensive, CTPPSDetId::nFull, CTPPSDetId::nPath, callgraph::path, pixelTomographyAll, pixelTomographyAll_0_25, pixelTomographyAll_25_50, pixelTomographyAll_50_75, CTPPSDetId::rpName(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timeOverThresholdCumulativePot, fftjetcommon_cfi::title, trackDistribution, trackDistributionOOT, and trailingEdgeCumulative_te.

237  : HitCounter(0), MHCounter(0), LeadingOnlyCounter(0), TrailingOnlyCounter(0), CompleteCounter(0), pixelTracksMap("Pixel track maps for efficiency", "Pixel track maps for efficiency", 25, 0, 25, 12, -2, 10 )
238 {
241  ibooker.setCurrentFolder( path );
242 
244 
245  activity_per_bx_0_25 = ibooker.book1D( "activity per BX 0 25", title+" Activity per BX 0 - 25 ns;Event.BX", 3600, -1.5, 3598. + 0.5 );
247  activity_per_bx_25_50 = ibooker.book1D( "activity per BX 25 50", title+" Activity per BX 25 - 50 ns;Event.BX", 3600, -1.5, 3598. + 0.5 );
249  activity_per_bx_50_75 = ibooker.book1D( "activity per BX 50 75", title+" Activity per BX 50 - 75 ns;Event.BX", 3600, -1.5, 3598. + 0.5 );
251 
252  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, -0.5, 18.5 );
253  hitDistribution2d_lumisection = ibooker.book2D( "hits in planes lumisection", title+" hits in planes in the last lumisection;plane number;x (mm)", 10, -0.5, 4.5, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5 );
254  hitDistribution2dOOT= ibooker.book2D( "hits with OOT in planes", title+" hits with OOT in planes;plane number + 0.25 OOT;x (mm)", 17, -0.25, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5 );
255  hitDistribution2dOOT_le= ibooker.book2D( "hits with OOT in planes (le only)", title+" hits with OOT in planes (le only);plane number + 0.25 OOT;x (mm)", 17, -0.25, 4, 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5 );
256  activePlanes = ibooker.book1D( "active planes", title+" active planes (per event);number of active planes", 6, -0.5, 5.5 );
257  activePlanesInclusive = ibooker.book1D( "active planes inclusive", title+" active planes, MH and le only included (per event);number of active planes", 6, -0.5, 5.5 );
258 
259  trackDistribution = ibooker.book1D( "tracks", title+" tracks;x (mm)", 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5 );
260  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, -0.5, 18.5 );
261 
262  pixelTomographyAll_0_25 = ibooker.book2D( "tomography pixel 0 25", title+" tomography with pixel 0 - 25 ns (all planes);x + 25*plane(mm);y (mm)", 75, 0, 75, 8, 0, 8 );
264  pixelTomographyAll_25_50 = ibooker.book2D( "tomography pixel 25 50", title+" tomography with pixel 25 - 50 ns (all planes);x + 25*plane(mm);y (mm)", 75, 0, 75, 8, 0, 8 );
266  pixelTomographyAll_50_75 = ibooker.book2D( "tomography pixel 50 75", title+" tomography with pixel 50 - 75 ns (all planes);x + 25*plane(mm);y (mm)", 75, 0, 75, 8, 0, 8 );
268 
269  leadingEdgeCumulative_both = ibooker.book1D( "leading edge (le and te)", title+" leading edge (le and te) (recHits); leading edge (ns)", 75, 0, 75 );
270  leadingEdgeCumulative_all = ibooker.book1D( "leading edge (all)", title+" leading edge (with or without te) (DIGIs); leading edge (ns)", 75, 0, 75 );
271  leadingEdgeCumulative_le = ibooker.book1D( "leading edge (le only)", title+" leading edge (le only) (DIGIs); leading edge (ns)", 75, 0, 75 );
272  trailingEdgeCumulative_te = ibooker.book1D( "trailing edge (te only)", title+" trailing edge (te only) (DIGIs); trailing edge (ns)", 75, 0, 75 );
273  timeOverThresholdCumulativePot = ibooker.book1D( "time over threshold", title+" time over threshold;time over threshold (ns)", 250, -25, 100 );
274  leadingTrailingCorrelationPot = ibooker.book2D( "leading trailing correlation", title+" leading trailing correlation;leading edge (ns);trailing edge (ns)", 75, 0, 75, 75, 0, 75 );
275 
276  leadingWithoutTrailingCumulativePot = ibooker.book1D( "event category", title+" leading edges without trailing;;%", 3, 0.5, 3.5 );
277  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 1, "Leading only" );
278  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 2, "Trailing only" );
279  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 3, "Both" );
280 
281  ECCheck = ibooker.book1D( "optorxEC(8bit) - vfatEC", title+" EC Error;optorxEC-vfatEC", 10,-5, 5 );
282 
283  HPTDCErrorFlags_cumulative = ibooker.book1D( "HPTDC Errors", title+" HPTDC Errors", 16, -0.5, 16.5 );
284  for ( unsigned short error_index=1; error_index<16; ++error_index )
285  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( error_index, HPTDCErrorFlags::getHPTDCErrorName( error_index-1 ).c_str() );
286  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( 16, "MH (%)" );
287 
288  MHComprensive = ibooker.book2D( "MH in channels", title+" MH (%) in channels;plane number;ch number", 10, -0.5, 4.5, 14, -1, 13 );
289 
290  EfficiencyOfChannelsInPot = ibooker.book2D( "Efficiency in channels", title+" Efficiency (%) in channels (diamonds only);plane number;ch number", 10, -0.5, 4.5, 14, -1, 13 );
291 
292  ibooker.setCurrentFolder( path+"/clock/" );
293  clock_Digi1_le = ibooker.book1D( "clock1 leading edge", title+" clock1;leading edge (ns)", 250, 0, 25 );
294  clock_Digi1_te = ibooker.book1D( "clock1 trailing edge", title+" clock1;trailing edge (ns)", 75, 0, 75 );
295  clock_Digi3_le = ibooker.book1D( "clock3 leading edge", title+" clock3;leading edge (ns)", 250, 0, 25 );
296  clock_Digi3_te = ibooker.book1D( "clock3 trailing edge", title+" clock3;trailing edge (ns)", 75, 0, 75 );
297 
298 }
std::vector< MonitorElement * > activity_per_bx
TH1F * getTH1F() const
MonitorElement * leadingWithoutTrailingCumulativePot
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:139
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
static const double INV_DISPLAY_RESOLUTION_FOR_HITS_MM
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
std::vector< MonitorElement * > pixelTomographyAll
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 = 0

Definition at line 126 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::activePlanesInclusive = 0

Definition at line 126 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

std::vector< MonitorElement* > CTPPSDiamondDQMSource::PotPlots::activity_per_bx

Definition at line 120 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_0_25 = 0

Definition at line 117 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_25_50 = 0

Definition at line 118 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_50_75 = 0

Definition at line 119 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_le = 0

Definition at line 145 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_te = 0

Definition at line 146 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_le = 0

Definition at line 147 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_te = 0

Definition at line 148 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::CompleteCounter

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::ECCheck = 0

Definition at line 140 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

std::map<int, int> CTPPSDiamondDQMSource::PotPlots::effDoublecountingChMap

Definition at line 153 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::EfficiencyOfChannelsInPot = 0

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

std::map<int, int> CTPPSDiamondDQMSource::PotPlots::effTriplecountingChMap

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

unsigned int CTPPSDiamondDQMSource::PotPlots::HitCounter

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d = 0

Definition at line 122 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d_lumisection = 0

Definition at line 123 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT = 0

Definition at line 124 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_le = 0

Definition at line 125 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_cumulative = 0

Definition at line 142 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_all = 0

Definition at line 136 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_both = 0

Definition at line 136 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_le = 0

Definition at line 136 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::LeadingOnlyCounter

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingTrailingCorrelationPot = 0

Definition at line 137 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingWithoutTrailingCumulativePot = 0

Definition at line 138 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::MHComprensive = 0

Definition at line 143 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::MHCounter

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

std::vector< MonitorElement* > CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll

Definition at line 134 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_0_25 = 0

Definition at line 131 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_25_50 = 0

Definition at line 132 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_50_75 = 0

Definition at line 133 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

TH2F CTPPSDiamondDQMSource::PotPlots::pixelTracksMap

Definition at line 155 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::timeOverThresholdCumulativePot = 0

Definition at line 137 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistribution = 0

Definition at line 128 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistributionOOT = 0

Definition at line 129 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::trailingEdgeCumulative_te = 0

Definition at line 136 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::TrailingOnlyCounter

Definition at line 150 of file CTPPSDiamondDQMSource.cc.