23 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";
75 histoName <<
"RPC_Active_Channel_Fractions";
80 histoName <<
"RPC_Active_Inactive_Strips";
85 for (
int w = -2;
w <= 2;
w++) {
88 histoName <<
"AsymmetryLeftRight_Roll_vs_Sector_Wheel" <<
w;
103 histoName <<
"AsymmetryLeftRight_Ring_vs_Segment_Disk" <<
d;
115 if (
detId.region() == 0) {
120 if (
detId.region() < 0) {
129 if (
detId.region() == 0) {
143 float FOccupancy = 0;
144 float BOccupancy = 0;
149 if (stripEntries > 0) {
152 if (
strip <= stripInRoll / 2) {
161 asym = fabs((FOccupancy - BOccupancy) / totEnt);
Log< level::Info, true > LogVerbatim
void clientOperation() override
MonitorElement * AsyMeWheel[5]
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * Active_Fraction
std::vector< RPCDetId > myDetIds_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * AsyMeDisk[10]
virtual double getEntries() const
get # of entries
std::string globalFolder_
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 fillGlobalME(RPCDetId &, MonitorElement *)
void myBooker(DQMStore::IBooker &) override
int detId2RollNr(const RPCDetId &_id)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * Active_Dead
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
RPCOccupancyTest(const edm::ParameterSet &ps)
void beginJob(std::string &) override
virtual int getNbinsX() const
get # of bins in X-axis
std::vector< MonitorElement * > myOccupancyMe_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
void getMonitorElements(std::vector< MonitorElement *> &, std::vector< RPCDetId > &, std::string &) override
virtual double getBinContent(int binx) const
get content of bin (1-D)