55 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 56 <<
" Constructing....... ";
62 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 63 <<
" Destructing....... ";
80 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: " 81 <<
" Creating MEs for new Cabling ";
84 BadFedNumber = ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
94 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run "<<
104 for (std::vector<uint32_t>::const_iterator idetid=
SelectedDetIds.begin(),
106 std::vector< edm::DetSet<SiStripRawDigi> >::const_iterator digis = digi_collection->find( (*idetid) );
107 if (digis == digi_collection->end() ||
108 digis->data.empty() ||
109 digis->data.size() > 768 ) {
111 for (
unsigned int k = 0;
k < fed_conns.size() ;
k++) {
112 if(fed_conns[
k] && fed_conns[
k]->isConnected()) {
113 float fed_id = fed_conns[
k]->fedId() + 0.01*fed_conns[
k]->fedCh();
127 if (outputMEsInRootFile) {
136 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
T getParameter(std::string const &) const
EventNumber_t event() const
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
edm::ESHandle< SiStripDetCabling > detcabling
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
MonitorElement * book1D(Args &&...args)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
void Reset()
reset ME (ie. contents, errors, etc)
std::vector< uint32_t > SelectedDetIds
unsigned long long m_cacheID_
void setCurrentFolder(const std::string &fullpath)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
SiStripMonitorRawData(const edm::ParameterSet &)
~SiStripMonitorRawData() override
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
MonitorElement * BadFedNumber
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)