BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TFinderBase Class Referenceabstract

A virtual class for a track finder in tracking. More...

#include <TFinderBase.h>

Inheritance diagram for TFinderBase:

Public Member Functions

 TFinderBase ()
 Constructor.
virtual ~TFinderBase ()
 Destructor.
virtual std::string name (void) const =0
 returns name.
virtual std::string version (void) const =0
 returns version.
virtual void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
virtual int debugLevel (void) const
 returns debug level.
virtual void clear (void)=0
 clear internal information.
virtual int debugLevel (int)
 sets debug level.
virtual bool doStereo (bool)
 sets flag to reconstruct 3D.
virtual bool doSalvage (bool)
 sets flag to salvage hits.
virtual int doit (const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks3D, AList< TTrack > &tracks2D)=0
 TFinderBase ()
 Constructor.
virtual ~TFinderBase ()
 Destructor.
virtual std::string name (void) const =0
 returns name.
virtual std::string version (void) const =0
 returns version.
virtual void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
virtual int debugLevel (void) const
 returns debug level.
virtual void clear (void)=0
 clear internal information.
virtual int debugLevel (int)
 sets debug level.
virtual bool doStereo (bool)
 sets flag to reconstruct 3D.
virtual bool doSalvage (bool)
 sets flag to salvage hits.
virtual int doit (const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks3D, AList< TTrack > &tracks2D)=0
 TFinderBase ()
 Constructor.
virtual ~TFinderBase ()
 Destructor.
virtual std::string name (void) const =0
 returns name.
virtual std::string version (void) const =0
 returns version.
virtual void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
virtual int debugLevel (void) const
 returns debug level.
virtual void clear (void)=0
 clear internal information.
virtual int debugLevel (int)
 sets debug level.
virtual bool doStereo (bool)
 sets flag to reconstruct 3D.
virtual bool doSalvage (bool)
 sets flag to salvage hits.
virtual int doit (const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks3D, AList< TTrack > &tracks2D)=0

Detailed Description

A virtual class for a track finder in tracking.

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TFinderBase.h.

Constructor & Destructor Documentation

◆ TFinderBase() [1/3]

TFinderBase::TFinderBase ( )

Constructor.

Definition at line 16 of file TFinderBase.cxx.

16: _debugLevel( 0 ) {}

Referenced by TConformalFinder0::TConformalFinder0().

◆ ~TFinderBase() [1/3]

TFinderBase::~TFinderBase ( )
virtual

Destructor.

Definition at line 18 of file TFinderBase.cxx.

18{}

◆ TFinderBase() [2/3]

TFinderBase::TFinderBase ( )

Constructor.

◆ ~TFinderBase() [2/3]

virtual TFinderBase::~TFinderBase ( )
virtual

Destructor.

◆ TFinderBase() [3/3]

TFinderBase::TFinderBase ( )

Constructor.

◆ ~TFinderBase() [3/3]

virtual TFinderBase::~TFinderBase ( )
virtual

Destructor.

Member Function Documentation

◆ clear() [1/3]

◆ clear() [2/3]

◆ clear() [3/3]

◆ debugLevel() [1/6]

int TFinderBase::debugLevel ( int a)
inlinevirtual

sets debug level.

Definition at line 89 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TFinderBase.h.

89{ return _debugLevel = a; }

◆ debugLevel() [2/6]

virtual int TFinderBase::debugLevel ( int )
virtual

sets debug level.

◆ debugLevel() [3/6]

virtual int TFinderBase::debugLevel ( int )
virtual

sets debug level.

◆ debugLevel() [4/6]

int TFinderBase::debugLevel ( void ) const
inlinevirtual

returns debug level.

Definition at line 87 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TFinderBase.h.

87{ return _debugLevel; }

Referenced by TConformalFinder0::doit(), and TConformalFinder::doit().

◆ debugLevel() [5/6]

virtual int TFinderBase::debugLevel ( void ) const
virtual

returns debug level.

◆ debugLevel() [6/6]

virtual int TFinderBase::debugLevel ( void ) const
virtual

returns debug level.

◆ doit() [1/3]

virtual int TFinderBase::doit ( const AList< TMDCWireHit > & axialHits,
const AList< TMDCWireHit > & stereoHits,
AList< TTrack > & tracks3D,
AList< TTrack > & tracks2D )
pure virtual

finds tracks. 'hits' are used to reconstruct. 'tracks' can be used for both inputs and outputs. Return value = (0, +, -) means (success, warning, fatal error).

