|
|
#include <RPCOccupancyTest.h>
Definition at line 12 of file RPCOccupancyTest.h.
◆ RPCOccupancyTest()
◆ ~RPCOccupancyTest()
RPCOccupancyTest::~RPCOccupancyTest |
( |
| ) |
|
|
override |
◆ beginJob()
void RPCOccupancyTest::beginJob |
( |
std::string & |
workingFolder | ) |
|
|
overridevirtual |
◆ clientOperation()
void RPCOccupancyTest::clientOperation |
( |
| ) |
|
|
overridevirtual |
◆ fillGlobalME()
Definition at line 123 of file RPCOccupancyTest.cc.
129 if (detId.
region() == 0) {
143 if (detId.
region() == 0) {
150 xBin = RPCServ.segment();
157 float FOccupancy = 0;
158 float BOccupancy = 0;
163 if (stripEntries > 0) {
166 if (
strip <= stripInRoll / 2) {
175 asym = fabs((FOccupancy - BOccupancy) / totEnt);
References AsyMeDisk, AsyMeWheel, rpcdqm::utils::detId2RollNr(), dqmMemoryStats::float, dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getEntries(), dqm::impl::MonitorElement::getNbinsX(), numberOfDisks_, numberOfRings_, RPCDetId::region(), RPCDetId::ring(), RPCDetId::roll(), RPCDetId::sector(), RPCGeomServ::segment(), dqm::impl::MonitorElement::setBinContent(), RPCDetId::station(), digitizers_cfi::strip, totalActive_, totalStrips_, photonAnalyzer_cfi::xBin, and photonAnalyzer_cfi::yBin.
Referenced by clientOperation().
◆ getMonitorElements()
void RPCOccupancyTest::getMonitorElements |
( |
std::vector< MonitorElement * > & |
meVector, |
|
|
std::vector< RPCDetId > & |
detIdVector, |
|
|
std::string & |
clientHistoName |
|
) |
| |
|
overridevirtual |
◆ myBooker()
Implements RPCClient.
Definition at line 69 of file RPCOccupancyTest.cc.
76 histoName <<
"RPC_Active_Channel_Fractions";
81 histoName <<
"RPC_Active_Inactive_Strips";
86 for (
int w = -2;
w <= 2;
w++) {
89 histoName <<
"AsymmetryLeftRight_Roll_vs_Sector_Wheel" <<
w;
107 histoName <<
"AsymmetryLeftRight_Ring_vs_Segment_Disk" <<
d;
References Active_Dead, Active_Fraction, AsyMeDisk, AsyMeWheel, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), ztail::d, globalFolder_, HltBtagPostValidation_cff::histoName, rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), numberOfDisks_, numberOfRings_, hltrates_dqm_sourceclient-live_cfg::offset, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), useRollInfo_, and w.
◆ Active_Dead
◆ Active_Fraction
◆ AsyMeDisk
◆ AsyMeWheel
◆ Barrel_OccBySt
◆ EndCap_OccByDisk
◆ EndCap_OccByRng
◆ globalFolder_
std::string RPCOccupancyTest::globalFolder_ |
|
private |
◆ myDetIds_
std::vector<RPCDetId> RPCOccupancyTest::myDetIds_ |
|
private |
◆ myOccupancyMe_
◆ NormOccupDDisk
◆ NormOccupDisk
◆ NormOccupDWheel
◆ NormOccupWheel
◆ numberOfDisks_
int RPCOccupancyTest::numberOfDisks_ |
|
private |
◆ numberOfRings_
int RPCOccupancyTest::numberOfRings_ |
|
private |
◆ prefixDir_
std::string RPCOccupancyTest::prefixDir_ |
|
private |
◆ prescaleFactor_
int RPCOccupancyTest::prescaleFactor_ |
|
private |
◆ rpcevents_
float RPCOccupancyTest::rpcevents_ |
|
private |
◆ totalActive_
float RPCOccupancyTest::totalActive_ |
|
private |
◆ totalStrips_
float RPCOccupancyTest::totalStrips_ |
|
private |
◆ useNormalization_
bool RPCOccupancyTest::useNormalization_ |
|
private |
◆ useRollInfo_
bool RPCOccupancyTest::useRollInfo_ |
|
private |
void labelXAxisSegment(MonitorElement *myMe)
MonitorElement * Active_Dead
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
std::string globalFolder_
virtual void setCurrentFolder(std::string const &fullpath)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
T getUntrackedParameter(std::string const &, T const &) const
void fillGlobalME(RPCDetId &, MonitorElement *)
std::vector< MonitorElement * > myOccupancyMe_
virtual double getEntries() const
get # of entries
MonitorElement * AsyMeWheel[5]
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
int detId2RollNr(const RPCDetId &_id)
MonitorElement * Active_Fraction
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Log< level::Info, true > LogVerbatim
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual int getNbinsX() const
get # of bins in X-axis
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
void labelXAxisSector(MonitorElement *myMe)
MonitorElement * AsyMeDisk[10]
virtual double getBinContent(int binx) const
get content of bin (1-D)
std::vector< RPCDetId > myDetIds_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())