BOSS
6.6.4.p03
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 :
[email protected]
8
//-----------------------------------------------------------------------------
9
// Description : A virtual class for a track finder in tracking.
10
// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11
//-----------------------------------------------------------------------------
12
13
#include <iostream>
14
#include "
TrkReco/TFinderBase.h
"
15
16
TFinderBase::TFinderBase
() : _debugLevel(0) {
17
}
18
19
TFinderBase::~TFinderBase
() {
20
}
21
22
void
23
TFinderBase::dump
(
const
std::string & msg,
const
std::string & pre)
const
{
24
std::cout << pre;
25
if
( msg.find(
"name"
) != std::string::npos
26
|| msg.find(
"version"
) != std::string::npos
27
|| msg.find(
"detail"
) != std::string::npos
28
|| msg ==
""
) {
29
std::cout <<
name
() <<
"("
<<
version
() <<
")"
;
30
}
31
if
(msg.find(
"detail"
) != std::string::npos || msg.find(
"state"
) != std::string::npos) {
32
std::cout <<
"Debug Level="
<< _debugLevel;
33
}
34
std::cout << std::endl;
35
}
TFinderBase.h
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:23
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:19
source
Reconstruction
TrkReco
TrkReco-00-08-59-p04
src
TFinderBase.cxx
Generated by
1.9.6