CMS 3D CMS Logo

StandAloneTrajectoryBuilder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackFinder_StandAloneTrajectoryBuilder_H
2 #define RecoMuon_TrackFinder_StandAloneTrajectoryBuilder_H
3 
11 
14 
15 class TrajectorySeed;
19 class MuonServiceProxy;
20 class SeedTransformer;
21 
22 namespace edm {
23  class ParameterSet;
24 }
25 
27 public:
28  typedef std::pair<const DetLayer*, TrajectoryStateOnSurface> DetLayerWithState;
29 
30 public:
33 
36 
37  // Returns a vector of the reconstructed trajectories compatible with
38  // the given seed.
40 
43 
45  StandAloneMuonFilter* filter() const { return theFilter.get(); }
46 
48  StandAloneMuonFilter* bwfilter() const { return theBWFilter.get(); }
49 
51  StandAloneMuonRefitter* refitter() const { return theRefitter.get(); }
52 
54  void setEvent(const edm::Event& event) override;
55 
56 protected:
57 private:
59 
60 private:
64 
66 
69 
70  std::unique_ptr<StandAloneMuonFilter> theFilter;
71  std::unique_ptr<StandAloneMuonFilter> theBWFilter;
72  // FIXME
73  // StandAloneMuonBackwardFilter* theBWFilter;
74  std::unique_ptr<StandAloneMuonRefitter> theRefitter;
75  std::unique_ptr<SeedTransformer> theSeedTransformer;
76 
78  bool doRefit;
81 
83 };
84 #endif
MuonCandidate::CandidateContainer CandidateContainer
std::pair< const Trajectory *, reco::TrackRef > TrackCand
StandAloneMuonTrajectoryBuilder(const edm::ParameterSet &, const MuonServiceProxy *, edm::ConsumesCollector &iC)
Constructor with Parameter set and MuonServiceProxy.
MuonCandidate::TrajectoryContainer TrajectoryContainer
StandAloneMuonFilter * bwfilter() const
actual filter
StandAloneMuonFilter * filter() const
pre-filter
StandAloneMuonRefitter * refitter() const
refitter of the hits container
~StandAloneMuonTrajectoryBuilder() override
Destructor.
TrajectoryContainer trajectories(const TrajectorySeed &) override
return a container of the reconstructed trajectories compatible with a given seed ...
Definition: DetId.h:17
std::unique_ptr< StandAloneMuonFilter > theBWFilter
HLT enums.
std::unique_ptr< StandAloneMuonFilter > theFilter
std::unique_ptr< StandAloneMuonRefitter > theRefitter
std::string theSeedPropagatorName
Propagator for the seed extrapolation.
std::pair< const DetLayer *, TrajectoryStateOnSurface > DetLayerWithState
CandidateContainer trajectories(const TrackCand &) override
dummy implementation, unused in this class
void setEvent(const edm::Event &event) override
Pass the Event to the algo at each event.
std::unique_ptr< SeedTransformer > theSeedTransformer
DetLayerWithState propagateTheSeedTSOS(TrajectoryStateOnSurface &aTSOS, DetId &aDetId)
Definition: event.py:1