CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TwoBodyDecayTrajectory.h
Go to the documentation of this file.
1 #ifndef Alignment_ReferenceTrajectories_TwoBodyDecayTrajectory_h
2 #define Alignment_ReferenceTrajectories_TwoBodyDecayTrajectory_h
3 
6 
7 
12 namespace reco { class BeamSpot; }
13 
15 {
16 
17 public:
18 
20  typedef std::pair< ConstRecHitContainer, ConstRecHitContainer > ConstRecHitCollection;
21 
24  const MagneticField* magField,
25  const reco::BeamSpot& beamSpot,
27 
28  TwoBodyDecayTrajectory( void );
29 
31 
32  virtual TwoBodyDecayTrajectory* clone( void ) const
33  { return new TwoBodyDecayTrajectory( *this ); }
34 
37  inline const std::pair< int, int > numberOfRecHits( void ) { return theNumberOfRecHits; }
38 
39 private:
40 
41  bool construct(const TwoBodyDecayTrajectoryState& state,
43  const MagneticField* field,
44  const reco::BeamSpot& beamSpot);
45 
47  const ReferenceTrajectory& traj2,
48  const MagneticField* field );
49 
51  int iTsos,
52  const MagneticField* field );
53 
56  const bool useRefittedState_;
58 
59  std::pair< int, int > theNumberOfRecHits;
60 };
61 
62 #endif
virtual TwoBodyDecayTrajectory * clone(void) const
bool construct(const TwoBodyDecayTrajectoryState &state, const ConstRecHitCollection &recHits, const MagneticField *field, const reco::BeamSpot &beamSpot)
void constructSingleTsosWithErrors(const TrajectoryStateOnSurface &tsos, int iTsos, const MagneticField *field)
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
PropagationDirection
const PropagationDirection propDir_
std::pair< ConstRecHitContainer, ConstRecHitContainer > ConstRecHitCollection
const MaterialEffects materialEffects_
std::pair< int, int > theNumberOfRecHits
std::vector< ConstRecHitPointer > ConstRecHitContainer
const std::pair< int, int > numberOfRecHits(void)
void constructTsosVecWithErrors(const ReferenceTrajectory &traj1, const ReferenceTrajectory &traj2, const MagneticField *field)
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer