16 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
17 prefixME_.append(
"/");
59 if (
debug_>1)
std::cout<<
"\t<HcalDataIntegrityTask::getting eMap..."<<std::endl;
82 std::vector<uint64_t> phatv (iphirange + 1, 0);
84 if (
debug_>0)
std::cout <<
"<HcalDataIntegrityTask::setup> Clearing old vectors"<<std::endl;
98 phatmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
99 HBmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
100 HEmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
101 HFmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
102 HOmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
103 std::vector<bool> probvect (iphirange + 1, 0);
105 problemhere = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
106 problemHB = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
107 problemHE = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
108 problemHF = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
109 problemHO = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
114 std::cout <<
"About to pushback fedUnpackList_" << std::endl;
122 if(
debug_>1)
std::cout <<
"[DFMon:]Pushback for fedUnpackList_: " <<
i <<std::endl;
127 std::cout <<
"\t<HcalDataIntegrityTask> Setting folder to "<<
subdir_<<std::endl;
132 fedFatal_ = ib.
book1D(
"FEDFatal",
"# fatal errors HCAL FED",32,700,732);
177 if (fed.
size()<12)
continue;
190 if(!dccHeader)
return;
193 unsigned char* trailer_ptr = (
unsigned char*) (raw.
data()+raw.
size()-
sizeof(
uint64_t));
199 bool CDFProbThisDCC =
false;
203 CDFProbThisDCC =
true;
217 CDFProbThisDCC =
true;
238 CDFProbThisDCC =
true;
244 CDFProbThisDCC =
true;
265 CDFProbThisDCC =
true;
271 CDFProbThisDCC =
true;
278 CDFProbThisDCC =
true;
281 if (!trailer.
check())
283 CDFProbThisDCC =
true;
T getUntrackedParameter(std::string const &, T const &) const
bool LumiInOrder(int lumisec)
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
std::vector< std::vector< bool > > problemHE
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
#define DEFINE_FWK_MODULE(type)
std::vector< int > AllowedCalibTypes_
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
std::vector< std::vector< uint64_t > > HFmap
edm::LuminosityBlockNumber_t luminosityBlock() const
std::map< int, short > CDFversionNumber_list
edm::InputTag inputLabelReport_
size_t size() const
Lenght of the data buffer in bytes.
HcalDataIntegrityTask(const edm::ParameterSet &ps)
std::vector< std::vector< uint64_t > > phatmap
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
std::map< int, short >::iterator CDFvers_it
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
bool IsAllowedCalibType()
MonitorElement * book1D(Args &&...args)
std::vector< std::vector< uint64_t > > HEmap
const HcalElectronicsMap * readoutMap_
std::vector< int > fedUnpackList_
std::map< int, short >::iterator CDFReservedBits_it
void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * fedEntries_
void setCurrentFolder(const std::string &fullpath)
std::vector< std::vector< bool > > problemHF
unsigned long long uint64_t
std::map< int, short >::iterator CDFEvT_it
int lenght()
The length of the event fragment counted in 64-bit words including header and trailer.
std::vector< std::vector< uint64_t > > HOmap
edm::InputTag inputLabelRawData_
std::vector< std::vector< bool > > problemHB
void processEvent(const FEDRawDataCollection &rawraw, const HcalUnpackerReport &report, const HcalElectronicsMap &emap)
std::vector< std::vector< uint64_t > > HBmap
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
MonitorElement * fedNonFatal_
std::vector< std::vector< bool > > problemHO
std::map< int, short > CDFReservedBits_list
std::map< int, short > CDFEventType_list
void setup(DQMStore::IBooker &)
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap)
edm::EDGetTokenT< HcalUnpackerReport > tok_report_
std::vector< std::vector< bool > > problemhere
void Reset(void)
reset ME (ie. contents, errors, etc)
virtual void setup(DQMStore::IBooker &)
MonitorElement * fedFatal_