CMS 3D CMS Logo

CkfTrackCandidateMakerBase.h
Go to the documentation of this file.
1 #ifndef CkfTrackCandidateMakerBase_h
2 #define CkfTrackCandidateMakerBase_h
3 
7 
11 
14 
16 
20 
29 
30 #include <memory>
31 
35 
36 namespace cms {
38  public:
40 
41  virtual ~CkfTrackCandidateMakerBase() noexcept(false);
42 
43  virtual void beginRunBase(edm::Run const&, edm::EventSetup const& es);
44 
45  virtual void produceBase(edm::Event& e, const edm::EventSetup& es);
46 
48 
49  protected:
57 
58  unsigned int theMaxNSeeds;
59 
60  std::unique_ptr<BaseCkfTrajectoryBuilder> theTrajectoryBuilder;
61 
64 
65  std::unique_ptr<TransientInitialStateEstimator> theInitialState;
66 
69 
72 
73  std::unique_ptr<RedundantSeedCleaner> theSeedCleaner;
74 
76 
79 
81  bool const skipClusters_;
82 
84  bool const skipPhase2Clusters_;
85 
92 
93  // methods for debugging
94  virtual TrajectorySeedCollection::const_iterator lastSeed(TrajectorySeedCollection const& theSeedColl) {
95  return theSeedColl.end();
96  }
97  virtual void printHitsDebugger(edm::Event& e) { ; }
98  virtual void countSeedsDebugger() { ; }
99  virtual void deleteAssocDebugger() { ; }
100 
101  private:
103  void setEventSetup(const edm::EventSetup& es);
104  };
105 } // namespace cms
106 
107 #endif
CkfTrackCandidateMakerBase(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< StripClusterMask > maskStrips_
std::unique_ptr< TransientInitialStateEstimator > theInitialState
virtual void printHitsDebugger(edm::Event &e)
virtual ~CkfTrackCandidateMakerBase() noexcept(false)
edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > PixelClusterMask
std::unique_ptr< RedundantSeedCleaner > theSeedCleaner
edm::EDGetTokenT< PixelClusterMask > maskPixels_
edm::ESGetToken< TrajectoryCleaner, TrajectoryCleaner::Record > theTrajectoryCleanerToken
std::vector< TrajectorySeed > TrajectorySeedCollection
const TrajectoryCleaner * theTrajectoryCleaner
const NavigationSchool * theNavigationSchool
virtual void produceBase(edm::Event &e, const edm::EventSetup &es)
std::unique_ptr< BaseCkfTrajectoryBuilder > theTrajectoryBuilder
edm::EDGetTokenT< MeasurementTrackerEvent > theMTELabel
edm::EDGetTokenT< Phase2OTClusterMask > maskPhase2OTs_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerToken
edm::EDGetTokenT< edm::View< TrajectorySeed > > theSeedLabel
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Namespace of DDCMS conversion namespace.
edm::ContainerMask< edmNew::DetSetVector< Phase2TrackerCluster1D > > Phase2OTClusterMask
virtual TrajectorySeedCollection::const_iterator lastSeed(TrajectorySeedCollection const &theSeedColl)
edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorToken
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
virtual void beginRunBase(edm::Run const &, edm::EventSetup const &es)
edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > StripClusterMask
Definition: Run.h:45
edm::ESGetToken< NavigationSchool, NavigationSchoolRecord > theNavigationSchoolToken