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

WIP: add a converter tool.

parent 0ae11818
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ find_package(ROOT COMPONENTS RIO Tree) ...@@ -8,7 +8,7 @@ find_package(ROOT COMPONENTS RIO Tree)
# this declaration will not be needed in the future # this declaration will not be needed in the future
gaudi_depends_on_subdirs(GaudiAlg GaudiKernel) gaudi_depends_on_subdirs(GaudiAlg GaudiKernel)
gaudi_install_scripts() # gaudi_install_scripts()
gaudi_install_python_modules() gaudi_install_python_modules()
gaudi_add_library(FWCore gaudi_add_library(FWCore
......
...@@ -7,6 +7,7 @@ gaudi_depends_on_subdirs( ...@@ -7,6 +7,7 @@ gaudi_depends_on_subdirs(
find_package(Geant4 REQUIRED ui_all vis_all) find_package(Geant4 REQUIRED ui_all vis_all)
include(${Geant4_USE_FILE}) include(${Geant4_USE_FILE})
find_package(plcio)
set(DetSimCore_srcs set(DetSimCore_srcs
src/DetSimAlg.cpp src/DetSimAlg.cpp
...@@ -21,6 +22,6 @@ set(DetSimCore_srcs ...@@ -21,6 +22,6 @@ set(DetSimCore_srcs
) )
gaudi_add_module(DetSimCore ${DetSimCore_srcs} gaudi_add_module(DetSimCore ${DetSimCore_srcs}
INCLUDE_DIRS DetSimInterface GaudiKernel Geant4 INCLUDE_DIRS DetSimInterface GaudiKernel Geant4 plcio
LINK_LIBRARIES DetSimInterface GaudiKernel Geant4 LINK_LIBRARIES DetSimInterface GaudiKernel Geant4 plcio
) )
#ifndef IG4PrimaryCnvTool_h
#define IG4PrimaryCnvTool_h
// IG4PrimaryCnvTool:
// convert an event in other formats to an event in G4 format.
// The G4Event object is managed by Geant4.
#include "GaudiKernel/AlgTool.h"
class G4Event;
class IG4PrimaryCnvTool: virtual public IAlgTool {
public:
DeclareInterfaceID(IG4PrimaryCnvTool, 0, 1);
virtual ~IG4PrimaryCnvTool() {};
virtual mutate(G4Event* anEvent) = 0;
};
#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