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 
25 
26 namespace edm {class ParameterSet; class Event; class EventSetup;}
27 
28 class Trajectory;
31 
33 
34 public:
39 
44  typedef std::pair<const Trajectory*,reco::TrackRef> TrackCand;
45 
48 
51 
53  std::vector<Trajectory*> trajectories(const TrajectorySeed&) {return std::vector<Trajectory*>();}
54 
56 
59 
61  std::vector<TrackCand> match(const TrackCand&, const edm::Handle<reco::TrackCollection>& );
62 
63  virtual void setEvent(const edm::Event&);
64 
65 private:
66 
68 
70 
72 
74 
75  bool isTraversing(const reco::Track& tk) const;
76 
78 
80 
82 
85 
88 
91 
93 
95 
96  const std::vector<Trajectory>* allTrackerTrajs;
97 
99 
100 };
101 #endif
MuonCandidate::CandidateContainer CandidateContainer
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
edm::EDGetTokenT< reco::TrackCollection > theTkTrackToken
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
GlobalCosmicMuonTrajectoryBuilder(const edm::ParameterSet &, const MuonServiceProxy *service, edm::ConsumesCollector &iC)
Constructor.
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
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer