CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

cms::CkfDebugTrackCandidateMaker Class Reference

#include <CkfDebugTrackCandidateMaker.h>

Inheritance diagram for cms::CkfDebugTrackCandidateMaker:
cms::CkfTrackCandidateMakerBase edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

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

CkfDebuggerdbg
const CkfDebugTrajectoryBuildermyTrajectoryBuilder

Detailed Description

Definition at line 10 of file CkfDebugTrackCandidateMaker.h.


Constructor & Destructor Documentation

cms::CkfDebugTrackCandidateMaker::CkfDebugTrackCandidateMaker ( const edm::ParameterSet conf) [inline]

Definition at line 12 of file CkfDebugTrackCandidateMaker.h.

                                                             : CkfTrackCandidateMakerBase(conf) {
      produces<TrackCandidateCollection>();
    }

Member Function Documentation

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.

{dbg->countSeed();};
void cms::CkfDebugTrackCandidateMaker::deleteAssocDebugger ( ) [inline, private, virtual]
void cms::CkfDebugTrackCandidateMaker::deleteDebugger ( ) [inline, private]

Definition at line 39 of file CkfDebugTrackCandidateMaker.h.

References dbg.

{delete dbg;};
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]

Member Data Documentation

Definition at line 41 of file CkfDebugTrackCandidateMaker.h.

Referenced by initDebugger().