CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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_
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
bool getData(T &iHolder) const
Definition: EventSetup.h:128
const TransientTrackingRecHitBuilder * hitBuilder() const
std::string theMeasurementTrackerName_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerGeomToken_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ESGetToken< MeasurementTracker, CkfComponentsRecord > theMeasurementTrackerToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:157
const MeasurementTracker * theMeasurementTracker_
const TrackerGeometry * theTrackerGeom_
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
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)