/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Attributes
TESDemoTracing Class Reference

#include <TESDemoTracing.h>

List of all members.

Public Member Functions

 TESDemoTracing (const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize ()
StatusCode execute ()
StatusCode finalize ()

Private Attributes

BooleanProperty m_on
bool m_done

Detailed Description

Definition at line 6 of file TESDemoTracing.h.


Constructor & Destructor Documentation

TESDemoTracing::TESDemoTracing ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 7 of file TESDemoTracing.cpp.

                                                           :
  GaudiAlgorithm(name,
                 pSvcLocator),
                 m_done(false)
{
  declareProperty("On",
                  m_on=false,
                  "Switch tracer functionallity on");
}

Member Function Documentation

StatusCode TESDemoTracing::initialize ( )

Definition at line 18 of file TESDemoTracing.cpp.

                                      {
  
   info() << "in initialize" 
          << endreq;
   info() << m_on
          << endreq;

   return StatusCode::SUCCESS;

}
StatusCode TESDemoTracing::execute ( )

Definition at line 29 of file TESDemoTracing.cpp.

                                   {

  if (m_done) {
    return StatusCode::SUCCESS;
  }

  if (m_on) {
    TESDemoTracer::setMessageSvc(msgSvc(),
                                 "Tracing");
  }
  m_done = true;

  return StatusCode::SUCCESS;
}
StatusCode TESDemoTracing::finalize ( )

Definition at line 44 of file TESDemoTracing.cpp.

                                    {

  info() << "in finalize"
         << endreq;

  return StatusCode::SUCCESS;
}

Member Data Documentation

BooleanProperty TESDemoTracing::m_on [private]

Definition at line 19 of file TESDemoTracing.h.

bool TESDemoTracing::m_done [private]

Definition at line 21 of file TESDemoTracing.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:09:00 for TESDemo by doxygen 1.7.4