CMS 3D CMS Logo

ConversionTrackFinder.cc
Go to the documentation of this file.
1 //
3 //
8 //
9 
11 //
12 //
13 
14 #include <sstream>
15 
17  const BaseCkfTrajectoryBuilder* trajectoryBuilder,
19  : theCkfTrajectoryBuilder_(trajectoryBuilder),
20  theInitialState_(new TransientInitialStateEstimator(
21  conf.getParameter<edm::ParameterSet>("TransientInitialStateEstimatorParameters"), iC)),
22  theTrackerGeom_(nullptr),
23  theUpdator_(nullptr),
24  thePropagator_(nullptr),
25  theMeasurementTrackerToken_(iC.esConsumes(edm::ESInputTag("", theMeasurementTrackerName_))),
26  theTrackerGeomToken_(iC.esConsumes()),
27  thePropagatorToken_(iC.esConsumes(edm::ESInputTag("", "AnyDirectionAnalyticalPropagator")))
28 
29 {
30  // std::cout << " ConversionTrackFinder base CTOR " << std::endl;
31  useSplitHits_ = conf.getParameter<bool>("useHitsSplitting");
32  theMeasurementTrackerName_ = conf.getParameter<std::string>("MeasurementTrackerName");
33 }
34 
36 
39 
41 
43  theInitialState_->setEventSetup(
44  es, static_cast<TkTransientTrackingRecHitBuilder const*>(theCkfTrajectoryBuilder_->hitBuilder())->cloner());
45 }
edm::ESGetToken< Propagator, TrackerDigiGeometryRecord > thePropagatorToken_
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
std::string theMeasurementTrackerName_
bool getData(T &iHolder) const
Definition: EventSetup.h:122
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerGeomToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:151
const TransientTrackingRecHitBuilder * hitBuilder() const
HLT enums.
edm::ESGetToken< MeasurementTracker, CkfComponentsRecord > theMeasurementTrackerToken_
const MeasurementTracker * theMeasurementTracker_
const TrackerGeometry * theTrackerGeom_
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_
ConversionTrackFinder(const edm::ParameterSet &config, const BaseCkfTrajectoryBuilder *trajectoryBuilder, edm::ConsumesCollector iC)