CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonTrackLoader.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonTrackLoader_H
2 #define RecoMuon_TrackingTools_MuonTrackLoader_H
3 
13 
19 
21 
24 
25 namespace edm {class Event; class EventSetup; class ParameterSet;}
26 
27 class Trajectory;
28 class Propagator;
29 class MuonServiceProxy;
31 class TrajectorySmoother;
32 class ForwardDetLayer;
33 class BarrelDetLayer;
34 
36  public:
37 
40 
43 
45  virtual ~MuonTrackLoader();
46 
49  edm::Event&,const std::string& = "",
50  bool = true);
51 
54  edm::Event&, std::vector<bool>&,
55  const std::string& = "",
56  bool = true);
57 
60  edm::Event&,const std::vector<std::pair<Trajectory*, reco::TrackRef> >&,
61  const std::string& = "",
62  bool = true);
63 
66  edm::Event&);
67 
68  private:
69 
71  std::pair<bool,reco::Track> buildTrackAtPCA(const Trajectory& trajectory, const reco::BeamSpot &) const;
72 
74  std::pair<bool,reco::Track> buildTrackUpdatedAtPCA(const reco::Track& trackAtPCA, const reco::BeamSpot &) const;
75 
77 
79 
82 
84 
88 
91 
97 };
98 #endif
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
MuonTrackLoader(edm::ParameterSet &parameterSet, edm::ConsumesCollector &iC, const MuonServiceProxy *service=0)
Constructor for the STA reco the args must be specify!
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:19
std::string theSmootherName
MuonCandidate::CandidateContainer CandidateContainer
edm::InputTag theBeamSpotInputTag
virtual ~MuonTrackLoader()
Destructor.
std::vector< MuonCandidate * > CandidateContainer
Definition: MuonCandidate.h:20
MuonUpdatorAtVertex * theUpdatorAtVtx
MuonCandidate::TrajectoryContainer TrajectoryContainer
edm::OrphanHandle< reco::TrackCollection > loadTracks(const TrajectoryContainer &, edm::Event &, const std::string &="", bool=true)
Convert the trajectories into tracks and load the tracks in the event.
std::string theL2SeededTkLabel
Label for L2SeededTracks.
reco::TrackExtra buildTrackExtra(const Trajectory &) const
std::pair< bool, reco::Track > buildTrackAtPCA(const Trajectory &trajectory, const reco::BeamSpot &) const
Build a track at the PCA WITHOUT any vertex constriant.
edm::ESHandle< TrajectorySmoother > theSmoother
const MuonServiceProxy * theService
std::pair< bool, reco::Track > buildTrackUpdatedAtPCA(const reco::Track &trackAtPCA, const reco::BeamSpot &) const
Takes a track at the PCA and applies the vertex constriant.
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11