|
|
#include <RPCOccupancyTest.h>
Definition at line 12 of file RPCOccupancyTest.h.
◆ RPCOccupancyTest()
◆ ~RPCOccupancyTest()
RPCOccupancyTest::~RPCOccupancyTest |
( |
| ) |
|
|
overridedefault |
◆ beginJob()
void RPCOccupancyTest::beginJob |
( |
std::string & |
workingFolder | ) |
|
|
overridevirtual |
◆ clientOperation()
void RPCOccupancyTest::clientOperation |
( |
| ) |
|
|
overridevirtual |
◆ fillGlobalME()
Definition at line 106 of file RPCOccupancyTest.cc.
112 if (detId.
region() == 0) {
126 if (detId.
region() == 0) {
133 xBin = RPCServ.segment();
140 float FOccupancy = 0;
141 float BOccupancy = 0;
146 if (stripEntries > 0) {
149 if (
strip <= stripInRoll / 2) {
158 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 66 of file RPCOccupancyTest.cc.
72 histoName <<
"RPC_Active_Channel_Fractions";
77 histoName <<
"RPC_Active_Inactive_Strips";
82 for (
int w = -2;
w <= 2;
w++) {
85 histoName <<
"AsymmetryLeftRight_Roll_vs_Sector_Wheel" <<
w;
100 histoName <<
"AsymmetryLeftRight_Ring_vs_Segment_Disk" <<
d;
References Active_Dead, Active_Fraction, AsyMeDisk, AsyMeWheel, dqm::implementation::IBooker::book1D(), RPCRollMapHisto::bookBarrel(), RPCRollMapHisto::bookEndcap(), ztail::d, globalFolder_, HltBtagPostValidation_cff::histoName, hlt_dqm_clientPB-live_cfg::me, numberOfDisks_, 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 |
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
MonitorElement * Active_Dead
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
std::string globalFolder_
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
void fillGlobalME(RPCDetId &, MonitorElement *)
std::vector< MonitorElement * > myOccupancyMe_
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
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)
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
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)
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())