CMS 3D CMS Logo

CkfTrackCandidateMakerBase.h
Go to the documentation of this file.
1 #ifndef CkfTrackCandidateMakerBase_h
2 #define CkfTrackCandidateMakerBase_h
3 
8 
10 
13 
15 
19 
28 
29 #include <memory>
30 
32 
33 namespace cms {
35  public:
37 
38  virtual ~CkfTrackCandidateMakerBase() noexcept(false);
39 
40  virtual void beginRunBase(edm::Run const&, edm::EventSetup const& es);
41 
42  virtual void produceBase(edm::Event& e, const edm::EventSetup& es);
43 
44  protected:
52 
53  unsigned int theMaxNSeeds;
54 
55  std::unique_ptr<BaseCkfTrajectoryBuilder> theTrajectoryBuilder;
56 
59 
60  std::unique_ptr<TransientInitialStateEstimator> theInitialState;
61 
65 
68 
69  std::unique_ptr<RedundantSeedCleaner> theSeedCleaner;
70 
72 
75 
84 
85  // methods for debugging
86  virtual TrajectorySeedCollection::const_iterator lastSeed(TrajectorySeedCollection const& theSeedColl) {
87  return theSeedColl.end();
88  }
89  virtual void printHitsDebugger(edm::Event& e) { ; }
90  virtual void countSeedsDebugger() { ; }
91  virtual void deleteAssocDebugger() { ; }
92 
93  private:
95  void setEventSetup(const edm::EventSetup& es);
96  };
97 } // namespace cms
98 
99 #endif
CkfTrackCandidateMakerBase(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< StripClusterMask > maskStrips_
std::unique_ptr< TransientInitialStateEstimator > theInitialState
virtual void printHitsDebugger(edm::Event &e)
edm::ESHandle< GeometricSearchTracker > theGeomSearchTracker
edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > PixelClusterMask
std::unique_ptr< RedundantSeedCleaner > theSeedCleaner
edm::EDGetTokenT< PixelClusterMask > maskPixels_
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::EDGetTokenT< edm::View< TrajectorySeed > > theSeedLabel
Namespace of DDCMS conversion namespace.
#define noexcept
edm::ContainerMask< edmNew::DetSetVector< Phase2TrackerCluster1D > > Phase2OTClusterMask
virtual TrajectorySeedCollection::const_iterator lastSeed(TrajectorySeedCollection const &theSeedColl)
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::ESHandle< MagneticField > theMagField