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 Attributes
HLTGetRaw Class Reference

#include <HLTGetRaw.h>

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

Public Member Functions

virtual void analyze (edm::StreamID, edm::Event const &, edm::EventSetup const &) const overridefinal
 
 HLTGetRaw (const edm::ParameterSet &)
 
 ~HLTGetRaw ()
 
- Public Member Functions inherited from edm::global::EDAnalyzer<>
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::global::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- 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 (const std::string &iProcessName, std::vector< const char * > &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::global::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

edm::InputTag rawDataCollection_
 
edm::EDGetTokenT
< FEDRawDataCollection
rawDataToken_
 

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.

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 ( )

Definition at line 24 of file HLTGetRaw.cc.

25 {
26 }

Member Function Documentation

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

Implements edm::global::EDAnalyzerBase.

Definition at line 41 of file HLTGetRaw.cc.

References LogDebug, rawDataCollection_, and rawDataToken_.

42 {
43  edm::Handle<FEDRawDataCollection> rawDataHandle ;
44  event.getByToken(rawDataToken_, rawDataHandle );
45 
46  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << rawDataCollection_;
47 }
#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 29 of file HLTGetRaw.cc.

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

29  {
31  desc.add<edm::InputTag>("RawDataCollection", edm::InputTag("rawDataCollector"));
32  descriptions.add("hltGetRaw", desc);
33 }
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().