CMS 3D CMS Logo

TwoBodyDecayTrajectory.h
Go to the documentation of this file.
1 #ifndef Alignment_ReferenceTrajectories_TwoBodyDecayTrajectory_h
2 #define Alignment_ReferenceTrajectories_TwoBodyDecayTrajectory_h
3 
6 
11 namespace reco {
12  class BeamSpot;
13 }
14 
16 public:
18  typedef std::pair<ConstRecHitContainer, ConstRecHitContainer> ConstRecHitCollection;
19 
22  const MagneticField* magField,
23  const reco::BeamSpot& beamSpot,
25 
27 
28  ~TwoBodyDecayTrajectory(void) override {}
29 
30  TwoBodyDecayTrajectory* clone(void) const override { return new TwoBodyDecayTrajectory(*this); }
31 
34  inline const std::pair<int, int> numberOfRecHits(void) { return theNumberOfRecHits; }
35 
36 private:
39  const MagneticField* field,
40  const reco::BeamSpot& beamSpot);
41 
43  const ReferenceTrajectory& traj2,
44  const MagneticField* field);
45 
46  void constructSingleTsosWithErrors(const TrajectoryStateOnSurface& tsos, int iTsos, const MagneticField* field);
47 
50  const bool useRefittedState_;
52 
53  std::pair<int, int> theNumberOfRecHits;
54 };
55 
56 #endif
ReferenceTrajectoryBase::recHits
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
Definition: ReferenceTrajectoryBase.h:215
TwoBodyDecayTrajectory::constructSingleTsosWithErrors
void constructSingleTsosWithErrors(const TrajectoryStateOnSurface &tsos, int iTsos, const MagneticField *field)
Definition: TwoBodyDecayTrajectory.cc:248
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
align::BeamSpot
Definition: StructureType.h:89
TwoBodyDecayTrajectory::~TwoBodyDecayTrajectory
~TwoBodyDecayTrajectory(void) override
Definition: TwoBodyDecayTrajectory.h:28
ReferenceTrajectoryBase
Definition: ReferenceTrajectoryBase.h:105
TwoBodyDecayTrajectory::ConstRecHitContainer
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
Definition: TwoBodyDecayTrajectory.h:17
ReferenceTrajectory.h
ReferenceTrajectoryBase::Config
Definition: ReferenceTrajectoryBase.h:121
TwoBodyDecayTrajectory::clone
TwoBodyDecayTrajectory * clone(void) const override
Definition: TwoBodyDecayTrajectory.h:30
MaterialEffects
Definition: MaterialEffects.h:51
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
TwoBodyDecayTrajectory
Definition: TwoBodyDecayTrajectory.h:15
config
Definition: config.py:1
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TwoBodyDecayTrajectory::numberOfRecHits
const std::pair< int, int > numberOfRecHits(void)
Definition: TwoBodyDecayTrajectory.h:34
TwoBodyDecayTrajectory::ConstRecHitCollection
std::pair< ConstRecHitContainer, ConstRecHitContainer > ConstRecHitCollection
Definition: TwoBodyDecayTrajectory.h:18
reco::BeamSpot
Definition: BeamSpot.h:21
TwoBodyDecayTrajectory::propDir_
const PropagationDirection propDir_
Definition: TwoBodyDecayTrajectory.h:49
TwoBodyDecayTrajectory::useRefittedState_
const bool useRefittedState_
Definition: TwoBodyDecayTrajectory.h:50
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: TrackingRecHit.h:32
TwoBodyDecayTrajectory::TwoBodyDecayTrajectory
TwoBodyDecayTrajectory(void)
Definition: TwoBodyDecayTrajectory.cc:50
TwoBodyDecayTrajectory::constructTsosVecWithErrors
void constructTsosVecWithErrors(const ReferenceTrajectory &traj1, const ReferenceTrajectory &traj2, const MagneticField *field)
Definition: TwoBodyDecayTrajectory.cc:230
TwoBodyDecayTrajectory::constructTsosWithErrors_
const bool constructTsosWithErrors_
Definition: TwoBodyDecayTrajectory.h:51
TwoBodyDecayTrajectoryState
Definition: TwoBodyDecayTrajectoryState.h:12
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
ReferenceTrajectory
Definition: ReferenceTrajectory.h:55
TwoBodyDecayTrajectory::materialEffects_
const MaterialEffects materialEffects_
Definition: TwoBodyDecayTrajectory.h:48
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
TwoBodyDecayTrajectory::theNumberOfRecHits
std::pair< int, int > theNumberOfRecHits
Definition: TwoBodyDecayTrajectory.h:53
TwoBodyDecayTrajectoryState.h
MagneticField
Definition: MagneticField.h:19
TwoBodyDecayTrajectory::construct
bool construct(const TwoBodyDecayTrajectoryState &state, const ConstRecHitCollection &recHits, const MagneticField *field, const reco::BeamSpot &beamSpot)
Definition: TwoBodyDecayTrajectory.cc:57