Skip to content
Snippets Groups Projects
Commit 38c1e268 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: create DetSimAlg.

parent 1c0119d9
No related branches found
No related tags found
No related merge requests found
gaudi_subdir(Simulation v0r0)
find_package(Geant4)
include(${Geant4_USE_FILE})
# DetSimCore module
set(DetSimCore_srcs
src/DetSimCore/*.cpp
)
gaudi_add_module(DetSimCore ${DetSimCore_srcs}
INCLUDE_DIRS GaudiKernel Geant4
LINK_LIBRARIES GaudiKernel Geant4
)
#include "DetSimAlg.h"
DECLARE_COMPONENT(DetSimAlg)
DetSimAlg::DetSimAlg(const std::string& name, ISvcLocator* pSvcLocator)
: Algorithm(name, pSvcLocator) {
}
StatusCode
DetSimAlg::initialize() {
StatusCode sc;
info() << "Initialize DetSimAlg... " << endmsg;
return sc;
}
StatusCode
DetSimAlg::execute() {
StatusCode sc;
return sc;
}
StatusCode
DetSimAlg::finalize() {
StatusCode sc;
return sc;
}
#ifndef DetSimAlg_h
#define DetSimAlg_h
#include <string>
#include <vector>
#include <GaudiKernel/Algorithm.h>
#include <GaudiKernel/Property.h>
class DetSimAlg: public Algorithm {
public:
DetSimAlg(const std::string& name, ISvcLocator* pSvcLocator);
StatusCode initialize() override;
StatusCode execute() override;
StatusCode finalize() override;
private:
Gaudi::Property<std::vector<std::string>> m_run_macs{this, "RunMacs"};
Gaudi::Property<std::vector<std::string>> m_run_cmds{this, "RunCmds"};
Gaudi::Property<std::vector<std::string>> m_vis_macs{this, "VisMacs"};
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment