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 117 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 159 of file CTPPSDiamondDQMSource.cc.

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

Definition at line 250 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.

250  : HitCounter(0), MHCounter(0), LeadingOnlyCounter(0), TrailingOnlyCounter(0), CompleteCounter(0), pixelTracksMap("Pixel track maps for efficiency", "Pixel track maps for efficiency", 27, -2, 25, 18, -4, 14 )
251 {
254  ibooker.setCurrentFolder( path );
255 
257 
258  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 );
260  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 );
262  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 );
264 
265  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 );
266  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 );
267  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 );
268  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 );
269  activePlanes = ibooker.book1D( "active planes", title+" active planes (per event);number of active planes", 6, -0.5, 5.5 );
270  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 );
271 
272  trackDistribution = ibooker.book1D( "tracks", title+" tracks;x (mm)", 19.*INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5 );
273  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 );
274 
275  pixelTomographyAll_0_25 = ibooker.book2D( "tomography pixel 0 25", title+" tomography with pixel 0 - 25 ns (all planes);x + 25*plane(mm);y (mm)", 100, -2, 98, 12, -2, 10 );
277  pixelTomographyAll_25_50 = ibooker.book2D( "tomography pixel 25 50", title+" tomography with pixel 25 - 50 ns (all planes);x + 25*plane(mm);y (mm)", 100, -2, 98, 12, -2, 10 );
279  pixelTomographyAll_50_75 = ibooker.book2D( "tomography pixel 50 75", title+" tomography with pixel 50 - 75 ns (all planes);x + 25*plane(mm);y (mm)", 100, -2, 98, 12, -2, 10 );
281 
282  leadingEdgeCumulative_both = ibooker.book1D( "leading edge (le and te)", title+" leading edge (le and te) (recHits); leading edge (ns)", 125, 0, 125 );
283  leadingEdgeCumulative_all = ibooker.book1D( "leading edge (all)", title+" leading edge (all) (DIGIs); leading edge (ns)", 125, 0, 125 );
284  leadingEdgeCumulative_le = ibooker.book1D( "leading edge (le only)", title+" leading edge (le only) (DIGIs); leading edge (ns)", 125, 0, 125 );
285  trailingEdgeCumulative_te = ibooker.book1D( "trailing edge (te only)", title+" trailing edge (te only) (DIGIs); trailing edge (ns)", 125, 0, 125 );
286  timeOverThresholdCumulativePot = ibooker.book1D( "time over threshold", title+" time over threshold;time over threshold (ns)", 250, -25, 100 );
287  leadingTrailingCorrelationPot = ibooker.book2D( "leading trailing correlation", title+" leading trailing correlation;leading edge (ns);trailing edge (ns)", 75, 0, 75, 75, 0, 75 );
288 
289  leadingWithoutTrailingCumulativePot = ibooker.book1D( "event category", title+" leading edges without trailing;;%", 3, 0.5, 3.5 );
290  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 1, "Leading only" );
291  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 2, "Trailing only" );
292  leadingWithoutTrailingCumulativePot->getTH1F()->GetXaxis()->SetBinLabel( 3, "Both" );
293 
294  ECCheck = ibooker.book1D( "optorxEC(8bit) - vfatEC", title+" EC Error;optorxEC-vfatEC", 128, -64, 64 );
295 
296  HPTDCErrorFlags_cumulative = ibooker.book1D( "HPTDC Errors", title+" HPTDC Errors", 16, -0.5, 16.5 );
297  for ( unsigned short error_index=1; error_index<16; ++error_index )
298  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( error_index, HPTDCErrorFlags::getHPTDCErrorName( error_index-1 ).c_str() );
299  HPTDCErrorFlags_cumulative->getTH1F()->GetXaxis()->SetBinLabel( 16, "MH (%)" );
300 
301  MHComprensive = ibooker.book2D( "MH in channels", title+" MH (%) in channels;plane number;ch number", 10, -0.5, 4.5, 14, -1, 13 );
302 
303  EfficiencyOfChannelsInPot = ibooker.book2D( "Efficiency in channels", title+" Efficiency (%) in channels (diamonds only);plane number;ch number", 10, -0.5, 4.5, 14, -1, 13 );
304 
305  ibooker.setCurrentFolder( path+"/clock/" );
306  clock_Digi1_le = ibooker.book1D( "clock1 leading edge", title+" clock1;leading edge (ns)", 1250, 0, 125 );
307  clock_Digi1_te = ibooker.book1D( "clock1 trailing edge", title+" clock1;trailing edge (ns)", 75, 0, 75 );
308  clock_Digi3_le = ibooker.book1D( "clock3 leading edge", title+" clock3;leading edge (ns)", 1250, 0, 125 );
309  clock_Digi3_te = ibooker.book1D( "clock3 trailing edge", title+" clock3;trailing edge (ns)", 75, 0, 75 );
310 
311 }
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 128 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::activePlanesInclusive = 0

Definition at line 128 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

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

Definition at line 122 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_0_25 = 0

Definition at line 119 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_25_50 = 0

Definition at line 120 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activity_per_bx_50_75 = 0

Definition at line 121 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_le = 0

Definition at line 147 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi1_te = 0

Definition at line 148 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_le = 0

Definition at line 149 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::clock_Digi3_te = 0

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::CompleteCounter

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::ECCheck = 0

Definition at line 142 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

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

Definition at line 155 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::EfficiencyOfChannelsInPot = 0

Definition at line 156 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

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

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

unsigned int CTPPSDiamondDQMSource::PotPlots::HitCounter

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d = 0

Definition at line 124 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d_lumisection = 0

Definition at line 125 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT = 0

Definition at line 126 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_le = 0

Definition at line 127 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_cumulative = 0

Definition at line 144 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_all = 0

Definition at line 138 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_both = 0

Definition at line 138 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_le = 0

Definition at line 138 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::LeadingOnlyCounter

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingTrailingCorrelationPot = 0

Definition at line 139 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingWithoutTrailingCumulativePot = 0

Definition at line 140 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::MHComprensive = 0

Definition at line 145 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::MHCounter

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

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

Definition at line 136 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_0_25 = 0

Definition at line 133 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_25_50 = 0

Definition at line 134 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll_50_75 = 0

Definition at line 135 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

TH2F CTPPSDiamondDQMSource::PotPlots::pixelTracksMap

Definition at line 157 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::PotPlots::timeOverThresholdCumulativePot = 0

Definition at line 139 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistribution = 0

Definition at line 130 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistributionOOT = 0

Definition at line 131 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

MonitorElement * CTPPSDiamondDQMSource::PotPlots::trailingEdgeCumulative_te = 0

Definition at line 138 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

unsigned int CTPPSDiamondDQMSource::PotPlots::TrailingOnlyCounter

Definition at line 152 of file CTPPSDiamondDQMSource.cc.