|
|
Go to the documentation of this file.
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;
MonitorElement * meRawWords_
Pixel error – collection of errors and error information.
iterator end()
Return the off-the-end iterator.
edm::EDGetTokenT< FEDRawDataCollection > rawin_
void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override
virtual void setCurrentFolder(std::string const &fullpath)
iterator begin()
Return an iterator to the first DetSet.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Log< level::Info, false > LogInfo
#define DEFINE_FWK_MODULE(type)
SiPixelHLTSource(const edm::ParameterSet &conf)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void analyze(const edm::Event &, const edm::EventSetup &) override
~SiPixelHLTSource() override
MonitorElement * meNErrors_
collection_type::const_iterator const_iterator
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > errin_
bool isTrackerPixel(GeomDetEnumerators::SubDetector m)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
T getParameter(std::string const &) const
MonitorElement * meNCRCs_
virtual void bookMEs(DQMStore::IBooker &)
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())
collection_type::const_iterator const_iterator