27 typedef std::map< std::pair<int,int>,
int>::const_iterator
IT;
34 for (std::vector<int>::const_iterator it=algos.begin();it!= algos.end(); ++it) {
35 unsigned int ialgo = *it;
71 for (
unsigned int i=0;
i<=9; ++
i) {
73 for (
unsigned int fed=790; fed <=792; ++fed) {
88 TFile
f(histoFile.c_str(),
"RECREATE");
89 for (
int i=0;
i<3; ++
i) {
93 for (std::vector<MonitorElement* >::const_iterator it=wh.begin(); it != wh.end(); ++it)(*it)->getTH2F()->Write();
114 me_t[it->first.first-790]->
Fill(it->first.second,it->second);
137 int fed = it->first.first;
138 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]
bool getByType(Handle< PROD > &result) const
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]
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
TH1F * getTH1F(void) const
T const * product() const
static TH1F * emptyRecordTypeHisto(int fedId)
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)