43 std::stringstream histoName;
46 for (
int i = -2;
i<=2;
i++ ){
49 histoName<<
"NumberOfDigi_Mean_Roll_vs_Sector_Wheel"<<
i;
51 MULTWheel[i+2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
58 histoName<<
"NumberOfDigi_Mean_Distribution_Wheel"<<
i;
59 MULTDWheel[i+2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
71 histoName<<
"NumberOfDigi_Mean_Ring_vs_Segment_Disk"<<
d;
78 histoName<<
"NumberOfDigi_Mean_Distribution_Disk"<<
d;
79 MULTDDisk[d+
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
92 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
96 if(meName.find(clientHistoName) != std::string::npos){
107 edm::LogVerbatim (
"multiplicity") <<
"[RPCMultiplicityTest]: Client Operation";
T getUntrackedParameter(std::string const &, T const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * MULTDDisk[10]
MonitorElement * MULTDisk[10]
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
RPCMultiplicityTest(const edm::ParameterSet &ps)
Constructor.
double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &) override
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
void setCurrentFolder(std::string const &fullpath)
void fillGlobalME(RPCDetId &detId, MonitorElement *myMe)
MonitorElement * book1D(Args &&...args)
MonitorElement * MULTDWheel[5]
MonitorElement * MULTWheel[5]
void labelXAxisSector(MonitorElement *myMe)
void clientOperation() override
~RPCMultiplicityTest() override
Destructor.
void myBooker(DQMStore::IBooker &) override
int detId2RollNr(const RPCDetId &_id)
MonitorElement * book2D(Args &&...args)
void beginJob(std::string &) override
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::vector< RPCDetId > myDetIds_
std::string globalFolder_
std::vector< MonitorElement * > myNumDigiMe_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.