test
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 
22  TwoBodyDecayTrajectory( const TwoBodyDecayTrajectoryState & trajectoryState,
24  const MagneticField* magField,
25  MaterialEffects materialEffects,
26  PropagationDirection propDir,
27  bool hitsAreReverse,
28  const reco::BeamSpot &beamSpot,
29  bool useRefittedState,
30  bool constructTsosWithErrors );
31 
32  TwoBodyDecayTrajectory( void );
33 
35 
36  virtual TwoBodyDecayTrajectory* clone( void ) const
37  { return new TwoBodyDecayTrajectory( *this ); }
38 
41  inline const std::pair< int, int > numberOfRecHits( void ) { return theNumberOfRecHits; }
42 
43 private:
44 
45  bool construct( const TwoBodyDecayTrajectoryState & state,
47  const MagneticField* field,
48  MaterialEffects materialEffects,
49  PropagationDirection propDir,
50  const reco::BeamSpot &beamSpot,
51  bool useRefittedState,
52  bool constructTsosWithErrors );
53 
55  const ReferenceTrajectory& traj2,
56  const MagneticField* field );
57 
59  int iTsos,
60  const MagneticField* field );
61 
62  std::pair< int, int > theNumberOfRecHits;
63 
64 };
65 
66 #endif
virtual TwoBodyDecayTrajectory * clone(void) const
void constructSingleTsosWithErrors(const TrajectoryStateOnSurface &tsos, int iTsos, const MagneticField *field)
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
PropagationDirection
std::pair< ConstRecHitContainer, ConstRecHitContainer > ConstRecHitCollection
bool construct(const TwoBodyDecayTrajectoryState &state, const ConstRecHitCollection &recHits, const MagneticField *field, MaterialEffects materialEffects, PropagationDirection propDir, const reco::BeamSpot &beamSpot, bool useRefittedState, bool constructTsosWithErrors)
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