BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkMomVisitor Class Reference

#include <TrkMomVisitor.h>

+ Inheritance diagram for TrkMomVisitor:

Public Member Functions

 TrkMomVisitor (const TrkSimpTraj &)
 
virtual ~TrkMomVisitor ()
 
const HelixTrajhelix () const
 
const TrkCircleTrajcircle () const
 
const NeutTrajneut () const
 
const TrkDifLineTrajline () const
 
virtual void trkVisitHelixTraj (const HelixTraj *)
 
virtual void trkVisitCircleTraj (const TrkCircleTraj *)
 
virtual void trkVisitNeutTraj (const NeutTraj *)
 
virtual void trkVisitLineTraj (const TrkDifLineTraj *)
 
- Public Member Functions inherited from TrkVisitor
 TrkVisitor ()
 
virtual ~TrkVisitor ()
 
virtual void trkVisitHelixTraj (const HelixTraj *)=0
 
virtual void trkVisitCircleTraj (const TrkCircleTraj *)=0
 
virtual void trkVisitNeutTraj (const NeutTraj *)=0
 
virtual void trkVisitLineTraj (const TrkDifLineTraj *)=0
 

Detailed Description

Definition at line 27 of file TrkMomVisitor.h.

Constructor & Destructor Documentation

◆ TrkMomVisitor()

TrkMomVisitor::TrkMomVisitor ( const TrkSimpTraj theTraj)

Definition at line 23 of file TrkMomVisitor.cxx.

23 {
24//------------------------------------------------------------------------
25// accept this puppy
26
27 theTraj.visitAccept(this);
28}
virtual void visitAccept(TrkVisitor *vis) const =0

◆ ~TrkMomVisitor()

TrkMomVisitor::~TrkMomVisitor ( )
virtual

Definition at line 18 of file TrkMomVisitor.cxx.

18 {
19//------------------------------------------------------------------------
20}

Member Function Documentation

◆ circle()

◆ helix()

◆ line()

const TrkDifLineTraj * TrkMomVisitor::line ( ) const
inline

Definition at line 42 of file TrkMomVisitor.h.

42{return _lt;}

◆ neut()

◆ trkVisitCircleTraj()

void TrkMomVisitor::trkVisitCircleTraj ( const TrkCircleTraj theTraj)
virtual

Implements TrkVisitor.

Definition at line 44 of file TrkMomVisitor.cxx.

44 {
45//------------------------------------------------------------------------
46// set the "array"
47
48 _ht = 0;
49 _ct = theTraj;
50 _nt = 0;
51 _lt = 0;
52}

◆ trkVisitHelixTraj()

void TrkMomVisitor::trkVisitHelixTraj ( const HelixTraj theTraj)
virtual

Implements TrkVisitor.

Definition at line 32 of file TrkMomVisitor.cxx.

32 {
33//------------------------------------------------------------------------
34// set the "array"
35
36 _ht = theTraj;
37 _ct = 0;
38 _nt = 0;
39 _lt = 0;
40}

◆ trkVisitLineTraj()

void TrkMomVisitor::trkVisitLineTraj ( const TrkDifLineTraj theTraj)
virtual

Implements TrkVisitor.

Definition at line 68 of file TrkMomVisitor.cxx.

68 {
69//------------------------------------------------------------------------
70// set the "array"
71
72 _ht = 0;
73 _ct = 0;
74 _nt = 0;
75 _lt = theTraj;
76}

◆ trkVisitNeutTraj()

void TrkMomVisitor::trkVisitNeutTraj ( const NeutTraj theTraj)
virtual

Implements TrkVisitor.

Definition at line 56 of file TrkMomVisitor.cxx.

56 {
57//------------------------------------------------------------------------
58// set the "array"
59
60 _ht = 0;
61 _ct = 0;
62 _nt = theTraj;
63 _lt = 0;
64}

The documentation for this class was generated from the following files: