16 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
17 prefixME_.append(
"/");
64 if (
debug_>1)
std::cout<<
"\t<HcalDataIntegrityTask::getting eMap..."<<std::endl;
87 std::vector<uint64_t> phatv (iphirange + 1, 0);
89 if (
debug_>0)
std::cout <<
"<HcalDataIntegrityTask::setup> Clearing old vectors"<<std::endl;
103 phatmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
104 HBmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
105 HEmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
106 HFmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
107 HOmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
108 std::vector<bool> probvect (iphirange + 1, 0);
110 problemhere = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
111 problemHB = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
112 problemHE = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
113 problemHF = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
114 problemHO = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
119 std::cout <<
"About to pushback fedUnpackList_" << std::endl;
127 if(
debug_>1)
std::cout <<
"[DFMon:]Pushback for fedUnpackList_: " <<
i <<std::endl;
135 std::cout <<
"\t<HcalDataIntegrityTask> Setting folder to "<<
subdir_<<std::endl;
185 std::cout<<
"HcalDataIntegrityTask::processEvent DQMStore not instantiated!!!"<<std::endl;
193 if (fed.
size()<12)
continue;
206 if(!dccHeader)
return;
209 unsigned char* trailer_ptr = (
unsigned char*) (raw.
data()+raw.
size()-
sizeof(
uint64_t));
215 bool CDFProbThisDCC =
false;
219 CDFProbThisDCC =
true;
233 CDFProbThisDCC =
true;
254 CDFProbThisDCC =
true;
260 CDFProbThisDCC =
true;
281 CDFProbThisDCC =
true;
287 CDFProbThisDCC =
true;
294 CDFProbThisDCC =
true;
297 if (!trailer.
check())
299 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
#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_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
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)
std::vector< std::vector< bool > > problemhere
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * fedFatal_
void setCurrentFolder(const std::string &fullpath)