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
cms::CkfDebugTrackCandidateMaker Class Reference

#include <CkfDebugTrackCandidateMaker.h>

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

Public Member Functions

virtual void beginRun (edm::Run const &run, edm::EventSetup const &es) override
 
 CkfDebugTrackCandidateMaker (const edm::ParameterSet &conf)
 
virtual void endJob ()
 
virtual void produce (edm::Event &e, const edm::EventSetup &es) override
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 
- Public Member Functions inherited from cms::CkfTrackCandidateMakerBase
virtual void beginRunBase (edm::Run const &, edm::EventSetup const &es)
 
 CkfTrackCandidateMakerBase (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
 
virtual void produceBase (edm::Event &e, const edm::EventSetup &es)
 
virtual ~CkfTrackCandidateMakerBase ()
 

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
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Types inherited from cms::CkfTrackCandidateMakerBase
typedef edm::ContainerMask
< edmNew::DetSetVector
< SiPixelCluster > > 
PixelClusterMask
 
typedef edm::ContainerMask
< edmNew::DetSetVector
< SiStripCluster > > 
StripClusterMask
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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)
 
- Protected Member Functions inherited from cms::CkfTrackCandidateMakerBase
virtual
TrajectorySeedCollection::const_iterator 
lastSeed (TrajectorySeedCollection const &theSeedColl)
 
- Protected Attributes inherited from cms::CkfTrackCandidateMakerBase
bool cleanTrajectoryAfterInOut
 
bool doSeedingRegionRebuilding
 
edm::EDGetTokenT
< PixelClusterMask
maskPixels_
 
edm::EDGetTokenT
< StripClusterMask
maskStrips_
 
unsigned int maxSeedsBeforeCleaning_
 
bool reverseTrajectories
 
bool skipClusters_
 
edm::ESHandle
< GeometricSearchTracker
theGeomSearchTracker
 
std::unique_ptr
< TransientInitialStateEstimator
theInitialState
 
edm::ESHandle< MagneticFieldtheMagField
 
const std::string theMagFieldName
 
unsigned int theMaxNSeeds
 
edm::EDGetTokenT
< MeasurementTrackerEvent
theMTELabel
 
const NavigationSchooltheNavigationSchool
 
std::string theNavigationSchoolName
 
RedundantSeedCleanertheSeedCleaner
 
edm::EDGetTokenT< edm::View
< TrajectorySeed > > 
theSeedLabel
 
bool theTrackCandidateOutput
 
std::unique_ptr
< BaseCkfTrajectoryBuilder
theTrajectoryBuilder
 
const TrajectoryCleanertheTrajectoryCleaner
 
std::string theTrajectoryCleanerName
 
bool theTrajectoryOutput
 
bool useSplitting
 

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.

13  produces<TrackCandidateCollection>();
14  }
CkfTrackCandidateMakerBase(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.

Member Function Documentation

virtual void cms::CkfDebugTrackCandidateMaker::beginRun ( edm::Run const &  run,
edm::EventSetup const &  es 
)
inlineoverridevirtual

Reimplemented from edm::EDProducer.

Definition at line 16 of file CkfDebugTrackCandidateMaker.h.

References cms::CkfTrackCandidateMakerBase::beginRunBase(), and initDebugger().

16  {
17  beginRunBase(run,es);
18  initDebugger(es);
19  }
void initDebugger(edm::EventSetup const &es)
virtual void beginRunBase(edm::Run const &, edm::EventSetup const &es)
void cms::CkfDebugTrackCandidateMaker::countSeedsDebugger ( )
inlineprivatevirtual

Reimplemented from cms::CkfTrackCandidateMakerBase.

Definition at line 37 of file CkfDebugTrackCandidateMaker.h.

References CkfDebugger::countSeed(), and dbg.

void cms::CkfDebugTrackCandidateMaker::deleteAssocDebugger ( )
inlineprivatevirtual
void cms::CkfDebugTrackCandidateMaker::deleteDebugger ( )
inlineprivate

Definition at line 39 of file CkfDebugTrackCandidateMaker.h.

References dbg.

virtual void cms::CkfDebugTrackCandidateMaker::endJob ( void  )
inlinevirtual

Reimplemented from edm::EDProducer.

Definition at line 22 of file CkfDebugTrackCandidateMaker.h.

References dbg.

void cms::CkfDebugTrackCandidateMaker::initDebugger ( edm::EventSetup const &  es)
inlineprivate

Definition at line 28 of file CkfDebugTrackCandidateMaker.h.

References dbg, edm::hlt::Exception, myTrajectoryBuilder, CkfDebugTrajectoryBuilder::setDebugger(), and cms::CkfTrackCandidateMakerBase::theTrajectoryBuilder.

Referenced by beginRun().

28  {
29  dbg = new CkfDebugger(es);
32  else throw cms::Exception("CkfDebugger") << "please use CkfDebugTrajectoryBuilder";
33  //theTrajectoryBuilder->setDebugger( dbg);
34  };
const CkfDebugTrajectoryBuilder * myTrajectoryBuilder
std::unique_ptr< BaseCkfTrajectoryBuilder > theTrajectoryBuilder
virtual void setDebugger(CkfDebugger *dbg) const
virtual TrajectorySeedCollection::const_iterator cms::CkfDebugTrackCandidateMaker::lastSeed ( TrajectorySeedCollection theSeedColl)
inlineprivatevirtual

Definition at line 26 of file CkfDebugTrackCandidateMaker.h.

26 {return theSeedColl.begin()+1;}
void cms::CkfDebugTrackCandidateMaker::printHitsDebugger ( edm::Event e)
inlineprivatevirtual

Reimplemented from cms::CkfTrackCandidateMakerBase.

Definition at line 36 of file CkfDebugTrackCandidateMaker.h.

References dbg, and CkfDebugger::printSimHits().

36 {dbg->printSimHits(e);};
void printSimHits(const edm::Event &iEvent)
Definition: CkfDebugger.cc:156
virtual void cms::CkfDebugTrackCandidateMaker::produce ( edm::Event e,
const edm::EventSetup es 
)
inlineoverridevirtual

Implements edm::EDProducer.

Definition at line 21 of file CkfDebugTrackCandidateMaker.h.

References cms::CkfTrackCandidateMakerBase::produceBase().

21 {produceBase(e,es);}
virtual void produceBase(edm::Event &e, const edm::EventSetup &es)

Member Data Documentation

CkfDebugger* cms::CkfDebugTrackCandidateMaker::dbg
private
const CkfDebugTrajectoryBuilder* cms::CkfDebugTrackCandidateMaker::myTrajectoryBuilder
private

Definition at line 41 of file CkfDebugTrackCandidateMaker.h.

Referenced by initDebugger().