test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
< TransientInitialStateEstimator
theInitialState_
 
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 29 of file ConversionTrackFinder.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file ConversionTrackFinder.cc.

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

16  :
17  theCkfTrajectoryBuilder_(trajectoryBuilder),
18  theInitialState_(new TransientInitialStateEstimator(conf.getParameter<edm::ParameterSet>("TransientInitialStateEstimatorParameters"))),
19  theTrackerGeom_(nullptr),
20  theUpdator_(nullptr),
21  thePropagator_(nullptr)
22 {
23  // std::cout << " ConversionTrackFinder base CTOR " << std::endl;
24  useSplitHits_ = conf.getParameter<bool>("useHitsSplitting");
25  theMeasurementTrackerName_ = conf.getParameter<std::string>("MeasurementTrackerName");
26 }
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
std::string theMeasurementTrackerName_
tuple conf
Definition: dbtoconf.py:185
const TrackerGeometry * theTrackerGeom_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_
ConversionTrackFinder::~ConversionTrackFinder ( )
virtual

Definition at line 29 of file ConversionTrackFinder.cc.

29  {
30 }

Member Function Documentation

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

Initialize EventSetup objects at each event.

Definition at line 33 of file ConversionTrackFinder.cc.

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

33  {
34 
35  edm::ESHandle<MeasurementTracker> measurementTrackerHandle;
36  es.get<CkfComponentsRecord>().get(theMeasurementTrackerName_,measurementTrackerHandle);
37  theMeasurementTracker_ = measurementTrackerHandle.product();
38 
39  edm::ESHandle<TrackerGeometry> trackerHandle;
40  es.get<TrackerDigiGeometryRecord>().get(trackerHandle);
41  theTrackerGeom_= trackerHandle.product();
42 
43  es.get<TrackingComponentsRecord>().get("AnyDirectionAnalyticalPropagator",
45 
46  theInitialState_->setEventSetup( es, static_cast<TkTransientTrackingRecHitBuilder const *>(theCkfTrajectoryBuilder_->hitBuilder())->cloner() );
47 }
edm::ESHandle< Propagator > thePropagator_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
const TransientTrackingRecHitBuilder * hitBuilder() const
std::string theMeasurementTrackerName_
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
const MeasurementTracker * theMeasurementTracker_
const TrackerGeometry * theTrackerGeom_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_
virtual std::vector<Trajectory> ConversionTrackFinder::tracks ( const TrajectorySeedCollection seeds,
TrackCandidateCollection candidate 
) const
pure virtual

Member Data Documentation

const BaseCkfTrajectoryBuilder* ConversionTrackFinder::theCkfTrajectoryBuilder_
protected
std::unique_ptr<TransientInitialStateEstimator> ConversionTrackFinder::theInitialState_
protected
const MeasurementTracker* ConversionTrackFinder::theMeasurementTracker_
protected

Definition at line 49 of file ConversionTrackFinder.h.

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

std::string ConversionTrackFinder::theMeasurementTrackerName_
protected

Definition at line 48 of file ConversionTrackFinder.h.

Referenced by ConversionTrackFinder(), and setEventSetup().

const MagneticField* ConversionTrackFinder::theMF_
protected

Definition at line 46 of file ConversionTrackFinder.h.

edm::ESHandle<Propagator> ConversionTrackFinder::thePropagator_
protected
const TrackerGeometry* ConversionTrackFinder::theTrackerGeom_
protected

Definition at line 53 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

KFUpdator* ConversionTrackFinder::theUpdator_
protected

Definition at line 54 of file ConversionTrackFinder.h.

bool ConversionTrackFinder::useSplitHits_
protected