CMS 3D CMS Logo

CosmicMuonSmoother.h
Go to the documentation of this file.
1 #ifndef CosmicMuonProducer_CosmicMuonSmoother_H
2 #define CosmicMuonProducer_CosmicMuonSmoother_H
3 
10 
18 
19 class Propagator;
20 class KFUpdator;
21 class MuonServiceProxy;
23 
24 namespace edm {
25  class ParameterSet;
26  class Event;
27  class EventSetup;
28 } // namespace edm
29 
30 class Trajectory;
32 
37 
39 public:
41  ~CosmicMuonSmoother() override;
42 
43  Trajectory trajectory(const Trajectory&) const override;
44 
45  TrajectoryContainer trajectories(const Trajectory& traj) const override {
47  }
48 
49  CosmicMuonSmoother* clone() const override { return new CosmicMuonSmoother(*this); }
50 
54  const TrajectoryStateOnSurface& firstPredTsos) const;
55 
57 
59 
60  const KFUpdator* updator() const { return theUpdator; }
61 
62  const CosmicMuonUtilities* utilities() const { return theUtilities; }
63 
64  const Chi2MeasurementEstimator* estimator() const { return theEstimator; }
65 
66  std::vector<Trajectory> fit(const Trajectory&) const;
67  std::vector<Trajectory> fit(const TrajectorySeed& seed,
69  const TrajectoryStateOnSurface& firstPredTsos) const;
70 
71  void setHitCloner(TkCloner const* hc) override {}
72 
73 private:
74  std::vector<Trajectory> smooth(const std::vector<Trajectory>&) const;
75  std::vector<Trajectory> smooth(const Trajectory&) const;
76 
78 
80 
84 
86 
91 };
92 #endif
TrajectorySmoother::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: TrajectorySmoother.h:13
CosmicMuonSmoother::trajectories
TrajectoryContainer trajectories(const Trajectory &traj) const override
Definition: CosmicMuonSmoother.h:45
TrajectoryStateOnSurface.h
service
Definition: service.py:1
CosmicMuonSmoother::fit
std::vector< Trajectory > fit(const Trajectory &) const
Definition: CosmicMuonSmoother.cc:93
CosmicMuonSmoother::category_
std::string category_
Definition: CosmicMuonSmoother.h:90
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator.h:15
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
CosmicMuonSmoother
Definition: CosmicMuonSmoother.h:38
MuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
Definition: CosmicMuonSmoother.h:31
CosmicMuonSmoother::setHitCloner
void setHitCloner(TkCloner const *hc) override
Definition: CosmicMuonSmoother.h:71
CosmicMuonSmoother::trajectory
Trajectory trajectory(const Trajectory &) const override
Definition: CosmicMuonSmoother.cc:58
CosmicMuonSmoother::updator
const KFUpdator * updator() const
Definition: CosmicMuonSmoother.h:60
edm
HLT enums.
Definition: AlignableModifier.h:19
CosmicMuonSmoother::theErrorRescaling
double theErrorRescaling
Definition: CosmicMuonSmoother.h:89
MuonTransientTrackingRecHit::ConstMuonRecHitContainer
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:27
TrajectoryMeasurement.h
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition: MuonTransientTrackingRecHit.h:26
TransientTrackingRecHit.h
CosmicMuonSmoother::CosmicMuonSmoother
CosmicMuonSmoother(const edm::ParameterSet &, const MuonServiceProxy *service)
Definition: CosmicMuonSmoother.cc:32
MuonTransientTrackingRecHit.h
TrajectorySmoother::trajectories
virtual TrajectoryContainer trajectories(const Trajectory &traj) const
Definition: TrajectorySmoother.h:18
fileCollector.seed
seed
Definition: fileCollector.py:127
TrajectorySmoother
Definition: TrajectorySmoother.h:11
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
CosmicMuonUtilities.h
TkCloner
Definition: TkCloner.h:16
CosmicMuonSmoother::utilities
const CosmicMuonUtilities * utilities() const
Definition: CosmicMuonSmoother.h:62
CosmicMuonSmoother::theService
const MuonServiceProxy * theService
Definition: CosmicMuonSmoother.h:85
CosmicMuonSmoother::propagatorOpposite
const Propagator * propagatorOpposite() const
Definition: CosmicMuonSmoother.h:58
Event
CosmicMuonSmoother::clone
CosmicMuonSmoother * clone() const override
Definition: CosmicMuonSmoother.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CosmicMuonUtilities
Definition: CosmicMuonUtilities.h:30
CosmicMuonSmoother::theUtilities
const CosmicMuonUtilities * theUtilities
Definition: CosmicMuonSmoother.h:83
CosmicMuonSmoother::propagatorAlong
const Propagator * propagatorAlong() const
Definition: CosmicMuonSmoother.h:56
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: TrackingRecHit.h:32
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition: TrackingRecHit.h:25
CosmicMuonSmoother::estimator
const Chi2MeasurementEstimator * estimator() const
Definition: CosmicMuonSmoother.h:64
MuonServiceProxy::propagator
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
Definition: MuonServiceProxy.cc:177
TrajectorySmoother.h
CosmicMuonSmoother::thePropagatorOppositeName
std::string thePropagatorOppositeName
Definition: CosmicMuonSmoother.h:88
CosmicMuonSmoother::sortHitsAlongMom
void sortHitsAlongMom(ConstRecHitContainer &hits, const TrajectoryStateOnSurface &) const
Definition: CosmicMuonSmoother.cc:447
Trajectory.h
CosmicMuonSmoother::thePropagatorAlongName
std::string thePropagatorAlongName
Definition: CosmicMuonSmoother.h:87
CosmicMuonSmoother::smooth
std::vector< Trajectory > smooth(const std::vector< Trajectory > &) const
Definition: CosmicMuonSmoother.cc:240
ConstRecHitContainer
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
Definition: MillePedeAlignmentAlgorithm.cc:74
ConstRecHitPointer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition: CosmicMuonSmoother.h:34
Trajectory
Definition: Trajectory.h:38
CosmicMuonSmoother::theEstimator
const Chi2MeasurementEstimator * theEstimator
Definition: CosmicMuonSmoother.h:82
MuonServiceProxy.h
CosmicMuonSmoother::initialState
TrajectoryStateOnSurface initialState(const Trajectory &) const
Definition: CosmicMuonSmoother.cc:402
TrajectorySeed
Definition: TrajectorySeed.h:18
ConstMuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
Definition: CosmicMuonSmoother.h:36
CosmicMuonSmoother::~CosmicMuonSmoother
~CosmicMuonSmoother() override
Definition: CosmicMuonSmoother.cc:46
EventSetup
MuonServiceProxy
Definition: MuonServiceProxy.h:38
CosmicMuonSmoother::theUpdator
const KFUpdator * theUpdator
Definition: CosmicMuonSmoother.h:81
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
KFUpdator
Definition: KFUpdator.h:32
ConstRecHitContainer
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
Definition: CosmicMuonSmoother.h:35