CMS 3D CMS Logo

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

plots related to one Diamond channel More...

Public Member Functions

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

Public Attributes

MonitorElementactivity_per_bx = NULL
 
MonitorElementactivity_per_bx_minus1 = NULL
 
MonitorElementactivity_per_bx_plus1 = NULL
 
MonitorElementECCheckPerChannel = NULL
 
MonitorElementhit_rate = NULL
 
unsigned long hitsCounterPerLumisection
 
MonitorElementHPTDCErrorFlags = NULL
 
MonitorElementleadingEdgeCumulative_both = NULL
 
MonitorElementleadingEdgeCumulative_le = NULL
 
MonitorElementLeadingTrailingCorrelationPerChannel = NULL
 
MonitorElementleadingWithoutTrailing = NULL
 
MonitorElementstripTomography_far = NULL
 
MonitorElementTimeOverThresholdCumulativePerChannel = NULL
 

Detailed Description

plots related to one Diamond channel

Definition at line 150 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots ( )
inline

Definition at line 166 of file CTPPSDiamondDQMSource.cc.

CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots ( DQMStore::IBooker ibooker,
unsigned int  id 
)

Definition at line 281 of file CTPPSDiamondDQMSource.cc.

References activity_per_bx, activity_per_bx_minus1, activity_per_bx_plus1, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), CTPPSDiamondDetId::channelName(), ECCheckPerChannel, HPTDCErrorFlags::getHPTDCErrorName(), MonitorElement::getTH1F(), hit_rate, leadingEdgeCumulative_both, leadingEdgeCumulative_le, LeadingTrailingCorrelationPerChannel, leadingWithoutTrailing, CTPPSDetId::nFull, CTPPSDetId::nPath, callgraph::path, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, stripTomography_far, TimeOverThresholdCumulativePerChannel, and fftjetcommon_cfi::title.

282 {
285  ibooker.setCurrentFolder( path );
286 
288 
289  leadingWithoutTrailing = ibooker.book1D( "Leading Edges Without Trailing", title+" leading edges without trailing", 4, 0.5, 4.5 );
290  leadingWithoutTrailing->getTH1F()->GetXaxis()->SetBinLabel( 1, "Nothing" );
291  leadingWithoutTrailing->getTH1F()->GetXaxis()->SetBinLabel( 2, "Leading only" );
292  leadingWithoutTrailing->getTH1F()->GetXaxis()->SetBinLabel( 3, "Trailer only" );
293  leadingWithoutTrailing->getTH1F()->GetXaxis()->SetBinLabel( 4, "Full" );
294 
295  activity_per_bx = ibooker.book1D( "activity per BX", title+" activity per BX;Event.BX", 4002, -1.5, 4000. + 0.5 );
296  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 );
297  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 );
298 
299  HPTDCErrorFlags = ibooker.book1D( "hptdc_Errors", title+" HPTDC Errors", 16, -0.5, 16.5 );
300  for ( unsigned short error_index=1; error_index<16; ++error_index )
301  HPTDCErrorFlags->getTH1F()->GetXaxis()->SetBinLabel( error_index, HPTDCErrorFlags::getHPTDCErrorName( error_index-1 ).c_str() );
302  HPTDCErrorFlags->getTH1F()->GetXaxis()->SetBinLabel( 16, "MH" );
303 
304  leadingEdgeCumulative_both = ibooker.book1D( "leading edge (le and te)", title+" leading edge; leading edge (ns)", 100, 0, 200 );
305  leadingEdgeCumulative_le = ibooker.book1D( "leading edge (le only)", title+" leading edge; leading edge (ns)", 200, 0, 200 );
306  TimeOverThresholdCumulativePerChannel = ibooker.book1D( "time over threshold", title+" time over threshold;time over threshold (ns)", 100, -100, 100 );
307  LeadingTrailingCorrelationPerChannel = ibooker.book2D( "leading trailing correlation", title+" leading trailing correlation;leading edge (ns);trailing edge (ns)", 100, 0, 100, 100, 0, 100 );
308 
309  ECCheckPerChannel = ibooker.book1D("optorxEC(8bit) - vfatEC vs optorxEC", title+" EC Error;optorxEC-vfatEC", 512, -256, 256 );
310 
311  stripTomography_far = ibooker.book2D( "tomography far", "tomography with strips far;x + 25 OOT (mm);y (mm)", 150, -50, 100, 24, -2, 10 );
312 
313  hit_rate = ibooker.book1D( "hit rate", title+"hit rate;rate (Hz)", 10, 0, 100 );
314 }
void channelName(std::string &name, NameFlag flag=nFull) const
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
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::ChannelPlots::activity_per_bx = NULL

Definition at line 152 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::activity_per_bx_minus1 = NULL

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::activity_per_bx_plus1 = NULL

Definition at line 153 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::ECCheckPerChannel = NULL

Definition at line 163 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::hit_rate = NULL

Definition at line 162 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

unsigned long CTPPSDiamondDQMSource::ChannelPlots::hitsCounterPerLumisection

Definition at line 164 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::HPTDCErrorFlags = NULL

Definition at line 156 of file CTPPSDiamondDQMSource.cc.

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_both = NULL

Definition at line 157 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement * CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_le = NULL

Definition at line 157 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::LeadingTrailingCorrelationPerChannel = NULL

Definition at line 159 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::leadingWithoutTrailing = NULL

Definition at line 160 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::stripTomography_far = NULL

Definition at line 161 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::TimeOverThresholdCumulativePerChannel = NULL

Definition at line 158 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().