TracerSA Class Reference

#include <TracerSA.h>

List of all members.

Public Member Functions

 TracerSA (const char *scope)
 ~TracerSA ()

Private Attributes

std::string fScope

Static Private Attributes

static Int_t fPrintOffset = 0

Detailed Description

Definition at line 8 of file TracerSA.h.


Constructor & Destructor Documentation

TracerSA::TracerSA ( const char *  scope  ) 

Definition at line 18 of file TracerSA.cxx.

References fPrintOffset, fScope, Msg::kDebug, and MSG.

00018                                     :
00019     fScope(scope)
00020 {
00021     assert( !fScope.empty() && "Bad character string given!"); 
00022     std::string offset;
00023     offset.resize(2*fPrintOffset, ' ');
00024     
00025     MSG("FitTrackSA",Msg::kDebug) << offset << "Entering " 
00026         << fScope << std::endl;
00027     ++fPrintOffset;
00028 }

TracerSA::~TracerSA (  ) 

Definition at line 31 of file TracerSA.cxx.

References fPrintOffset, fScope, Msg::kDebug, and MSG.

00032 {
00033     --fPrintOffset;
00034     std::string offset;
00035     offset.resize(2*fPrintOffset, ' ');
00036     assert( !fScope.empty() && "String got hosed!"); 
00037     MSG("FitTrackSA",Msg::kDebug) << offset << "Leaving " 
00038         << fScope << std::endl;
00039 }


Member Data Documentation

Int_t TracerSA::fPrintOffset = 0 [static, private]

Definition at line 14 of file TracerSA.h.

Referenced by TracerSA(), and ~TracerSA().

std::string TracerSA::fScope [private]

Definition at line 15 of file TracerSA.h.

Referenced by TracerSA(), and ~TracerSA().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1