27 typedef std::map< std::pair<int,int>,
int>::const_iterator
IT;
31 rpcRawDataCountsTag_(cfg.getParameter<edm::InputTag>(
"rpcRawDataCountsTag"))
35 for (std::vector<int>::const_iterator it=algos.begin();it!= algos.end(); ++it) {
36 unsigned int ialgo = *it;
72 for (
unsigned int i=0;
i<=9; ++
i) {
74 for (
unsigned int fed=790; fed <=792; ++fed) {
89 TFile
f(histoFile.c_str(),
"RECREATE");
90 for (
int i=0;
i<3; ++
i) {
94 for (std::vector<MonitorElement* >::const_iterator it=wh.begin(); it != wh.end(); ++it)(*it)->getTH2F()->Write();
115 me_t[it->first.first-790]->
Fill(it->first.second,it->second);
138 int fed = it->first.first;
139 me_e[fed-790]->
Fill(type, it->second);
std::map< std::pair< int, int >, int > theReadoutErrors
LinkBoardElectronicIndex where() const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * me_mapBadEvents
std::vector< MonitorElement * > theWatchedErrorHistos[3]
static TH1F * emptyReadoutErrorHisto(int fedId)
ReadoutErrorType type() const
MonitorElement * me_mapGoodEvents
static TH2F * emptyReadoutErrorMapHisto(int fedId, int type)
edm::ParameterSet theConfig
RPCMonitorRaw(const edm::ParameterSet &cfg)
TH1F * getTH1F(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
std::map< std::pair< int, int >, int > theGoodEvents
std::vector< LinkConnSpec >::const_iterator IT
unsigned int theWatchedErrorHistoPos[10]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::map< std::pair< int, int >, int > theRecordTypes
virtual void analyze(const edm::Event &, const edm::EventSetup &)
get data, convert to digis attach againe to Event
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
TH1F * getTH1F(void) const
T const * product() const
static TH1F * emptyRecordTypeHisto(int fedId)
edm::InputTag rpcRawDataCountsTag_
std::map< std::pair< int, int >, int > theBadEvents
TH2F * getTH2F(void) const
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)