Commit 91098855 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

new file: TestACTSLogger.cpp

	new file:   TestACTSLogger.h
	new file:   TestCKFTracks.h
parent e814c460
#include "TestACTSLogger.h"
// FCCSW
//#include "DetCommon/DetUtils.h"
#include "JugBase/IGeoSvc.h"
#include "Acts/Utilities/Logger.hpp"
using namespace Acts;
DECLARE_COMPONENT(TestACTSLogger)
TestACTSLogger::TestACTSLogger(const std::string& aName, ISvcLocator* aSvcLoc)
: GaudiAlgorithm(aName, aSvcLoc) {}
TestACTSLogger::~TestACTSLogger() {}
StatusCode TestACTSLogger::initialize() {
if (GaudiAlgorithm::initialize().isFailure()) {
return StatusCode::FAILURE;
}
{
//auto testLoggerInfo =
// Acts::getDefaultLogger("TestLoggerInfo", Acts::Logging::INFO);
ACTS_LOCAL_LOGGER(Acts::getDefaultLogger("TestLoggerInfo", Acts::Logging::INFO));
ACTS_INFO("TESTING INFO LOGGING LEVEL");
ACTS_VERBOSE("TESTING DEBUG LOGGING LEVEL");
ACTS_DEBUG("TESTING VERBOSE LOGGING LEVEL");
}
{
//auto testLoggerVerbose =
// Acts::getDefaultLogger("TestLoggerVerbose", Acts::Logging::VERBOSE);
ACTS_LOCAL_LOGGER(Acts::getDefaultLogger("TestLoggerVerbose", Acts::Logging::VERBOSE));
ACTS_INFO("TESTING INFO LOGGING LEVEL");
ACTS_VERBOSE("TESTING DEBUG LOGGING LEVEL");
ACTS_DEBUG("TESTING VERBOSE LOGGING LEVEL");
}
return StatusCode::SUCCESS;
}
StatusCode TestACTSLogger::execute() {
return StatusCode::SUCCESS; }
StatusCode TestACTSLogger::finalize() { return GaudiAlgorithm::finalize(); }
#ifndef TESTRECONSTRUCTION_TESTACTSLOGGER_H
#define TESTRECONSTRUCTION_TESTACTSLOGGER_H
// GAUDI
#include "GaudiAlg/GaudiAlgorithm.h"
#include "GaudiKernel/Property.h"
// FCCSW
#include "JugBase/DataHandle.h"
class TestACTSLogger : public GaudiAlgorithm {
public:
explicit TestACTSLogger(const std::string&, ISvcLocator*);
virtual ~TestACTSLogger();
/** Initialize.
* @return status code
*/
virtual StatusCode initialize() final;
/** Execute.
* @return status code
*/
virtual StatusCode execute() final;
/** Finalize.
* @return status code
*/
virtual StatusCode finalize() final;
};
#endif /* TESTRECONSTRUCTION_TESTACTSLOGGER_H */
#ifndef TESTRECONSTRUCTION_TESTACTSLOGGER_H
#define TESTRECONSTRUCTION_TESTACTSLOGGER_H
// GAUDI
#include "GaudiAlg/GaudiAlgorithm.h"
#include "GaudiKernel/Property.h"
// FCCSW
#include "JugBase/DataHandle.h"
class TestCKFTracks : public GaudiAlgorithm {
public:
explicit TestCKFTracks(const std::string&, ISvcLocator*);
virtual ~TestCKFTracks();
/** Initialize.
* @return status code
*/
virtual StatusCode initialize() final;
/** Execute.
* @return status code
*/
virtual StatusCode execute() final;
/** Finalize.
* @return status code
*/
virtual StatusCode finalize() final;
};
#endif /* TESTRECONSTRUCTION_TESTACTSLOGGER_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment