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 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
virtual void produce(edm::Event &, const edm::EventSetup &)=0
Method where the procduction take place. To be implemented in concrete classes.
void setConf(edm::ParameterSet conf)
Set parameter set.
TrackProducerBase(bool trajectoryInEvent=false)
Constructor.
std::vector< AlgoProduct > AlgoProductCollection
void setSrc(edm::InputTag src, edm::InputTag bsSrc)
set label of source collection
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.