CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Protected Attributes
ConversionTrackFinder Class Referenceabstract

#include <ConversionTrackFinder.h>

Inheritance diagram for ConversionTrackFinder:
InOutConversionTrackFinder OutInConversionTrackFinder

Classes

struct  ExtractChi2
 
struct  ExtractNumOfHits
 

Public Member Functions

 ConversionTrackFinder (const edm::ParameterSet &config, const BaseCkfTrajectoryBuilder *trajectoryBuilder, edm::ConsumesCollector iC)
 
void setEventSetup (const edm::EventSetup &es)
 Initialize EventSetup objects at each event. More...
 
virtual std::vector< Trajectorytracks (const TrajectorySeedCollection &seeds, TrackCandidateCollection &candidate) const =0
 
virtual ~ConversionTrackFinder ()
 

Protected Attributes

const BaseCkfTrajectoryBuildertheCkfTrajectoryBuilder_
 
std::unique_ptr< TransientInitialStateEstimatortheInitialState_
 
const MeasurementTrackertheMeasurementTracker_
 
std::string theMeasurementTrackerName_
 
edm::ESGetToken< MeasurementTracker, CkfComponentsRecordtheMeasurementTrackerToken_
 
const MagneticFieldtheMF_
 
edm::ESHandle< PropagatorthePropagator_
 
edm::ESGetToken< Propagator, TrackerDigiGeometryRecordthePropagatorToken_
 
const TrackerGeometrytheTrackerGeom_
 
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordtheTrackerGeomToken_
 
KFUpdatortheUpdator_
 
bool useSplitHits_
 

Detailed Description

Author
Nancy Marinelli, U. of Notre Dame, US

Definition at line 33 of file ConversionTrackFinder.h.

Constructor & Destructor Documentation

◆ ConversionTrackFinder()

ConversionTrackFinder::ConversionTrackFinder ( const edm::ParameterSet config,
const BaseCkfTrajectoryBuilder trajectoryBuilder,
edm::ConsumesCollector  iC 
)

Definition at line 16 of file ConversionTrackFinder.cc.

References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theMeasurementTrackerName_, and useSplitHits_.

19  : theCkfTrajectoryBuilder_(trajectoryBuilder),
21  conf.getParameter<edm::ParameterSet>("TransientInitialStateEstimatorParameters"), iC)),
22  theTrackerGeom_(nullptr),
23  theUpdator_(nullptr),
24  thePropagator_(nullptr),
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 }
edm::ESGetToken< Propagator, TrackerDigiGeometryRecord > thePropagatorToken_
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
std::string theMeasurementTrackerName_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerGeomToken_
edm::ESGetToken< MeasurementTracker, CkfComponentsRecord > theMeasurementTrackerToken_
const TrackerGeometry * theTrackerGeom_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_

◆ ~ConversionTrackFinder()

ConversionTrackFinder::~ConversionTrackFinder ( )
virtual

Definition at line 35 of file ConversionTrackFinder.cc.

35 {}

Member Function Documentation

◆ setEventSetup()

void ConversionTrackFinder::setEventSetup ( const edm::EventSetup es)

Initialize EventSetup objects at each event.

Definition at line 37 of file ConversionTrackFinder.cc.

References edm::EventSetup::getData(), edm::EventSetup::getHandle(), BaseCkfTrajectoryBuilder::hitBuilder(), theCkfTrajectoryBuilder_, theInitialState_, theMeasurementTracker_, theMeasurementTrackerToken_, thePropagator_, thePropagatorToken_, theTrackerGeom_, and theTrackerGeomToken_.

Referenced by ConversionTrackCandidateProducer::setEventSetup().

37  {
39 
41 
43  theInitialState_->setEventSetup(
44  es, static_cast<TkTransientTrackingRecHitBuilder const*>(theCkfTrajectoryBuilder_->hitBuilder())->cloner());
45 }
edm::ESGetToken< Propagator, TrackerDigiGeometryRecord > thePropagatorToken_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerGeomToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
const TransientTrackingRecHitBuilder * hitBuilder() const
edm::ESGetToken< MeasurementTracker, CkfComponentsRecord > theMeasurementTrackerToken_
const MeasurementTracker * theMeasurementTracker_
const TrackerGeometry * theTrackerGeom_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_

◆ tracks()

virtual std::vector<Trajectory> ConversionTrackFinder::tracks ( const TrajectorySeedCollection seeds,
TrackCandidateCollection candidate 
) const
pure virtual

Member Data Documentation

◆ theCkfTrajectoryBuilder_

const BaseCkfTrajectoryBuilder* ConversionTrackFinder::theCkfTrajectoryBuilder_
protected

◆ theInitialState_

std::unique_ptr<TransientInitialStateEstimator> ConversionTrackFinder::theInitialState_
protected

◆ theMeasurementTracker_

const MeasurementTracker* ConversionTrackFinder::theMeasurementTracker_
protected

Definition at line 51 of file ConversionTrackFinder.h.

Referenced by setEventSetup(), and OutInConversionTrackFinder::tracks().

◆ theMeasurementTrackerName_

std::string ConversionTrackFinder::theMeasurementTrackerName_
protected

Definition at line 50 of file ConversionTrackFinder.h.

Referenced by ConversionTrackFinder().

◆ theMeasurementTrackerToken_

edm::ESGetToken<MeasurementTracker, CkfComponentsRecord> ConversionTrackFinder::theMeasurementTrackerToken_
protected

Definition at line 60 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

◆ theMF_

const MagneticField* ConversionTrackFinder::theMF_
protected

Definition at line 48 of file ConversionTrackFinder.h.

◆ thePropagator_

edm::ESHandle<Propagator> ConversionTrackFinder::thePropagator_
protected

◆ thePropagatorToken_

edm::ESGetToken<Propagator, TrackerDigiGeometryRecord> ConversionTrackFinder::thePropagatorToken_
protected

Definition at line 62 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

◆ theTrackerGeom_

const TrackerGeometry* ConversionTrackFinder::theTrackerGeom_
protected

Definition at line 55 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

◆ theTrackerGeomToken_

edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> ConversionTrackFinder::theTrackerGeomToken_
protected

Definition at line 61 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

◆ theUpdator_

KFUpdator* ConversionTrackFinder::theUpdator_
protected

Definition at line 56 of file ConversionTrackFinder.h.

◆ useSplitHits_

bool ConversionTrackFinder::useSplitHits_
protected