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::EventSetup &es, const edm::ParameterSet &config)
 
void setEventSetup (const edm::EventSetup &es)
 Initialize EventSetup objects at each event. More...
 
void setTrajectoryBuilder (const TrajectoryBuilder &builder)
 
virtual std::vector< Trajectorytracks (const TrajectorySeedCollection &seeds, TrackCandidateCollection &candidate) const =0
 
virtual ~ConversionTrackFinder ()
 

Protected Attributes

edm::ParameterSet conf_
 
const TrajectoryBuildertheCkfTrajectoryBuilder_
 
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 29 of file ConversionTrackFinder.h.

Constructor & Destructor Documentation

ConversionTrackFinder::ConversionTrackFinder ( const edm::EventSetup es,
const edm::ParameterSet config 
)

Definition at line 15 of file ConversionTrackFinder.cc.

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

16  :
17  conf_(conf),
20  theTrackerGeom_(0),
21  theUpdator_(0),
22  thePropagator_(0)
23 {
24  // std::cout << " ConversionTrackFinder base CTOR " << std::endl;
25 
26  edm::ParameterSet tise_params = conf_.getParameter<edm::ParameterSet>("TransientInitialStateEstimatorParameters") ;
27  theInitialState_ = new TransientInitialStateEstimator( es, tise_params);
28  useSplitHits_ = conf_.getParameter<bool>("useHitsSplitting");
29 
30  theMeasurementTrackerName_ = conf.getParameter<std::string>("MeasurementTrackerName");
31 
32 }
T getParameter(std::string const &) const
const TrajectoryBuilder * theCkfTrajectoryBuilder_
edm::ESHandle< Propagator > thePropagator_
TransientInitialStateEstimator * theInitialState_
std::string theMeasurementTrackerName_
tuple conf
Definition: dbtoconf.py:185
const TrackerGeometry * theTrackerGeom_
ConversionTrackFinder::~ConversionTrackFinder ( )
virtual

Definition at line 35 of file ConversionTrackFinder.cc.

References theInitialState_.

35  {
36 
37 
38  delete theInitialState_;
39 
40 }
TransientInitialStateEstimator * theInitialState_

Member Function Documentation

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

Initialize EventSetup objects at each event.

Definition at line 43 of file ConversionTrackFinder.cc.

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

Referenced by ConversionTrackCandidateProducer::setEventSetup().

43  {
44 
45  edm::ESHandle<MeasurementTracker> measurementTrackerHandle;
46  es.get<CkfComponentsRecord>().get(theMeasurementTrackerName_,measurementTrackerHandle);
47  theMeasurementTracker_ = measurementTrackerHandle.product();
48 
49  edm::ESHandle<TrackerGeometry> trackerHandle;
50  es.get<TrackerDigiGeometryRecord>().get(trackerHandle);
51  theTrackerGeom_= trackerHandle.product();
52 
53  es.get<TrackingComponentsRecord>().get("AnyDirectionAnalyticalPropagator",
55 
57 }
void setEventSetup(const edm::EventSetup &es)
Call this at each event until this object will come from the EventSetup as it should.
edm::ESHandle< Propagator > thePropagator_
TransientInitialStateEstimator * theInitialState_
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_
void ConversionTrackFinder::setTrajectoryBuilder ( const TrajectoryBuilder builder)

Definition at line 59 of file ConversionTrackFinder.cc.

References theCkfTrajectoryBuilder_.

Referenced by ConversionTrackCandidateProducer::produce().

59  {
60  theCkfTrajectoryBuilder_ = & builder;
61 }
const TrajectoryBuilder * theCkfTrajectoryBuilder_
virtual std::vector<Trajectory> ConversionTrackFinder::tracks ( const TrajectorySeedCollection seeds,
TrackCandidateCollection candidate 
) const
pure virtual

Member Data Documentation

edm::ParameterSet ConversionTrackFinder::conf_
protected
const TrajectoryBuilder* ConversionTrackFinder::theCkfTrajectoryBuilder_
protected
TransientInitialStateEstimator* ConversionTrackFinder::theInitialState_
protected
const MeasurementTracker* ConversionTrackFinder::theMeasurementTracker_
protected

Definition at line 59 of file ConversionTrackFinder.h.

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

std::string ConversionTrackFinder::theMeasurementTrackerName_
protected

Definition at line 58 of file ConversionTrackFinder.h.

Referenced by ConversionTrackFinder(), and setEventSetup().

const MagneticField* ConversionTrackFinder::theMF_
protected

Definition at line 56 of file ConversionTrackFinder.h.

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

Definition at line 63 of file ConversionTrackFinder.h.

Referenced by setEventSetup().

KFUpdator* ConversionTrackFinder::theUpdator_
protected

Definition at line 64 of file ConversionTrackFinder.h.

bool ConversionTrackFinder::useSplitHits_
protected