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

Migrate Generator.

parent 680d4d13
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ find_package(LCIO) ...@@ -23,6 +23,7 @@ find_package(LCIO)
find_package(podio) find_package(podio)
find_package(plcio) find_package(plcio)
find_package(HepMC) find_package(HepMC)
find_package(CLHEP)
if(ROOT_FOUND) if(ROOT_FOUND)
message("found ROOT: ${ROOT_INCLUDE_DIRS} ${ROOT_LIBRARIES}") message("found ROOT: ${ROOT_INCLUDE_DIRS} ${ROOT_LIBRARIES}")
endif(ROOT_FOUND) endif(ROOT_FOUND)
...@@ -38,29 +39,33 @@ endif(plcio_FOUND) ...@@ -38,29 +39,33 @@ endif(plcio_FOUND)
if(HepMC_FOUND) if(HepMC_FOUND)
message("found HepMC: ${HepMC_INCLUDE_DIRS} ${HepMC_LIBRARY_DIR}") message("found HepMC: ${HepMC_INCLUDE_DIRS} ${HepMC_LIBRARY_DIR}")
endif(HepMC_FOUND) endif(HepMC_FOUND)
if(CLHEP_FOUND)
message("found CLHEP: ${CLHEP_INCLUDE_DIRS} ${CLHEP_LIBRARY_DIR}")
endif(CLHEP_FOUND)
############## for producing plcio library ############# ############## for producing plcio library #############
INCLUDE_DIRECTORIES(${GenAlgo_incs}) INCLUDE_DIRECTORIES(${GenAlgo_incs})
gaudi_add_module(GenAlgo ${GenAlgo_srcs} gaudi_add_module(GenAlgo ${GenAlgo_srcs}
INCLUDE_DIRS INCLUDE_DIRS
GaudiKernel # GaudiKernel
FWCore FWCore
Geant4 # Geant4
${LCIO_INCLUDE_DIRS} # ${LCIO_INCLUDE_DIRS}
${podio_INCLUDE_DIRS} # ${podio_INCLUDE_DIRS}
${plcio_INCLUDE_DIRS} # ${plcio_INCLUDE_DIRS}
${ROOT_INCLUDE_DIRS} # ${ROOT_INCLUDE_DIRS}
HepMC # HepMC
LINK_LIBRARIES LINK_LIBRARIES
GaudiKernel # GaudiKernel
${LCIO_LIBRARIES} # ${LCIO_LIBRARIES}
${podio_LIBRARIES} # ${podio_LIBRARIES}
ROOT ROOT
${plcio_LIBRARY_DIR}/libplcio.so # ${plcio_LIBRARY_DIR}/libplcio.so
${plcio_LIBRARY_DIR}/libplcioDict.so # ${plcio_LIBRARY_DIR}/libplcioDict.so
FWCore FWCore
HepMC HepMC
Geant4 CLHEP
# Geant4
) )
#gaudi_add_test(Reader FRAMEWORK options/read.py) #gaudi_add_test(Reader FRAMEWORK options/read.py)
......
...@@ -21,7 +21,6 @@ using namespace std; ...@@ -21,7 +21,6 @@ using namespace std;
class GenAlgo: public GaudiAlgorithm { class GenAlgo: public GaudiAlgorithm {
friend class AlgFactory<GenAlgo>;
public: public:
GenAlgo(const std::string& name, ISvcLocator* pSvcLocator); GenAlgo(const std::string& name, ISvcLocator* pSvcLocator);
......
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