CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HLTGetRaw Class Reference

#include <HLTGetRaw.h>

Inheritance diagram for HLTGetRaw:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 
 HLTGetRaw (const edm::ParameterSet &)
 
 ~HLTGetRaw ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

edm::InputTag RawDataCollection_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 
- 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.

Date:
2011/01/27 10:38:50
Revision:
1.3
Author
various

See header file for documentation

Date:
2011/01/27 10:38:51
Revision:
1.5
Author
various

Definition at line 25 of file HLTGetRaw.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file HLTGetRaw.cc.

References edm::ParameterSet::getParameter(), and RawDataCollection_.

36 {
37  RawDataCollection_ = ps.getParameter<edm::InputTag>("RawDataCollection");
38 }
T getParameter(std::string const &) const
edm::InputTag RawDataCollection_
Definition: HLTGetRaw.h:33
HLTGetRaw::~HLTGetRaw ( )

Definition at line 40 of file HLTGetRaw.cc.

41 { }

Member Function Documentation

void HLTGetRaw::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 49 of file HLTGetRaw.cc.

References edm::Event::getByLabel(), LogDebug, and RawDataCollection_.

50 {
51 // using namespace edm;
52 
53  edm::Handle<FEDRawDataCollection> RawDataHandle ;
54  iEvent.getByLabel(RawDataCollection_, RawDataHandle );
55 
56  LogDebug("DigiInfo") << "Loaded Raw Data Collection: " << RawDataCollection_ ;
57 
58 
59 }
#define LogDebug(id)
edm::InputTag RawDataCollection_
Definition: HLTGetRaw.h:33
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361

Member Data Documentation

edm::InputTag HLTGetRaw::RawDataCollection_
private

Definition at line 33 of file HLTGetRaw.h.

Referenced by analyze(), and HLTGetRaw().