Go to the documentation of this file.
24 prefixDir_ = subsystemFolder +
"/" + recHitTypeFolder;
38 std::vector<RPCDetId>& detIdVector,
41 for (
unsigned int i = 0;
i < meVector.size();
i++) {
44 if (meName.find(clientHistoName) != std::string::npos) {
52 edm::LogVerbatim(
"rpceventsummary") <<
"[RPCOccupancyTest]: Client Operation";
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;
129 if (detId.
region() == 0) {
143 if (detId.
region() == 0) {
157 float FOccupancy = 0;
158 float BOccupancy = 0;
163 if (stripEntries > 0) {
166 if (
strip <= stripInRoll / 2) {
175 asym = fabs((FOccupancy - BOccupancy) / totEnt);
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 myBooker(DQMStore::IBooker &) override
RPCOccupancyTest(const edm::ParameterSet &ps)
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_
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &) override
void beginJob(std::string &) override
virtual double getEntries() const
get # of entries
void clientOperation() override
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
~RPCOccupancyTest() override
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())