CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
l1t::MP7BufferDumpToRaw Class Reference
Inheritance diagram for l1t::MP7BufferDumpToRaw:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 MP7BufferDumpToRaw (const edm::ParameterSet &)
 
 ~MP7BufferDumpToRaw ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

virtual void beginJob () override
 
virtual void endJob () override
 
void formatAMC (amc13::Packet &amc13, const std::vector< Block > &blocks, int iAmc)
 
void formatRaw (edm::Event &iEvent, amc13::Packet &amc13, FEDRawData &fed_data)
 
std::vector< BlockgetBlocks (int iAmc)
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

std::vector< int > boardId_
 
int evType_
 
int fedId_
 
int fwVer_
 
unsigned iBoard_
 
bool mux_
 
int muxOffset_
 
unsigned nBoard_
 
unsigned nFramesPerEvent_
 
bool packetisedData_
 
std::vector< std::vector< int > > rxBlockLength_
 
MP7FileReader rxFileReader_
 
std::vector< unsigned > rxIndex_
 
MP7PacketReader rxPacketReader_
 
int slinkHeaderSize_
 
int slinkTrailerSize_
 
std::vector< std::vector< int > > txBlockLength_
 
MP7FileReader txFileReader_
 
std::vector< unsigned > txIndex_
 
MP7PacketReader txPacketReader_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 57 of file MP7BufferDumpToRaw.cc.

Constructor & Destructor Documentation

l1t::MP7BufferDumpToRaw::MP7BufferDumpToRaw ( const edm::ParameterSet iConfig)
explicit

Definition at line 134 of file MP7BufferDumpToRaw.cc.

l1t::MP7BufferDumpToRaw::~MP7BufferDumpToRaw ( )

Definition at line 224 of file MP7BufferDumpToRaw.cc.

Member Function Documentation

void l1t::MP7BufferDumpToRaw::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 465 of file MP7BufferDumpToRaw.cc.

void l1t::MP7BufferDumpToRaw::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 475 of file MP7BufferDumpToRaw.cc.

void l1t::MP7BufferDumpToRaw::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 515 of file MP7BufferDumpToRaw.cc.

void l1t::MP7BufferDumpToRaw::formatAMC ( amc13::Packet amc13,
const std::vector< Block > &  blocks,
int  iAmc 
)
private

Definition at line 390 of file MP7BufferDumpToRaw.cc.

void l1t::MP7BufferDumpToRaw::formatRaw ( edm::Event iEvent,
amc13::Packet amc13,
FEDRawData fed_data 
)
private

Definition at line 436 of file MP7BufferDumpToRaw.cc.

std::vector< Block > l1t::MP7BufferDumpToRaw::getBlocks ( int  iAmc)
private

Definition at line 282 of file MP7BufferDumpToRaw.cc.

void l1t::MP7BufferDumpToRaw::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 239 of file MP7BufferDumpToRaw.cc.

Referenced by JSONExport.JsonExport::export().

Member Data Documentation

std::vector<int> l1t::MP7BufferDumpToRaw::boardId_
private

Definition at line 106 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::evType_
private

Definition at line 116 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::fedId_
private

Definition at line 115 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::fwVer_
private

Definition at line 117 of file MP7BufferDumpToRaw.cc.

unsigned l1t::MP7BufferDumpToRaw::iBoard_
private

Definition at line 105 of file MP7BufferDumpToRaw.cc.

bool l1t::MP7BufferDumpToRaw::mux_
private

Definition at line 111 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::muxOffset_
private

Definition at line 112 of file MP7BufferDumpToRaw.cc.

unsigned l1t::MP7BufferDumpToRaw::nBoard_
private

Definition at line 104 of file MP7BufferDumpToRaw.cc.

unsigned l1t::MP7BufferDumpToRaw::nFramesPerEvent_
private

Definition at line 99 of file MP7BufferDumpToRaw.cc.

bool l1t::MP7BufferDumpToRaw::packetisedData_
private

Definition at line 96 of file MP7BufferDumpToRaw.cc.

std::vector< std::vector<int> > l1t::MP7BufferDumpToRaw::rxBlockLength_
private

Definition at line 109 of file MP7BufferDumpToRaw.cc.

MP7FileReader l1t::MP7BufferDumpToRaw::rxFileReader_
private

Definition at line 84 of file MP7BufferDumpToRaw.cc.

std::vector<unsigned> l1t::MP7BufferDumpToRaw::rxIndex_
private

Definition at line 86 of file MP7BufferDumpToRaw.cc.

MP7PacketReader l1t::MP7BufferDumpToRaw::rxPacketReader_
private

Definition at line 90 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::slinkHeaderSize_
private

Definition at line 118 of file MP7BufferDumpToRaw.cc.

int l1t::MP7BufferDumpToRaw::slinkTrailerSize_
private

Definition at line 119 of file MP7BufferDumpToRaw.cc.

std::vector< std::vector<int> > l1t::MP7BufferDumpToRaw::txBlockLength_
private

Definition at line 110 of file MP7BufferDumpToRaw.cc.

MP7FileReader l1t::MP7BufferDumpToRaw::txFileReader_
private

Definition at line 85 of file MP7BufferDumpToRaw.cc.

std::vector<unsigned> l1t::MP7BufferDumpToRaw::txIndex_
private

Definition at line 87 of file MP7BufferDumpToRaw.cc.

MP7PacketReader l1t::MP7BufferDumpToRaw::txPacketReader_
private

Definition at line 91 of file MP7BufferDumpToRaw.cc.