CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalCosmicMuonTrajectoryBuilder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_CosmicMuonProducer_GlobalCosmicMuonTrajectoryBuilder_H
2 #define RecoMuon_CosmicMuonProducer_GlobalCosmicMuonTrajectoryBuilder_H
3 
27 
28 namespace edm {class ParameterSet; class Event; class EventSetup;}
29 
30 class Trajectory;
33 
35 
36 public:
41 
46  typedef std::pair<const Trajectory*,reco::TrackRef> TrackCand;
47 
50 
53 
55  std::vector<Trajectory*> trajectories(const TrajectorySeed&) {return std::vector<Trajectory*>();}
56 
58 
61 
63  std::vector<TrackCand> match(const TrackCand&, const edm::Handle<reco::TrackCollection>& );
64 
65  virtual void setEvent(const edm::Event&);
66 
67 private:
68 
70 
72 
74 
76 
77  bool isTraversing(const reco::Track& tk) const;
78 
80 
82 
84 
85  std::string thePropagatorName;
87 
90 
93 
95 
97 
98  const std::vector<Trajectory>* allTrackerTrajs;
99 
100  std::string category_;
101 
102 };
103 #endif
MuonCandidate::CandidateContainer CandidateContainer
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
std::vector< Trajectory * > trajectories(const TrajectorySeed &)
dummy implementation, unused in this class
TransientTrackingRecHit::RecHitPointer RecHitPointer
TransientTrackingRecHit::RecHitContainer RecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
ConstRecHitContainer getTransientRecHits(const reco::Track &) const
std::pair< const Trajectory *, reco::TrackRef > TrackCand
bool isTraversing(const reco::Track &tk) const
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
void sortHits(ConstRecHitContainer &, ConstRecHitContainer &, ConstRecHitContainer &)
virtual void setEvent(const edm::Event &)
pass the Event to the algo at each event
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::vector< TrackCand > match(const TrackCand &, const edm::Handle< reco::TrackCollection > &)
check if tk and muon Tracks are matched
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
const std::vector< Trajectory > * allTrackerTrajs
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
CosmicMuonUtilities * utilities() const
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
edm::Handle< reco::TrackCollection > theTrackerTracks
GlobalCosmicMuonTrajectoryBuilder(const edm::ParameterSet &, const MuonServiceProxy *service)
Constructor.
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer