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)
 
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_
 
const MagneticFieldtheMF_
 
edm::ESHandle< PropagatorthePropagator_
 
const TrackerGeometrytheTrackerGeom_
 
KFUpdatortheUpdator_
 
bool useSplitHits_
 

Detailed Description

Author
Nancy Marinelli, U. of Notre Dame, US

Definition at line 31 of file ConversionTrackFinder.h.

Constructor & Destructor Documentation

◆ ConversionTrackFinder()

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

Definition at line 16 of file ConversionTrackFinder.cc.

18  : theCkfTrajectoryBuilder_(trajectoryBuilder),
20  conf.getParameter<edm::ParameterSet>("TransientInitialStateEstimatorParameters"))),
21  theTrackerGeom_(nullptr),
22  theUpdator_(nullptr),
23  thePropagator_(nullptr) {
24  // std::cout << " ConversionTrackFinder base CTOR " << std::endl;
25  useSplitHits_ = conf.getParameter<bool>("useHitsSplitting");
26  theMeasurementTrackerName_ = conf.getParameter<std::string>("MeasurementTrackerName");
27 }

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

◆ ~ConversionTrackFinder()

ConversionTrackFinder::~ConversionTrackFinder ( )
virtual

Definition at line 29 of file ConversionTrackFinder.cc.

29 {}

Member Function Documentation

◆ setEventSetup()

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

Initialize EventSetup objects at each event.

Definition at line 31 of file ConversionTrackFinder.cc.

31  {
32  edm::ESHandle<MeasurementTracker> measurementTrackerHandle;
33  es.get<CkfComponentsRecord>().get(theMeasurementTrackerName_, measurementTrackerHandle);
34  theMeasurementTracker_ = measurementTrackerHandle.product();
35 
36  edm::ESHandle<TrackerGeometry> trackerHandle;
37  es.get<TrackerDigiGeometryRecord>().get(trackerHandle);
38  theTrackerGeom_ = trackerHandle.product();
39 
40  es.get<TrackingComponentsRecord>().get("AnyDirectionAnalyticalPropagator", thePropagator_);
41 
42  theInitialState_->setEventSetup(
43  es, static_cast<TkTransientTrackingRecHitBuilder const*>(theCkfTrajectoryBuilder_->hitBuilder())->cloner());
44 }

References edm::EventSetup::get(), get, BaseCkfTrajectoryBuilder::hitBuilder(), edm::ESHandle< T >::product(), theCkfTrajectoryBuilder_, theInitialState_, theMeasurementTracker_, theMeasurementTrackerName_, thePropagator_, and theTrackerGeom_.

Referenced by ConversionTrackCandidateProducer::setEventSetup().

◆ 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 47 of file ConversionTrackFinder.h.

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

◆ theMeasurementTrackerName_

std::string ConversionTrackFinder::theMeasurementTrackerName_
protected

Definition at line 46 of file ConversionTrackFinder.h.

Referenced by ConversionTrackFinder(), and setEventSetup().

◆ theMF_

const MagneticField* ConversionTrackFinder::theMF_
protected

Definition at line 44 of file ConversionTrackFinder.h.

◆ thePropagator_

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

◆ theTrackerGeom_

const TrackerGeometry* ConversionTrackFinder::theTrackerGeom_
protected

Definition at line 51 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

◆ theUpdator_

KFUpdator* ConversionTrackFinder::theUpdator_
protected

Definition at line 52 of file ConversionTrackFinder.h.

◆ useSplitHits_

bool ConversionTrackFinder::useSplitHits_
protected
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
ConversionTrackFinder::useSplitHits_
bool useSplitHits_
Definition: ConversionTrackFinder.h:56
ConversionTrackFinder::theUpdator_
KFUpdator * theUpdator_
Definition: ConversionTrackFinder.h:52
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
CkfComponentsRecord
Definition: CkfComponentsRecord.h:22
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:16
edm::ESHandle< MeasurementTracker >
ConversionTrackFinder::theMeasurementTracker_
const MeasurementTracker * theMeasurementTracker_
Definition: ConversionTrackFinder.h:47
ConversionTrackFinder::thePropagator_
edm::ESHandle< Propagator > thePropagator_
Definition: ConversionTrackFinder.h:54
BaseCkfTrajectoryBuilder::hitBuilder
const TransientTrackingRecHitBuilder * hitBuilder() const
Definition: BaseCkfTrajectoryBuilder.h:104
ConversionTrackFinder::theMeasurementTrackerName_
std::string theMeasurementTrackerName_
Definition: ConversionTrackFinder.h:46
ConversionTrackFinder::theInitialState_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
Definition: ConversionTrackFinder.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
TransientInitialStateEstimator
Definition: TransientInitialStateEstimator.h:23
get
#define get
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConversionTrackFinder::theCkfTrajectoryBuilder_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_
Definition: ConversionTrackFinder.h:48
ConversionTrackFinder::theTrackerGeom_
const TrackerGeometry * theTrackerGeom_
Definition: ConversionTrackFinder.h:51
TrackingComponentsRecord
Definition: TrackingComponentsRecord.h:12