47 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
52 tagList = meVector[
i]->getTags();
53 DQMNet::TagList::iterator tagItr = tagList.begin();
55 while (tagItr != tagList.end() && !flag ) {
78 edm::LogVerbatim (
"multiplicity") <<
"[RPCMultiplicityTest]: Client Operation";
91 std::stringstream histoName;
95 for (
int i = -2;
i<=2;
i++ ){
98 histoName<<
"NumberOfDigi_Mean_Roll_vs_Sector_Wheel"<<
i;
105 MULTWheel[i+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
112 histoName<<
"NumberOfDigi_Mean_Distribution_Wheel"<<
i;
119 MULTDWheel[i+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
125 if (d == 0 )
continue;
131 histoName<<
"NumberOfDigi_Mean_Ring_vs_Segment_Disk"<<d;
143 histoName<<
"NumberOfDigi_Mean_Distribution_Disk"<<d;
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * MULTDDisk[10]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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 beginJob(DQMStore *, std::string)
BeginJob.
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
void clientOperation(edm::EventSetup const &c)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Begin Lumi block.
void removeElement(const std::string &name)
void fillGlobalME(RPCDetId &detId, MonitorElement *myMe)
MonitorElement * MULTDWheel[5]
MonitorElement * MULTWheel[5]
virtual ~RPCMultiplicityTest()
Destructor.
void beginRun(const edm::Run &, const edm::EventSetup &)
unsigned int offset(bool)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void labelXAxisSector(MonitorElement *myMe)
int detId2RollNr(const RPCDetId &_id)
void endRun(const edm::Run &, const edm::EventSetup &)
std::vector< uint32_t > TagList
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::vector< RPCDetId > myDetIds_
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
std::string globalFolder_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void analyze(const edm::Event &, const edm::EventSetup &)
Analyze.
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
End Lumi Block.
std::vector< MonitorElement * > myNumDigiMe_
void setCurrentFolder(const std::string &fullpath)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.