CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

L1ABCDebugger Class Reference

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

Inheritance diagram for L1ABCDebugger:
edm::EDAnalyzer

List of all members.

Public Member Functions

 L1ABCDebugger (const edm::ParameterSet &)
 ~L1ABCDebugger ()

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

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.

                                                          :
  _l1abccollection(iConfig.getParameter<edm::InputTag>("l1ABCCollection"))
{
   //now do what ever initialization is needed

}
L1ABCDebugger::~L1ABCDebugger ( )

Definition at line 83 of file L1ABCDebugger.cc.

{
 
   // do anything here that needs to be done at desctruction time
   // (e.g. close files, deallocate resources etc.)

}

Member Function Documentation

void L1ABCDebugger::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
) [private, virtual]

Implements edm::EDAnalyzer.

Definition at line 98 of file L1ABCDebugger.cc.

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

{
   using namespace edm;

   Handle<L1AcceptBunchCrossingCollection > pIn;
   iEvent.getByLabel(_l1abccollection,pIn);

   // offset computation

   edm::LogInfo("L1ABCDebug") << "Dump of L1AcceptBunchCrossing Collection";

   for(L1AcceptBunchCrossingCollection::const_iterator l1abc=pIn->begin();l1abc!=pIn->end();++l1abc) {
     edm::LogVerbatim("L1ABCDebug") << *l1abc;
   }

}
void L1ABCDebugger::beginJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 127 of file L1ABCDebugger.cc.

{

}
void L1ABCDebugger::beginRun ( const edm::Run iRun,
const edm::EventSetup  
) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 116 of file L1ABCDebugger.cc.

{}
void L1ABCDebugger::endJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 134 of file L1ABCDebugger.cc.

{
}
void L1ABCDebugger::endRun ( const edm::Run iRun,
const edm::EventSetup  
) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 120 of file L1ABCDebugger.cc.

{
}

Member Data Documentation

Definition at line 61 of file L1ABCDebugger.cc.

Referenced by analyze().