57 dirName_(conf_.getUntrackedParameter<
string>(
"DirName",
"Pixel/FEDIntegrity/")) {
59 LogInfo(
"PixelDQM") <<
"SiPixelHLTSource::SiPixelHLTSource: Got DQM BackEnd interface" << endl;
65 LogInfo(
"PixelDQM") <<
"SiPixelHLTSource::~SiPixelHLTSource: Destructor" << endl;
69 LogInfo(
"PixelDQM") <<
" SiPixelHLTSource::beginJob - Initialisation ... " << std::endl;
109 for (TrackerGeometry::DetContainer::const_iterator it = pDD->
dets().begin(); it != pDD->
dets().end(); it++) {
111 uint32_t detId = (*it)->geographicalId();
113 if (isearch != errorinput->end()) {
114 for (di = isearch->data.
begin(); di != isearch->data.
end(); di++) {
115 fedId = di->getFedId();
116 int errorType = di->getType();
140 if (isearch != errorinput->end()) {
141 for (di = isearch->data.
begin(); di != isearch->data.
end(); di++) {
142 fedId = di->getFedId();
143 int errorType = di->getType();
186 meRawWords_ = iBooker.
book1D(
"FEDEntries",
"Number of raw words", 40, -0.5, 39.5);
190 meNCRCs_ = iBooker.
book1D(
"FEDFatal",
"Number of fatal errors", 40, -0.5, 39.5);
194 meNErrors_ = iBooker.
book1D(
"FEDNonFatal",
"Number of non-fatal errors", 40, -0.5, 39.5);
197 delete RawHistogramId;
198 delete ErrorHistogramId;
T getParameter(std::string const &) const
SiPixelHLTSource(const edm::ParameterSet &conf)
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * meNErrors_
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > errin_
MonitorElement * meNCRCs_
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
virtual void bookMEs(DQMStore::IBooker &)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
#define DEFINE_FWK_MODULE(type)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::EDGetTokenT< FEDRawDataCollection > rawin_
iterator end()
Return the off-the-end iterator.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
MonitorElement * meRawWords_
Log< level::Info, false > LogInfo
void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
iterator begin()
Return an iterator to the first DetSet.
~SiPixelHLTSource() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
void analyze(const edm::Event &, const edm::EventSetup &) override
bool isTrackerPixel(GeomDetEnumerators::SubDetector m)
Pixel error – collection of errors and error information.
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)