CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes
TotemT2DQMSource::SectorPlots Struct Reference

Public Member Functions

 SectorPlots ()=default
 
 SectorPlots (DQMStore::IBooker &ibooker, unsigned int id, unsigned int nbinsx, unsigned int nbinsy, unsigned int windowsNum)
 

Public Attributes

MonitorElementactivePlanes = nullptr
 
MonitorElementactivePlanesCount = nullptr
 
std::bitset<(TotemT2DetId::maxPlane+1) *(TotemT2DetId::maxChannel+1)> hitTilesArray
 
MonitorElementleadingEdge = nullptr
 
MonitorElementtimeOverTreshold = nullptr
 
MonitorElementtrailingEdge = nullptr
 
MonitorElementtriggerEmulator = nullptr
 

Static Public Attributes

static const unsigned int MINIMAL_TRIGGER = 3
 

Detailed Description

Definition at line 63 of file TotemT2DQMSource.cc.

Constructor & Destructor Documentation

◆ SectorPlots() [1/2]

TotemT2DQMSource::SectorPlots::SectorPlots ( )
default

◆ SectorPlots() [2/2]

TotemT2DQMSource::SectorPlots::SectorPlots ( DQMStore::IBooker ibooker,
unsigned int  id,
unsigned int  nbinsx,
unsigned int  nbinsy,
unsigned int  windowsNum 
)

Definition at line 90 of file TotemT2DQMSource.cc.

References activePlanes, activePlanesCount, CTPPSDetId::armName(), dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2DD(), leadingEdge, totemT2DQMSource_cfi::nbinsx, totemT2DQMSource_cfi::nbinsy, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timeOverTreshold, runGCPTkAlMap::title, trailingEdge, triggerEmulator, and totemT2DQMSource_cfi::windowsNum.

91  {
93 
95  ibooker.setCurrentFolder(path);
96 
98 
99  activePlanes = ibooker.book1D("active planes", title + " which planes are active;plane number", 8, -0.5, 7.5);
100 
101  activePlanesCount = ibooker.book1D(
102  "number of active planes", title + " how many planes are active;number of active planes", 9, -0.5, 8.5);
103 
104  triggerEmulator = ibooker.book2DD("trigger emulator",
105  title + " trigger emulator;arbitrary unit;arbitrary unit",
106  nbinsx,
107  -0.5,
108  double(nbinsx) - 0.5,
109  nbinsy,
110  -0.5,
111  double(nbinsy) - 0.5);
112  leadingEdge = ibooker.book1D(
113  "leading edge", title + " leading edge (DIGIs); leading edge (ns)", 25 * windowsNum, 0, 25 * windowsNum);
114  trailingEdge = ibooker.book1D(
115  "trailing edge", title + " trailing edge (DIGIs); trailing edge (ns)", 25 * windowsNum, 0, 25 * windowsNum);
116 
117  timeOverTreshold = ibooker.book1D(
118  "time over threshold", title + " time over threshold (rechit);time over threshold (ns)", 250, -25, 100);
119 }
Detector ID class for Totem T2 detectors. Bits [19:31] : Base CTPPSDetId class attributes Bits [16:18...
Definition: TotemT2DetId.h:25
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
void armName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:98
MonitorElement * book2DD(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:338
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98

Member Data Documentation

◆ activePlanes

MonitorElement* TotemT2DQMSource::SectorPlots::activePlanes = nullptr

Definition at line 64 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().

◆ activePlanesCount

MonitorElement* TotemT2DQMSource::SectorPlots::activePlanesCount = nullptr

Definition at line 65 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().

◆ hitTilesArray

std::bitset<(TotemT2DetId::maxPlane + 1) * (TotemT2DetId::maxChannel + 1)> TotemT2DQMSource::SectorPlots::hitTilesArray

Definition at line 68 of file TotemT2DQMSource.cc.

◆ leadingEdge

MonitorElement* TotemT2DQMSource::SectorPlots::leadingEdge = nullptr

Definition at line 71 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().

◆ MINIMAL_TRIGGER

const unsigned int TotemT2DQMSource::SectorPlots::MINIMAL_TRIGGER = 3
static

Definition at line 69 of file TotemT2DQMSource.cc.

Referenced by TotemT2DQMSource::areChannelsTriggered().

◆ timeOverTreshold

MonitorElement * TotemT2DQMSource::SectorPlots::timeOverTreshold = nullptr

Definition at line 71 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().

◆ trailingEdge

MonitorElement * TotemT2DQMSource::SectorPlots::trailingEdge = nullptr

Definition at line 71 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().

◆ triggerEmulator

MonitorElement* TotemT2DQMSource::SectorPlots::triggerEmulator = nullptr

Definition at line 67 of file TotemT2DQMSource.cc.

Referenced by SectorPlots().