1 #include "../interface/EcalFEDMonitor.h" 7 folderName_(_ps.getUntrackedParameter<
std::
string>(
"folderName")),
13 ebGainSwitchErrorsToken_(),
14 eeGainSwitchErrorsToken_(),
85 for(
unsigned fedId(601); fedId <= 654; fedId++){
89 unsigned occupancy(-1);
91 if(fedId < 610 || fedId > 645){
101 unsigned length(fedData.size() /
sizeof(
uint64_t));
104 MEs_[occupancy]->Fill(fedId + 0.5);
124 if(normalization < 1.)
continue;
135 if(normalization < 1.)
continue;
147 if(normalization < 1.)
continue;
158 if(normalization < 1.)
continue;
170 if(normalization < 1.)
continue;
181 if(normalization < 1.)
continue;
190 unsigned iDCC(eleItr->dccId() - 1);
192 unsigned nonfatal(-1);
201 if(normalization < 1.)
continue;
203 MEs_[nonfatal]->Fill(iDCC + 601.5, 25. / normalization);
210 unsigned iDCC(eleItr->dccId() - 1);
212 unsigned nonfatal(-1);
221 if(normalization < 1.)
continue;
223 MEs_[nonfatal]->Fill(iDCC + 601.5, 25. / normalization);
T getParameter(std::string const &) const
edm::EDGetTokenT< EcalElectronicsIdCollection > towerIdErrorsToken_
std::vector< MonitorElement * > MEs_
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
EcalFEDMonitorTemp< EcalBarrel > EBHltTask
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< EBDetIdCollection > ebChIdErrorsToken_
#define DEFINE_FWK_MODULE(type)
const_iterator end() const
edm::EDGetTokenT< EEDetIdCollection > eeGainSwitchErrorsToken_
EcalFEDMonitorTemp< EcalEndcap > EEHltTask
edm::EDGetTokenT< EBDetIdCollection > ebGainSwitchErrorsToken_
unsigned nCrystals(unsigned)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
bool checkElectronicsMap(bool=true)
MonitorElement * book1D(Args &&...args)
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataToken_
edm::EDGetTokenT< EEDetIdCollection > eeGainErrorsToken_
EcalFEDMonitorTemp<-1 > EcalFEDMonitor
const_iterator begin() const
void setCurrentFolder(const std::string &fullpath)
unsigned long long uint64_t
edm::EDGetTokenT< EcalElectronicsIdCollection > blockSizeErrorsToken_
edm::EDGetTokenT< EEDetIdCollection > eeChIdErrorsToken_
void analyze(edm::Event const &, edm::EventSetup const &) override
EcalFEDMonitorTemp(edm::ParameterSet const &)
void setElectronicsMap(EcalElectronicsMapping const *)
edm::EDGetTokenT< EBDetIdCollection > ebGainErrorsToken_
unsigned dccId(DetId const &)
T const * product() const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< EBDetId >::const_iterator const_iterator