16 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
17 prefixME_.append(
"/");
69 if (
debug_>1)
std::cout<<
"\t<HcalDataIntegrityTask::getting eMap..."<<std::endl;
92 std::vector<uint64_t> phatv (iphirange + 1, 0);
94 if (
debug_>0)
std::cout <<
"<HcalDataIntegrityTask::setup> Clearing old vectors"<<std::endl;
108 phatmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
109 HBmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
110 HEmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
111 HFmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
112 HOmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
113 std::vector<bool> probvect (iphirange + 1, 0);
115 problemhere = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
116 problemHB = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
117 problemHE = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
118 problemHF = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
119 problemHO = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
124 std::cout <<
"About to pushback fedUnpackList_" << std::endl;
132 if(
debug_>1)
std::cout <<
"[DFMon:]Pushback for fedUnpackList_: " <<
i <<std::endl;
140 std::cout <<
"\t<HcalDataIntegrityTask> Setting folder to "<<
subdir_<<std::endl;
189 std::cout<<
"HcalDataIntegrityTask::processEvent DQMStore not instantiated!!!"<<std::endl;
197 if (fed.
size()<12)
continue;
210 if(!dccHeader)
return;
213 unsigned char* trailer_ptr = (
unsigned char*) (raw.
data()+raw.
size()-
sizeof(
uint64_t));
219 bool CDFProbThisDCC =
false;
223 CDFProbThisDCC =
true;
237 CDFProbThisDCC =
true;
258 CDFProbThisDCC =
true;
264 CDFProbThisDCC =
true;
285 CDFProbThisDCC =
true;
291 CDFProbThisDCC =
true;
298 CDFProbThisDCC =
true;
301 if (!trailer.
check())
303 CDFProbThisDCC =
true;
void beginRun(const edm::Run &run, const edm::EventSetup &c)
T getUntrackedParameter(std::string const &, T const &) const
bool LumiInOrder(int lumisec)
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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_
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
std::map< int, short >::iterator CDFvers_it
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void removeContents(void)
erase all monitoring elements in current directory (not including subfolders);
bool IsAllowedCalibType()
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_
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 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)
MonitorElement * fedFatal_
void setCurrentFolder(const std::string &fullpath)