|
|
Go to the documentation of this file.
43 : BadFedNumber(nullptr),
54 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
55 <<
" Constructing....... ";
59 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
60 <<
" Destructing....... ";
77 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: "
78 <<
" Creating MEs for new Cabling ";
82 ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
90 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run " <<
iEvent.id().run() <<
" Event "
102 std::vector<edm::DetSet<SiStripRawDigi>>::const_iterator digis = digi_collection->find((*idetid));
103 if (digis == digi_collection->end() || digis->data.empty() || digis->data.size() > 768) {
104 std::vector<const FedChannelConnection *> fed_conns = detcabling.getConnections((*idetid));
105 for (
unsigned int k = 0;
k < fed_conns.size();
k++) {
106 if (fed_conns[
k] && fed_conns[
k]->isConnected()) {
107 float fed_id = fed_conns[
k]->fedId() + 0.01 * fed_conns[
k]->fedCh();
121 if (outputMEsInRootFile) {
129 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
bool check(const edm::EventSetup &iSetup)
edm::ESWatcher< SiStripDetCablingRcd > detCablingWatcher_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
virtual void setCurrentFolder(std::string const &fullpath)
~SiStripMonitorRawData() override
void analyze(const edm::Event &, const edm::EventSetup &) override
Log< level::Info, false > LogInfo
SiStripMonitorRawData(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
DQM_DEPRECATED void save(std::string const &filename, std::string const &path="")
void dqmEndRun(edm::Run const &run, edm::EventSetup const &eSetup) override
MonitorElement * BadFedNumber
bool getData(T &iHolder) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< uint32_t > SelectedDetIds
T getParameter(std::string const &) const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())