1 #ifndef TrackProducerBase_h
2 #define TrackProducerBase_h
40 typedef std::pair<Trajectory*, std::pair<T*,PropagationDirection> >
AlgoProduct;
76 alias.erase(alias.size()-6,alias.size());
106 #include "RecoTracker/TrackProducer/interface/TrackProducerBase.icc"
virtual void getFromEvt(edm::Event &, edm::Handle< TrackCandidateCollection > &, reco::BeamSpot &)
Get TrackCandidateCollection from the Event (needed by TrackProducer)
std::vector< T > TrackCollection
edm::InputTag clusterRemovalInfo_
void setSrc(const edm::InputTag &src, const edm::InputTag &bsSrc)
set label of source collection
void setSecondHitPattern(Trajectory *traj, T &track, const Propagator *prop, const MeasurementTracker *measTk)
void setClusterRemovalInfo(const edm::InputTag &clusterRemovalInfo)
Sets the information on cluster removal, and turns it on.
void setAlias(std::string alias)
set the aliases of produced collections
void setConf(const edm::ParameterSet &conf)
Set parameter set.
virtual void produce(edm::Event &, const edm::EventSetup &)=0
Method where the procduction take place. To be implemented in concrete classes.
TrackProducerBase(bool trajectoryInEvent=false)
Constructor.
std::vector< AlgoProduct > AlgoProductCollection
virtual ~TrackProducerBase()
Destructor.
edm::ESHandle< NavigationSchool > theSchool
std::pair< Trajectory *, std::pair< T *, PropagationDirection > > AlgoProduct
edm::OrphanHandle< TrackCollection > rTracks_
const edm::ParameterSet & getConf() const
virtual void getFromES(const edm::EventSetup &, edm::ESHandle< TrackerGeometry > &, edm::ESHandle< MagneticField > &, edm::ESHandle< TrajectoryFitter > &, edm::ESHandle< Propagator > &, edm::ESHandle< MeasurementTracker > &, edm::ESHandle< TransientTrackingRecHitBuilder > &)
Get needed services from the Event Setup.