|
| EcalHexDisplay (const edm::ParameterSet &ps) |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
- Author
- G. Franzoni
Definition at line 27 of file EcalHexDisplay.h.
Definition at line 22 of file EcalHexDisplay.cc.
References beg_fed_id_, gather_cfg::cout, FEDRawData::data(), data, TauDecayModes::dec, end_fed_id_, event_, FEDRawDataCollection::FEDData(), fedRawDataCollectionTag_, filename_, first_event_, edm::Event::getByLabel(), hcalTTPDigis_cfi::id, last_event_, FEDNumbering::MAXFEDID, matplotRender::rawdata, FEDRawData::size(), and writeDcc_.
31 std::ofstream dumpFile (
filename_.c_str(),std::ios::app );
41 std::cout <<
"\n\n\n[EcalHexDumperModule] Event: " 44 <<
" size_fed: " << data.
size() <<
"\n"<< std::endl;
46 if ( ( data.
size() %16 ) !=0)
48 std::cout <<
"***********************************************" << std::endl;
49 std::cout<<
"Fed size in bits not multiple of 64, strange." << std::endl;
50 std::cout <<
"***********************************************" << std::endl;
54 int length = data.
size();
55 const unsigned long * pData = (
reinterpret_cast<unsigned long*
>(
const_cast<unsigned char*
> ( data.
data())));
57 for (
int words=0; words < length/4; (words+=2) )
59 std::cout << std::setw(8) << std::hex << pData[words+1] <<
" ";
60 std::cout << std::setw(8) << std::hex << pData[words] << std::endl;
68 dumpFile.write( reinterpret_cast <const char *> (pData), length);
size_t size() const
Lenght of the data buffer in bytes.
edm::InputTag fedRawDataCollectionTag_
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
char data[epos_bytes_allocation]
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.