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 Member Functions | Private Attributes
L1ABCDebugger Class Reference

#include <DPGAnalysis/SiStripTools/plugins/L1ABCDebugger.cc>

Inheritance diagram for L1ABCDebugger:
edm::EDAnalyzer

Public Member Functions

 L1ABCDebugger (const edm::ParameterSet &)
 
 ~L1ABCDebugger ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
virtual void endJob ()
 
virtual void endRun (const edm::Run &, const edm::EventSetup &)
 

Private Attributes

edm::InputTag _l1abccollection
 

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
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 46 of file L1ABCDebugger.cc.

Constructor & Destructor Documentation

L1ABCDebugger::L1ABCDebugger ( const edm::ParameterSet iConfig)
explicit

Definition at line 75 of file L1ABCDebugger.cc.

75  :
76  _l1abccollection(iConfig.getParameter<edm::InputTag>("l1ABCCollection"))
77 {
78  //now do what ever initialization is needed
79 
80 }
T getParameter(std::string const &) const
edm::InputTag _l1abccollection
L1ABCDebugger::~L1ABCDebugger ( )

Definition at line 83 of file L1ABCDebugger.cc.

84 {
85 
86  // do anything here that needs to be done at desctruction time
87  // (e.g. close files, deallocate resources etc.)
88 
89 }

Member Function Documentation

void L1ABCDebugger::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 98 of file L1ABCDebugger.cc.

References _l1abccollection, and edm::Event::getByLabel().

99 {
100  using namespace edm;
101 
103  iEvent.getByLabel(_l1abccollection,pIn);
104 
105  // offset computation
106 
107  edm::LogInfo("L1ABCDebug") << "Dump of L1AcceptBunchCrossing Collection";
108 
109  for(L1AcceptBunchCrossingCollection::const_iterator l1abc=pIn->begin();l1abc!=pIn->end();++l1abc) {
110  edm::LogVerbatim("L1ABCDebug") << *l1abc;
111  }
112 
113 }
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
edm::InputTag _l1abccollection
void L1ABCDebugger::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 127 of file L1ABCDebugger.cc.

128 {
129 
130 }
void L1ABCDebugger::beginRun ( const edm::Run iRun,
const edm::EventSetup  
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 116 of file L1ABCDebugger.cc.

117 {}
void L1ABCDebugger::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 134 of file L1ABCDebugger.cc.

135 {
136 }
void L1ABCDebugger::endRun ( const edm::Run iRun,
const edm::EventSetup  
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 120 of file L1ABCDebugger.cc.

121 {
122 }

Member Data Documentation

edm::InputTag L1ABCDebugger::_l1abccollection
private

Definition at line 61 of file L1ABCDebugger.cc.

Referenced by analyze().