#include <CkfDebugTrackCandidateMaker.h>
Public Member Functions | |
virtual void | beginRun (edm::Run &run, edm::EventSetup const &es) |
CkfDebugTrackCandidateMaker (const edm::ParameterSet &conf) | |
virtual void | endJob () |
virtual void | produce (edm::Event &e, const edm::EventSetup &es) |
Private Member Functions | |
void | countSeedsDebugger () |
void | deleteAssocDebugger () |
void | deleteDebugger () |
void | initDebugger (edm::EventSetup const &es) |
virtual TrajectorySeedCollection::const_iterator | lastSeed (TrajectorySeedCollection &theSeedColl) |
void | printHitsDebugger (edm::Event &e) |
Private Attributes | |
CkfDebugger * | dbg |
const CkfDebugTrajectoryBuilder * | myTrajectoryBuilder |
Definition at line 10 of file CkfDebugTrackCandidateMaker.h.
cms::CkfDebugTrackCandidateMaker::CkfDebugTrackCandidateMaker | ( | const edm::ParameterSet & | conf | ) | [inline] |
Definition at line 12 of file CkfDebugTrackCandidateMaker.h.
: CkfTrackCandidateMakerBase(conf) { produces<TrackCandidateCollection>(); }
virtual void cms::CkfDebugTrackCandidateMaker::beginRun | ( | edm::Run & | run, |
edm::EventSetup const & | es | ||
) | [inline, virtual] |
Reimplemented from edm::EDProducer.
Definition at line 16 of file CkfDebugTrackCandidateMaker.h.
References cms::CkfTrackCandidateMakerBase::beginRunBase(), and initDebugger().
{ beginRunBase(run,es); initDebugger(es); }
void cms::CkfDebugTrackCandidateMaker::countSeedsDebugger | ( | ) | [inline, private, virtual] |
Reimplemented from cms::CkfTrackCandidateMakerBase.
Definition at line 37 of file CkfDebugTrackCandidateMaker.h.
References CkfDebugger::countSeed(), and dbg.
void cms::CkfDebugTrackCandidateMaker::deleteAssocDebugger | ( | ) | [inline, private, virtual] |
Reimplemented from cms::CkfTrackCandidateMakerBase.
Definition at line 38 of file CkfDebugTrackCandidateMaker.h.
References dbg, and CkfDebugger::deleteHitAssociator().
{dbg->deleteHitAssociator();};
void cms::CkfDebugTrackCandidateMaker::deleteDebugger | ( | ) | [inline, private] |
virtual void cms::CkfDebugTrackCandidateMaker::endJob | ( | void | ) | [inline, virtual] |
Reimplemented from edm::EDProducer.
Definition at line 22 of file CkfDebugTrackCandidateMaker.h.
References dbg.
{delete dbg; }
void cms::CkfDebugTrackCandidateMaker::initDebugger | ( | edm::EventSetup const & | es | ) | [inline, private] |
Definition at line 28 of file CkfDebugTrackCandidateMaker.h.
References dbg, Exception, myTrajectoryBuilder, CkfDebugTrajectoryBuilder::setDebugger(), and cms::CkfTrackCandidateMakerBase::theTrajectoryBuilder.
Referenced by beginRun().
{ dbg = new CkfDebugger(es); myTrajectoryBuilder = dynamic_cast<const CkfDebugTrajectoryBuilder*>(theTrajectoryBuilder); if (myTrajectoryBuilder) myTrajectoryBuilder->setDebugger( dbg); else throw cms::Exception("CkfDebugger") << "please use CkfDebugTrajectoryBuilder"; //theTrajectoryBuilder->setDebugger( dbg); };
virtual TrajectorySeedCollection::const_iterator cms::CkfDebugTrackCandidateMaker::lastSeed | ( | TrajectorySeedCollection & | theSeedColl | ) | [inline, private, virtual] |
Definition at line 26 of file CkfDebugTrackCandidateMaker.h.
{return theSeedColl.begin()+1;}
void cms::CkfDebugTrackCandidateMaker::printHitsDebugger | ( | edm::Event & | e | ) | [inline, private, virtual] |
Reimplemented from cms::CkfTrackCandidateMakerBase.
Definition at line 36 of file CkfDebugTrackCandidateMaker.h.
References dbg, and CkfDebugger::printSimHits().
{dbg->printSimHits(e);};
virtual void cms::CkfDebugTrackCandidateMaker::produce | ( | edm::Event & | e, |
const edm::EventSetup & | es | ||
) | [inline, virtual] |
Implements edm::EDProducer.
Definition at line 21 of file CkfDebugTrackCandidateMaker.h.
References cms::CkfTrackCandidateMakerBase::produceBase().
{produceBase(e,es);}
CkfDebugger* cms::CkfDebugTrackCandidateMaker::dbg [private] |
Definition at line 39 of file CkfDebugTrackCandidateMaker.h.
Referenced by countSeedsDebugger(), deleteAssocDebugger(), deleteDebugger(), endJob(), initDebugger(), and printHitsDebugger().
Definition at line 41 of file CkfDebugTrackCandidateMaker.h.
Referenced by initDebugger().