Implemented in TConformalFinder0, TConformalFinder0, TConformalFinder0, TConformalFinder, TConformalFinder, TConformalFinder, TCurlFinder, TCurlFinder, TCurlFinder, TPerfectFinder, TPerfectFinder, and TPerfectFinder.

◆ doit() [2/3]

virtual int TFinderBase::doit ( const AList< TMDCWireHit > & axialHits,
const AList< TMDCWireHit > & stereoHits,
AList< TTrack > & tracks3D,
AList< TTrack > & tracks2D )
pure virtual

finds tracks. 'hits' are used to reconstruct. 'tracks' can be used for both inputs and outputs. Return value = (0, +, -) means (success, warning, fatal error).

Implemented in TConformalFinder0, TConformalFinder0, TConformalFinder0, TConformalFinder, TConformalFinder, TConformalFinder, TCurlFinder, TCurlFinder, TCurlFinder, TPerfectFinder, TPerfectFinder, and TPerfectFinder.

◆ doit() [3/3]

virtual int TFinderBase::doit ( const AList< TMDCWireHit > & axialHits,
const AList< TMDCWireHit > & stereoHits,
AList< TTrack > & tracks3D,
AList< TTrack > & tracks2D )
pure virtual

finds tracks. 'hits' are used to reconstruct. 'tracks' can be used for both inputs and outputs. Return value = (0, +, -) means (success, warning, fatal error).

Implemented in TConformalFinder0, TConformalFinder0, TConformalFinder0, TConformalFinder, TConformalFinder, TConformalFinder, TCurlFinder, TCurlFinder, TCurlFinder, TPerfectFinder, TPerfectFinder, and TPerfectFinder.

◆ doSalvage() [1/3]

bool TFinderBase::doSalvage ( bool a)
inlinevirtual

sets flag to salvage hits.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

Definition at line 93 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TFinderBase.h.

93{ return a; }

◆ doSalvage() [2/3]

virtual bool TFinderBase::doSalvage ( bool )
virtual

sets flag to salvage hits.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

◆ doSalvage() [3/3]

virtual bool TFinderBase::doSalvage ( bool )
virtual

sets flag to salvage hits.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

◆ doStereo() [1/3]

bool TFinderBase::doStereo ( bool a)
inlinevirtual

sets flag to reconstruct 3D.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

Definition at line 91 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TFinderBase.h.

91{ return a; }

◆ doStereo() [2/3]

virtual bool TFinderBase::doStereo ( bool )
virtual

sets flag to reconstruct 3D.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

◆ doStereo() [3/3]

virtual bool TFinderBase::doStereo ( bool )
virtual

sets flag to reconstruct 3D.

Reimplemented in TConformalFinder0, TConformalFinder0, and TConformalFinder0.

◆ dump() [1/3]

void TFinderBase::dump ( const std::string & message = std::string( "" ),
const std::string & prefix = std::string( "" ) ) const
virtual

dumps debug information.

Reimplemented in TConformalFinder0, TConformalFinder0, TConformalFinder0, TConformalFinder, TConformalFinder, TConformalFinder, TFastFinder, TFastFinder, TFastFinder, TPerfectFinder, TPerfectFinder, and TPerfectFinder.

Definition at line 20 of file TFinderBase.cxx.

20 {
21 std::cout << pre;
22 if ( msg.find( "name" ) != std::string::npos || msg.find( "version" ) != std::string::npos ||
23 msg.find( "detail" ) != std::string::npos || msg == "" )
24 { std::cout << name() << "(" << version() << ")"; }
25 if ( msg.find( "detail" ) != std::string::npos || msg.find( "state" ) != std::string::npos )
26 { std::cout << "Debug Level=" << _debugLevel; }
27 std::cout << std::endl;
28}
virtual std::string version(void) const =0
returns version.
virtual std::string name(void) const =0
returns name.

Referenced by TConformalFinder0::dump(), TConformalFinder::dump(), TFastFinder::dump(), and TPerfectFinder::dump().

◆ dump() [2/3]

virtual void TFinderBase::dump ( const std::string & message = std::string(""),
const std::string & prefix = std::string("") ) const
virtual

◆ dump() [3/3]

virtual void TFinderBase::dump ( const std::string & message = std::string(""),
const std::string & prefix = std::string("") ) const
virtual

◆ name() [1/3]

virtual std::string TFinderBase::name ( void ) const
pure virtual

◆ name() [2/3]

◆ name() [3/3]

◆ version() [1/3]

virtual std::string TFinderBase::version ( void ) const
pure virtual

◆ version() [2/3]

◆ version() [3/3]


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