BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TFinderBase.cxx
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// $Id: TFinderBase.cxx,v 1.2 2005/09/09 07:47:07 zangsl Exp $
3
//-----------------------------------------------------------------------------
4
// Filename : TFinderBase.cc
5
// Section : Tracking MDC
6
// Owner : Yoshi Iwasaki
7
// Email : yoshihito.iwasaki@kek.jp
8
//-----------------------------------------------------------------------------
9
// Description : A virtual class for a track finder in tracking.
10
// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11
//-----------------------------------------------------------------------------
12
13
#include "TrkReco/TFinderBase.h"
14
#include <iostream>
15
16
TFinderBase::TFinderBase
() : _debugLevel( 0 ) {}
17
18
TFinderBase::~TFinderBase
() {}
19
20
void
TFinderBase::dump
(
const
std::string& msg,
const
std::string& pre )
const
{
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
}
TFinderBase::version
virtual std::string version(void) const =0
returns version.
TFinderBase::dump
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
Definition
TFinderBase.cxx:20
TFinderBase::TFinderBase
TFinderBase()
Constructor.
Definition
TFinderBase.cxx:16
TFinderBase::name
virtual std::string name(void) const =0
returns name.
TFinderBase::~TFinderBase
virtual ~TFinderBase()
Destructor.
Definition
TFinderBase.cxx:18
8.0.0
BOSS_Source
Reconstruction
TrkReco
src
TFinderBase.cxx
Generated by
1.16.1