CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
HLTGetRaw Class Reference

#include <HLTGetRaw.h>

Inheritance diagram for HLTGetRaw:
edm::global::EDAnalyzer<> edm::global::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (edm::StreamID, edm::Event const &, edm::EventSetup const &) const final
 
 HLTGetRaw (const edm::ParameterSet &)
 
 ~HLTGetRaw () override
 
- Public Member Functions inherited from edm::global::EDAnalyzer<>
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::global::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (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)
 

Static Public Member Functions

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

Private Attributes

edm::InputTag rawDataCollection_
 
edm::EDGetTokenT< FEDRawDataCollectionrawDataToken_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- 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

This class is an EDAnalyzer implementing a "get data into RAM" functionality for RAW, to simulate online FF running/timimg.

Author
various

See header file for documentation

Author
various

Definition at line 29 of file HLTGetRaw.h.

Constructor & Destructor Documentation

HLTGetRaw::HLTGetRaw ( const edm::ParameterSet ps)
explicit

Definition at line 18 of file HLTGetRaw.cc.

References ~HLTGetRaw().

18  :
19  rawDataCollection_( ps.getParameter<edm::InputTag>("RawDataCollection") ),
20  rawDataToken_( consumes<FEDRawDataCollection>(rawDataCollection_) )
21 {
22 }
T getParameter(std::string const &) const
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:39
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:38
HLTGetRaw::~HLTGetRaw ( )
overridedefault

Referenced by HLTGetRaw().

Member Function Documentation

void HLTGetRaw::analyze ( edm::StreamID  sid,
edm::Event const &  event,
edm::EventSetup const &  setup 
) const
finalvirtual

Implements edm::global::EDAnalyzerBase.

Definition at line 39 of file HLTGetRaw.cc.

References LogDebug, rawDataCollection_, and rawDataToken_.

40 {
41  edm::Handle<FEDRawDataCollection> rawDataHandle ;
42  event.getByToken(rawDataToken_, rawDataHandle );
43 
44  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
45 }
#define LogDebug(id)
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
Definition: HLTGetRaw.h:39
edm::InputTag rawDataCollection_
Definition: HLTGetRaw.h:38
void HLTGetRaw::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 27 of file HLTGetRaw.cc.

References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().

27  {
29  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
30  descriptions.add("hltGetRaw", desc);
31 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

edm::InputTag HLTGetRaw::rawDataCollection_
private

Definition at line 38 of file HLTGetRaw.h.

Referenced by analyze().

edm::EDGetTokenT<FEDRawDataCollection> HLTGetRaw::rawDataToken_
private

Definition at line 39 of file HLTGetRaw.h.

Referenced by analyze().