BOSS 7.0.3
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 *)
 
 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
 
 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

Constructor & Destructor Documentation

◆ TrkMomVisitor() [1/2]

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() [1/2]

TrkMomVisitor::~TrkMomVisitor ( )
virtual

Definition at line 18 of file TrkMomVisitor.cxx.

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

◆ TrkMomVisitor() [2/2]

TrkMomVisitor::TrkMomVisitor ( const TrkSimpTraj )

◆ ~TrkMomVisitor() [2/2]

virtual TrkMomVisitor::~TrkMomVisitor ( )
virtual

Member Function Documentation

◆ circle() [1/2]

◆ circle() [2/2]

const TrkCircleTraj * TrkMomVisitor::circle ( ) const
inline

◆ helix() [1/2]

◆ helix() [2/2]

const HelixTraj * TrkMomVisitor::helix ( ) const
inline

◆ line() [1/2]

const TrkDifLineTraj * TrkMomVisitor::line ( ) const
inline

Definition at line 42 of file InstallArea/include/TrkBase/TrkBase/TrkMomVisitor.h.

42{return _lt;}

◆ line() [2/2]

const TrkDifLineTraj * TrkMomVisitor::line ( ) const
inline

◆ neut() [1/2]

◆ neut() [2/2]

const NeutTraj * TrkMomVisitor::neut ( ) const
inline

◆ trkVisitCircleTraj() [1/2]

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}

◆ trkVisitCircleTraj() [2/2]

virtual void TrkMomVisitor::trkVisitCircleTraj ( const TrkCircleTraj )
virtual

Implements TrkVisitor.

◆ trkVisitHelixTraj() [1/2]

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}

◆ trkVisitHelixTraj() [2/2]

virtual void TrkMomVisitor::trkVisitHelixTraj ( const HelixTraj )
virtual

Implements TrkVisitor.

◆ trkVisitLineTraj() [1/2]

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}

◆ trkVisitLineTraj() [2/2]

virtual void TrkMomVisitor::trkVisitLineTraj ( const TrkDifLineTraj )
virtual

Implements TrkVisitor.

◆ trkVisitNeutTraj() [1/2]

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}

◆ trkVisitNeutTraj() [2/2]

virtual void TrkMomVisitor::trkVisitNeutTraj ( const NeutTraj )
virtual

Implements TrkVisitor.


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