diff --git a/Calorimeter/CaloExample/CaloTests/CMakeLists.txt b/Calorimeter/CaloExample/CaloTests/CMakeLists.txt index 56901b01727a45293a5ff95bc7628d7a6abec969..a5f2473b8234e7d3671796c38d8043579c265835 100644 --- a/Calorimeter/CaloExample/CaloTests/CMakeLists.txt +++ b/Calorimeter/CaloExample/CaloTests/CMakeLists.txt @@ -20,6 +20,7 @@ atlas_depends_on_subdirs( PUBLIC Calorimeter/CaloSimEvent Control/AthenaKernel DetectorDescription/AtlasDetDescr + Generators/AtlasHepMC Generators/GeneratorObjects LArCalorimeter/LArIdentifier LArCalorimeter/LArRawEvent @@ -29,15 +30,14 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( AIDA ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( CaloTests src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} CaloDetDescrLib CaloIdentifier AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel CaloEvent CaloGeoHelpers CaloSimEvent AthenaKernel AtlasDetDescr GeneratorObjects LArIdentifier LArRawEvent LArRawUtilsLib LArSimEvent LArCablingLib ) + INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib CaloDetDescrLib CaloIdentifier AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel CaloEvent CaloGeoHelpers CaloSimEvent AthenaKernel AtlasDetDescr GeneratorObjects LArIdentifier LArRawEvent LArRawUtilsLib LArSimEvent LArCablingLib ) # Install files from the package: atlas_install_headers( CaloTests ) diff --git a/Calorimeter/CaloExample/CaloTests/src/MyAnalysis.cxx b/Calorimeter/CaloExample/CaloTests/src/MyAnalysis.cxx index c4bf2e213dfcd773b08bfdd3c90861faec29dd36..ed1ed34de97db4048ec31a403a9f5b03145e6761 100644 --- a/Calorimeter/CaloExample/CaloTests/src/MyAnalysis.cxx +++ b/Calorimeter/CaloExample/CaloTests/src/MyAnalysis.cxx @@ -28,8 +28,8 @@ #include "LArIdentifier/LArOnlineID.h" #include "GeneratorObjects/McEventCollection.h" #include "StoreGate/ReadHandle.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "GaudiKernel/IToolSvc.h" #include "GaudiKernel/ListItem.h" diff --git a/Calorimeter/CaloExample/CaloTests/src/MyAnalysisCal.cxx b/Calorimeter/CaloExample/CaloTests/src/MyAnalysisCal.cxx index 8b6e2c5145c5c9320536f253b53d88b2730eca29..c593491334e8ce02362c50076be67c552bf54ce4 100644 --- a/Calorimeter/CaloExample/CaloTests/src/MyAnalysisCal.cxx +++ b/Calorimeter/CaloExample/CaloTests/src/MyAnalysisCal.cxx @@ -13,8 +13,8 @@ #include "CaloSimEvent/CaloCalibrationHitContainer.h" #include "GeneratorObjects/McEventCollection.h" #include "StoreGate/ReadHandle.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" diff --git a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_SIDLocReco.h b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_SIDLocReco.h index 726b223884de3a6a9e0b167ea9f8b33891f3a922..b12b42b015ba521bc16722c125547c2020677857 100644 --- a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_SIDLocReco.h +++ b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_SIDLocReco.h @@ -54,9 +54,9 @@ //for truth particles #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" // xAOD #include "xAODForward/AFPTrackContainer.h" diff --git a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_TDLocReco.h b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_TDLocReco.h index 17af9482b3f4cf39cd3e42caf7e785d4a9bdfe9e..77de8bd13800fddcc15de676cf922eb2d02394de 100644 --- a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_TDLocReco.h +++ b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/AFP_LocReco/AFP_TDLocReco.h @@ -50,9 +50,9 @@ //for truth particles #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" diff --git a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/CMakeLists.txt b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/CMakeLists.txt index c69b5d1eb636ea86d4f120cd1fe5250ab2b51e96..425585ebbd3e233bb505a5e954135961a71f4b44 100644 --- a/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/CMakeLists.txt +++ b/ForwardDetectors/AFP/AFP_Reconstruction/AFP_LocReco/CMakeLists.txt @@ -17,13 +17,13 @@ atlas_depends_on_subdirs( PUBLIC ForwardDetectors/AFP/AFP_RecoEv/AFP_LocRecoEv GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC Event/xAOD/xAODForward PRIVATE Control/AthLinks) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -34,8 +34,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_component( AFP_LocReco src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel StoreGateLib SGtests AthenaPoolUtilities EventInfo AFP_DigiEv AFP_Geometry AFP_LocRecoEv GaudiKernel GeneratorObjects xAODForward AthLinks) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel StoreGateLib SGtests AthenaPoolUtilities EventInfo AFP_DigiEv AFP_Geometry AFP_LocRecoEv GaudiKernel GeneratorObjects xAODForward AthLinks) # Install files from the package: atlas_install_headers( AFP_LocReco ) diff --git a/ForwardDetectors/ALFA/ALFA_BeamTransport/ALFA_BeamTransport/ALFA_BeamTransport.h b/ForwardDetectors/ALFA/ALFA_BeamTransport/ALFA_BeamTransport/ALFA_BeamTransport.h index 0db21d09ef33a611db397cc80440fea22291dc22..f32bd43491a274cdc377c575c7efa38aca2e8283 100644 --- a/ForwardDetectors/ALFA/ALFA_BeamTransport/ALFA_BeamTransport/ALFA_BeamTransport.h +++ b/ForwardDetectors/ALFA/ALFA_BeamTransport/ALFA_BeamTransport/ALFA_BeamTransport.h @@ -19,7 +19,7 @@ #include "TH1.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" //FPTracker #include "FPTracker/Particle.h" diff --git a/ForwardDetectors/ALFA/ALFA_BeamTransport/CMakeLists.txt b/ForwardDetectors/ALFA/ALFA_BeamTransport/CMakeLists.txt index 39b6bea40f8fc1563f0b4aa4c7e4d6c0e3a25d14..7198470f3055e3794d38484313d368e826c30452 100644 --- a/ForwardDetectors/ALFA/ALFA_BeamTransport/CMakeLists.txt +++ b/ForwardDetectors/ALFA/ALFA_BeamTransport/CMakeLists.txt @@ -13,19 +13,20 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE Control/StoreGate Event/EventInfo - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC + ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( ALFA_BeamTransport src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps FPTracker GaudiKernel StoreGateLib SGtests EventInfo GeneratorObjects FPTracker ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps FPTracker GaudiKernel StoreGateLib SGtests EventInfo GeneratorObjects FPTracker ) # Install files from the package: atlas_install_headers( ALFA_BeamTransport ) diff --git a/ForwardDetectors/ALFA/ALFA_BeamTransport/src/ALFA_BeamTransport.cxx b/ForwardDetectors/ALFA/ALFA_BeamTransport/src/ALFA_BeamTransport.cxx index d6f6ae92ed728b5d31987a2ba25ed48a1231dd22..299c8768d1677dc215b4ac898e8c317ea265cd6b 100644 --- a/ForwardDetectors/ALFA/ALFA_BeamTransport/src/ALFA_BeamTransport.cxx +++ b/ForwardDetectors/ALFA/ALFA_BeamTransport/src/ALFA_BeamTransport.cxx @@ -29,9 +29,9 @@ #include "EventInfo/EventID.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/SimpleVector.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/SimpleVector.h" +#include "AtlasHepMC/GenParticle.h" //ROOT headers #include "TFile.h" diff --git a/ForwardDetectors/ALFA/ALFA_Digitization/CMakeLists.txt b/ForwardDetectors/ALFA/ALFA_Digitization/CMakeLists.txt index d845ffc73b2859aa3b8245a39cba094cc0f2595d..9fa388cfcef6fd5806f2a4884e8785bab5d769a0 100644 --- a/ForwardDetectors/ALFA/ALFA_Digitization/CMakeLists.txt +++ b/ForwardDetectors/ALFA/ALFA_Digitization/CMakeLists.txt @@ -17,19 +17,19 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE DetectorDescription/Identifier Generators/GeneratorObjects + Generators/AtlasHepMC Tools/PathResolver ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( ALFA_Digitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib ALFA_RawEv ALFA_SimEv GaudiKernel HitManagement Identifier GeneratorObjects PathResolver ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel PileUpToolsLib ALFA_RawEv ALFA_SimEv GaudiKernel HitManagement Identifier GeneratorObjects PathResolver ) # Install files from the package: atlas_install_headers( ALFA_Digitization ) diff --git a/ForwardDetectors/ALFA/ALFA_Digitization/src/ALFA_PileUpTool.cxx b/ForwardDetectors/ALFA/ALFA_Digitization/src/ALFA_PileUpTool.cxx index 730b51b0e3bc996309acda4fbe1cc94ff19bc52d..c2931c4de7898f319331be4844c8bbefb423a800 100644 --- a/ForwardDetectors/ALFA/ALFA_Digitization/src/ALFA_PileUpTool.cxx +++ b/ForwardDetectors/ALFA/ALFA_Digitization/src/ALFA_PileUpTool.cxx @@ -30,12 +30,12 @@ #include <functional> //for truth particles -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Vector/LorentzVector.h" -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/SimpleVector.h" #include "TTree.h" diff --git a/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/ALFA_LocRec/ALFA_LocRec.h b/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/ALFA_LocRec/ALFA_LocRec.h index de54c27497093e67c0c82d913667148a66729697..8e1b02bf26d28ae6327364430cb17b0732746cbe 100644 --- a/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/ALFA_LocRec/ALFA_LocRec.h +++ b/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/ALFA_LocRec/ALFA_LocRec.h @@ -56,9 +56,9 @@ //for truth particles #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" typedef struct _USERTRANSFORM { diff --git a/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/CMakeLists.txt b/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/CMakeLists.txt index 74090af3b8099010f004ad7a39cbdf3dac5db77d..5b7f7e1e8bfb0b89cece7220b05c549da005a5ba 100644 --- a/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/CMakeLists.txt +++ b/ForwardDetectors/ALFA/ALFA_Reconstruction/ALFA_LocRec/CMakeLists.txt @@ -16,10 +16,11 @@ atlas_depends_on_subdirs( PUBLIC ForwardDetectors/ALFA/ALFA_RawEv ForwardDetectors/ALFA/ALFA_RecEv/ALFA_LocRecEv GaudiKernel - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC + ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -30,8 +31,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_component( ALFA_LocRec src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel StoreGateLib SGtests AthenaPoolUtilities EventInfo ALFA_Geometry ALFA_RawEv ALFA_LocRecEv GaudiKernel GeneratorObjects ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel StoreGateLib SGtests AthenaPoolUtilities EventInfo ALFA_Geometry ALFA_RawEv ALFA_LocRecEv GaudiKernel GeneratorObjects ) # Install files from the package: atlas_install_headers( ALFA_LocRec ) diff --git a/ForwardDetectors/ForwardTransport/CMakeLists.txt b/ForwardDetectors/ForwardTransport/CMakeLists.txt index ab28fb3438a1068c096dfa88d54b3a6f8310c7fa..1134d6d01d4905f620922e0bf8a4ae4f309eb70e 100644 --- a/ForwardDetectors/ForwardTransport/CMakeLists.txt +++ b/ForwardDetectors/ForwardTransport/CMakeLists.txt @@ -10,20 +10,21 @@ atlas_depends_on_subdirs( PRIVATE ForwardDetectors/ForwardTracker ForwardDetectors/ForwardTransportSvc GaudiKernel - Simulation/G4Atlas/G4AtlasTools ) + Simulation/G4Atlas/G4AtlasTools + Generators/AtlasHepMC + ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( XercesC ) # Component(s) in the package: atlas_add_component( ForwardTransport src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ForwardTracker GaudiKernel G4AtlasToolsLib ) + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ForwardTracker GaudiKernel G4AtlasToolsLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/ForwardDetectors/ForwardTransport/src/ForwardTransportModel.cxx b/ForwardDetectors/ForwardTransport/src/ForwardTransportModel.cxx index ace2ee07dbcc837f31c101972d9602e06a14a27d..1bbb8b5313e68b899a0cfabd67b61d64dfbcf1d7 100644 --- a/ForwardDetectors/ForwardTransport/src/ForwardTransportModel.cxx +++ b/ForwardDetectors/ForwardTransport/src/ForwardTransportModel.cxx @@ -14,7 +14,7 @@ #include "G4Gamma.hh" #include "G4Lambda.hh" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" ForwardTransportModel::ForwardTransportModel(const std::string& name, const int verboseLevel, const std::string& FwdTrSvcName) : G4VFastSimulationModel(name) diff --git a/ForwardDetectors/ForwardTransportFast/CMakeLists.txt b/ForwardDetectors/ForwardTransportFast/CMakeLists.txt index d16e5bd24fca18c4d9d7335348155b6f3953bb14..44dd9e68313aa82ebd2b8ee60885f40f6019adb1 100644 --- a/ForwardDetectors/ForwardTransportFast/CMakeLists.txt +++ b/ForwardDetectors/ForwardTransportFast/CMakeLists.txt @@ -12,20 +12,20 @@ atlas_depends_on_subdirs( PUBLIC ForwardDetectors/ForwardTransportSvc GaudiKernel PRIVATE - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( ForwardTransportFast src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${GEANT4_LIBRARIES} AthenaBaseComps ForwardTracker GaudiKernel GeneratorObjects ForwardTracker ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} AthenaBaseComps ForwardTracker GaudiKernel GeneratorObjects ForwardTracker ) # Install files from the package: atlas_install_headers( ForwardTransportFast ) diff --git a/ForwardDetectors/ForwardTransportFast/src/ForwardTransportFast.cxx b/ForwardDetectors/ForwardTransportFast/src/ForwardTransportFast.cxx index d7c7296bbb657bbc6fd2e3cb49f079a92f66bafc..4a48377a50ae86b0969bde0ef1a8d0b22ec57331 100644 --- a/ForwardDetectors/ForwardTransportFast/src/ForwardTransportFast.cxx +++ b/ForwardDetectors/ForwardTransportFast/src/ForwardTransportFast.cxx @@ -4,7 +4,7 @@ #include "GeneratorObjects/McEventCollection.h" #include "CLHEP/Units/SystemOfUnits.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "ForwardTransportFast/ForwardTransportFast.h" #include "ForwardTracker/Particle.h" diff --git a/ForwardDetectors/ForwardTransportSvc/CMakeLists.txt b/ForwardDetectors/ForwardTransportSvc/CMakeLists.txt index a6398e229dcbabf5ab26c0e290acd50425bdaac0..ce54b1424631e843ecd30a5f1a5abbb1d59737ee 100644 --- a/ForwardDetectors/ForwardTransportSvc/CMakeLists.txt +++ b/ForwardDetectors/ForwardTransportSvc/CMakeLists.txt @@ -11,12 +11,12 @@ atlas_depends_on_subdirs( PUBLIC GaudiKernel PRIVATE Control/AthenaBaseComps - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) find_package( XercesC ) @@ -24,8 +24,8 @@ find_package( XercesC ) atlas_add_component( ForwardTransportSvc src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ForwardTracker GaudiKernel AthenaBaseComps GeneratorObjects ForwardTracker ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ForwardTracker GaudiKernel AthenaBaseComps GeneratorObjects ForwardTracker ) # Install files from the package: atlas_install_headers( ForwardTransportSvc ) diff --git a/ForwardDetectors/ForwardTransportSvc/ForwardTransportSvc/IForwardTransportSvc.h b/ForwardDetectors/ForwardTransportSvc/ForwardTransportSvc/IForwardTransportSvc.h index ca8c00d0a8858adfa47362283389889ce4617c33..1124fa1ba7b5b4d6880b91c08cae3f19ddfd3654 100755 --- a/ForwardDetectors/ForwardTransportSvc/ForwardTransportSvc/IForwardTransportSvc.h +++ b/ForwardDetectors/ForwardTransportSvc/ForwardTransportSvc/IForwardTransportSvc.h @@ -8,7 +8,7 @@ #include "GaudiKernel/IInterface.h" #include "GaudiKernel/StatusCode.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "ForwardTracker/ConfigData.h" diff --git a/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p1_test.cxx b/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p1_test.cxx index 51d5a2c4156e105bcc6dcb1f3448a9fafab8eb1f..ae802360f502e28ce5d1c6524f80d059d6bc359a 100644 --- a/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p1_test.cxx +++ b/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p2_test.cxx b/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p2_test.cxx index df6b13213a23badb3373f66d79f0d22a73dd7214..66709d3eb89385548be1a5520e1db443fe95423c 100644 --- a/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p2_test.cxx +++ b/ForwardDetectors/LUCID/LUCID_Cnv/LUCID_EventTPCnv/test/LUCID_SimHitCnv_p2_test.cxx @@ -17,8 +17,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/Generators/AtlasHepMC/AtlasHepMC/IO_BaseClass_fwd.h b/Generators/AtlasHepMC/AtlasHepMC/IO_BaseClass_fwd.h new file mode 100644 index 0000000000000000000000000000000000000000..fdff3e8119fda6e4b2a6c74dec49049dc881a6a0 --- /dev/null +++ b/Generators/AtlasHepMC/AtlasHepMC/IO_BaseClass_fwd.h @@ -0,0 +1,7 @@ +/* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration + Author: Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de +*/ +#ifndef ATLASHEPMC_IOBASECLASS_FWD_H +#define ATLASHEPMC_IOBASECLASS_FWD_H +namespace HepMC {class IO_BaseClass;} +#endif diff --git a/Generators/AtlasHepMC/AtlasHepMC/IO_GenEvent_fwd.h b/Generators/AtlasHepMC/AtlasHepMC/IO_GenEvent_fwd.h new file mode 100644 index 0000000000000000000000000000000000000000..e95f174a3c3fdd3d152638d1133a4033ac8cb194 --- /dev/null +++ b/Generators/AtlasHepMC/AtlasHepMC/IO_GenEvent_fwd.h @@ -0,0 +1,8 @@ +/* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration + Author: Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de +*/ +#ifndef ATLASHEPMC_IOGENEVENT_FWD_H +#define ATLASHEPMC_IOGENEVENT_FWD_H +namespace HepMC { class IO_GenEvent; } +#endif + diff --git a/Generators/GeneratorFilters/GeneratorFilters/BoostedHadTopAndTopPair.h b/Generators/GeneratorFilters/GeneratorFilters/BoostedHadTopAndTopPair.h index 5c72d214bc571ecb52afea5c1dd5f59d24271bad..94ab2767a654033eeee16a77f04f14976749b716 100644 --- a/Generators/GeneratorFilters/GeneratorFilters/BoostedHadTopAndTopPair.h +++ b/Generators/GeneratorFilters/GeneratorFilters/BoostedHadTopAndTopPair.h @@ -17,9 +17,7 @@ #include <iostream> #include "GeneratorModules/GenFilter.h" -namespace HepMC{ - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" /// Filter events based on presence of charged leptons diff --git a/Generators/GeneratorFilters/GeneratorFilters/TTbarPlusHeavyFlavorFilter.h b/Generators/GeneratorFilters/GeneratorFilters/TTbarPlusHeavyFlavorFilter.h index ceb763b930a14480bf83730078f60343693af8ee..4802aabba2a7521f9e797b3edb9265bc0c75ed88 100644 --- a/Generators/GeneratorFilters/GeneratorFilters/TTbarPlusHeavyFlavorFilter.h +++ b/Generators/GeneratorFilters/GeneratorFilters/TTbarPlusHeavyFlavorFilter.h @@ -15,9 +15,7 @@ #include "GeneratorModules/GenFilter.h" -namespace HepMC{ - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" class TTbarPlusHeavyFlavorFilter: public GenFilter { public: diff --git a/InnerDetector/InDetAlignTools/InDetAlignGenTools/CMakeLists.txt b/InnerDetector/InDetAlignTools/InDetAlignGenTools/CMakeLists.txt index 1bb5dcb381afde07d38ac7d438d305ba889062fa..51b0adc9468cefb9a3f1070a88dd638d8f97ada1 100644 --- a/InnerDetector/InDetAlignTools/InDetAlignGenTools/CMakeLists.txt +++ b/InnerDetector/InDetAlignTools/InDetAlignGenTools/CMakeLists.txt @@ -40,21 +40,22 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkRIO_OnTrack Tracking/TrkEvent/TrkTrackSummary Tracking/TrkEvent/TrkTruthData - Tracking/TrkFitter/TrkFitterInterfaces ) + Tracking/TrkFitter/TrkFitterInterfaces + Generators/AtlasHepMC + ) # External dependencies: find_package( CLHEP ) find_package( CORAL COMPONENTS CoralBase CoralKernel RelationalAccess ) find_package( Eigen ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( InDetAlignGenTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CORAL_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - LINK_LIBRARIES ${CORAL_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps AthenaPoolUtilities GeoPrimitives Identifier EventPrimitives InDetAlignTrkInfo InDetPrepRawData TrkEventPrimitives TrkEventUtils TrkTrack TrkExInterfaces TrkToolInterfaces AthenaKernel AthContainers AtlasDetDescr DetDescrConditions GaudiKernel InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry TRT_ReadoutGeometry TrkMeasurementBase TrkParameters TrkPrepRawData TrkRIO_OnTrack TrkTrackSummary TrkTruthData TrkFitterInterfaces EventContainers ) + INCLUDE_DIRS ${CORAL_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${CORAL_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps AthenaPoolUtilities GeoPrimitives Identifier EventPrimitives InDetAlignTrkInfo InDetPrepRawData TrkEventPrimitives TrkEventUtils TrkTrack TrkExInterfaces TrkToolInterfaces AthenaKernel AthContainers AtlasDetDescr DetDescrConditions GaudiKernel InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry TRT_ReadoutGeometry TrkMeasurementBase TrkParameters TrkPrepRawData TrkRIO_OnTrack TrkTrackSummary TrkTruthData TrkFitterInterfaces EventContainers ) # Install files from the package: atlas_install_headers( InDetAlignGenTools ) diff --git a/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/InDetAlignFillTrack.cxx b/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/InDetAlignFillTrack.cxx index 121aa2ed1749837fedfac122aa11a85cdab15d56..9148ea93b01f2dca1d9b83b9e19eecf3f2b0fdf9 100644 --- a/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/InDetAlignFillTrack.cxx +++ b/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/InDetAlignFillTrack.cxx @@ -45,8 +45,8 @@ #include "InDetAlignGenTools/InDetAlignFillTrack.h" #include "HepPDT/ParticleDataTable.hh" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include <string> diff --git a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/CMakeLists.txt b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/CMakeLists.txt index e3364b4a950f903da54ec9844ee3ee3de78d82e8..77b57a52115646501223f79dffd5021836a1f4e1 100644 --- a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/CMakeLists.txt +++ b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/CMakeLists.txt @@ -14,6 +14,7 @@ atlas_depends_on_subdirs( PUBLIC Event/EventPrimitives Event/xAOD/xAODEventInfo Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetDetDescr/InDetIdentifier Tracking/TrkAlignment/TrkAlignEvent Tracking/TrkEvent/TrkEventPrimitives @@ -27,15 +28,14 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkTools/TrkToolInterfaces ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( InDetAlignNtupleTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel EventPrimitives xAODEventInfo GeneratorObjects InDetIdentifier TrkAlignEvent TrkEventPrimitives TrkParameters TrkRIO_OnTrack TrkTrack TrkTrackSummary TrkTruthData TrkVertexOnTrack TrkExInterfaces TrkToolInterfaces ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel EventPrimitives xAODEventInfo GeneratorObjects InDetIdentifier TrkAlignEvent TrkEventPrimitives TrkParameters TrkRIO_OnTrack TrkTrack TrkTrackSummary TrkTruthData TrkVertexOnTrack TrkExInterfaces TrkToolInterfaces ) # Install files from the package: atlas_install_headers( InDetAlignNtupleTools ) diff --git a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/DetailedIDNtupleTool.cxx b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/DetailedIDNtupleTool.cxx index 2bfba3d0cc8c754197bca91dfcf94d8d524e9718..492211acc5cdd3202e6438b58f5f0a3c03264844 100644 --- a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/DetailedIDNtupleTool.cxx +++ b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/DetailedIDNtupleTool.cxx @@ -21,8 +21,8 @@ #include "TrkTruthData/TrackTruth.h" #include "TrkTruthData/TrackTruthCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "TrkAlignInterfaces/IAlignModuleTool.h" diff --git a/InnerDetector/InDetDigitization/FastSiDigitization/CMakeLists.txt b/InnerDetector/InDetDigitization/FastSiDigitization/CMakeLists.txt index 8b683fa51f9cd6c6cdbc422ce34dd583d010c569..4d0791002f9272896ab5c0e849f57f1b9d80e287 100644 --- a/InnerDetector/InDetDigitization/FastSiDigitization/CMakeLists.txt +++ b/InnerDetector/InDetDigitization/FastSiDigitization/CMakeLists.txt @@ -38,20 +38,20 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkExtrapolation/TrkExUtils Tracking/TrkDigitization/TrkDigEvent Tracking/TrkDigitization/TrkDigInterfaces - DetectorDescription/GeoPrimitives ) + DetectorDescription/GeoPrimitives + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( FastSiDigitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib EventPrimitives xAODEventInfo GaudiKernel InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry InDetSimData InDetPrepRawData SiClusterizationToolLib InDetSimEvent HitManagement ISF_FatrasDetDescrModel ISF_FatrasEvent TrkTruthData StoreGateLib SGtests Identifier GeneratorObjects InDetIdentifier TrkDetDescrInterfaces TrkDigEvent TrkGeometry TrkSurfaces TrkExUtils ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel PileUpToolsLib EventPrimitives xAODEventInfo GaudiKernel InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry InDetSimData InDetPrepRawData SiClusterizationToolLib InDetSimEvent HitManagement ISF_FatrasDetDescrModel ISF_FatrasEvent TrkTruthData StoreGateLib SGtests Identifier GeneratorObjects InDetIdentifier TrkDetDescrInterfaces TrkDigEvent TrkGeometry TrkSurfaces TrkExUtils ) # Install files from the package: atlas_install_headers( FastSiDigitization ) diff --git a/InnerDetector/InDetDigitization/FastSiDigitization/src/PixelFastDigitizationTool.cxx b/InnerDetector/InDetDigitization/FastSiDigitization/src/PixelFastDigitizationTool.cxx index b7b0b87df9b66d54236d1922c4c2f6a1bb09408e..4a59f62aad3d53f64b82e15bc8e0624051b1455e 100644 --- a/InnerDetector/InDetDigitization/FastSiDigitization/src/PixelFastDigitizationTool.cxx +++ b/InnerDetector/InDetDigitization/FastSiDigitization/src/PixelFastDigitizationTool.cxx @@ -45,7 +45,7 @@ #include "AthenaKernel/IAtRndmGenSvc.h" #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //Package For New Tracking: // Amg includes diff --git a/InnerDetector/InDetDigitization/FastSiDigitization/src/SCT_FastDigitizationTool.cxx b/InnerDetector/InDetDigitization/FastSiDigitization/src/SCT_FastDigitizationTool.cxx index 706125523db95d4ce23a83bf7fef5a8dc9721175..aa8fd1750f7f7fb9cb8a1c1aa91cade076af5716 100644 --- a/InnerDetector/InDetDigitization/FastSiDigitization/src/SCT_FastDigitizationTool.cxx +++ b/InnerDetector/InDetDigitization/FastSiDigitization/src/SCT_FastDigitizationTool.cxx @@ -36,7 +36,7 @@ #include "GaudiKernel/SystemOfUnits.h" #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // CLHEP #include "CLHEP/Random/RandomEngine.h" diff --git a/InnerDetector/InDetDigitization/PixelDigitization/CMakeLists.txt b/InnerDetector/InDetDigitization/PixelDigitization/CMakeLists.txt index 08abafa159422dc92c656dd0de94f5c620a2b154..ffcbb486feeb225131774d58b76cc901bb1ce382 100644 --- a/InnerDetector/InDetDigitization/PixelDigitization/CMakeLists.txt +++ b/InnerDetector/InDetDigitization/PixelDigitization/CMakeLists.txt @@ -16,6 +16,7 @@ atlas_depends_on_subdirs( PUBLIC Control/StoreGate DetectorDescription/Identifier Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetConditions/InDetConditionsSummaryService InnerDetector/InDetConditions/InDetCondTools InnerDetector/InDetConditions/PixelConditionsTools @@ -34,15 +35,14 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread Matrix TreePlayer ) # Component(s) in the package: atlas_add_component( PixelDigitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel CommissionEvent AthenaKernel PileUpToolsLib StoreGateLib SGtests Identifier GeneratorObjects PixelConditionsData SiPropertiesToolLib InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SiDigitization InDetRawData InDetSimData InDetSimEvent HitManagement PathResolver ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel CommissionEvent AthenaKernel PileUpToolsLib StoreGateLib SGtests Identifier GeneratorObjects PixelConditionsData SiPropertiesToolLib InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SiDigitization InDetRawData InDetSimData InDetSimEvent HitManagement PathResolver ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/EnergyDepositionTool.cxx b/InnerDetector/InDetDigitization/PixelDigitization/src/EnergyDepositionTool.cxx index 9cf0b01b2fe80cd05da03fd26fce0f7cf0b20fb3..97b5f36ee9b763ec427807a0b967bc2bd7d9dd53 100644 --- a/InnerDetector/InDetDigitization/PixelDigitization/src/EnergyDepositionTool.cxx +++ b/InnerDetector/InDetDigitization/PixelDigitization/src/EnergyDepositionTool.cxx @@ -14,9 +14,9 @@ #include "InDetIdentifier/PixelID.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "SiPropertiesTool/SiliconProperties.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "PathResolver/PathResolver.h" #include <fstream> diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/RadDamageUtil.cxx b/InnerDetector/InDetDigitization/PixelDigitization/src/RadDamageUtil.cxx index 3f733170edde9efaa261775826757bba250ed491..440a2e9f552d1ab3516c0cbb6b0447bde8d50851 100644 --- a/InnerDetector/InDetDigitization/PixelDigitization/src/RadDamageUtil.cxx +++ b/InnerDetector/InDetDigitization/PixelDigitization/src/RadDamageUtil.cxx @@ -15,9 +15,9 @@ #include "InDetIdentifier/PixelID.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "SiPropertiesTool/SiliconProperties.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "PathResolver/PathResolver.h" #include <fstream> diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSim3DTool.cxx b/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSim3DTool.cxx index f3a52c36b1502b33aad120c90ab2ab8c016e6d80..d7cef6302e5abae68dea7968260ec41c1447b60d 100644 --- a/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSim3DTool.cxx +++ b/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSim3DTool.cxx @@ -11,9 +11,9 @@ #include "GeneratorObjects/HepMcParticleLink.h" #include "SiPropertiesTool/SiliconProperties.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Random/RandFlat.h" #include "CLHEP/Random/RandGaussZiggurat.h" diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSimPlanarTool.cxx b/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSimPlanarTool.cxx index 43c50767f4afc297aed9f3d07388a1db0422c3af..80a9937ae72108b4d0f7a17a9b33f6efe1a67815 100644 --- a/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSimPlanarTool.cxx +++ b/InnerDetector/InDetDigitization/PixelDigitization/src/SensorSimPlanarTool.cxx @@ -10,9 +10,9 @@ #include "InDetIdentifier/PixelID.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "SiPropertiesTool/SiliconProperties.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Random/RandFlat.h" #include "CLHEP/Random/RandGaussZiggurat.h" diff --git a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/CMakeLists.txt b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/CMakeLists.txt index d290955864ce0d077518a4973dc28c05b9cdc8ab..fc0ecb7ee87812be31a132c6c2ae76767e0a57e9 100644 --- a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/CMakeLists.txt +++ b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/CMakeLists.txt @@ -29,19 +29,19 @@ atlas_depends_on_subdirs( PUBLIC InnerDetector/InDetRecTools/TRT_DriftFunctionTool InnerDetector/InDetSimEvent Tracking/TrkDetDescr/TrkSurfaces - Tracking/TrkEvent/TrkTruthData ) + Tracking/TrkEvent/TrkTruthData + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( InDetPrepRawDataToxAOD src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel AthenaBaseComps StoreGateLib SGtests Identifier InDetByteStreamErrors PixelConditionsData xAODTracking TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry TRT_ReadoutGeometry InDetRawData InDetSimData InDetPrepRawData InDetSimEvent TrkSurfaces TrkTruthData ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib GaudiKernel AthenaBaseComps StoreGateLib SGtests Identifier InDetByteStreamErrors PixelConditionsData xAODTracking TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry TRT_ReadoutGeometry InDetRawData InDetSimData InDetPrepRawData InDetSimEvent TrkSurfaces TrkTruthData ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/PixelPrepDataToxAOD.cxx b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/PixelPrepDataToxAOD.cxx index 5461e2e0d846604f01560f9f542e6d22e0945068..0b2e20a09ed41311eb8cdf7513104df0072bc915 100644 --- a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/PixelPrepDataToxAOD.cxx +++ b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/PixelPrepDataToxAOD.cxx @@ -21,8 +21,8 @@ #include "TrkTruthData/PRD_MultiTruthCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "InDetSimEvent/SiHit.h" #include "InDetSimData/InDetSimDataCollection.h" diff --git a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/SCT_PrepDataToxAOD.cxx b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/SCT_PrepDataToxAOD.cxx index 97dc81d6f99386f0d8f0d96b85e3fe7c23defe97..23cb80d4d03e852d5299d1de944333f58cda2a8b 100644 --- a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/SCT_PrepDataToxAOD.cxx +++ b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/SCT_PrepDataToxAOD.cxx @@ -17,7 +17,7 @@ #include "StoreGate/WriteHandle.h" #include "xAODTracking/TrackMeasurementValidationAuxContainer.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Geometry/Point3D.h" diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx index 3ba814891c54543aa996065ee49039e588073f23..ecc75766f7384d1ec0a1d41a38b73282957aad0f 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const HepMcParticleLink& p1, diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx index 2729c87fb73d654b7b54d313035edadb8f8b598f..4e6fa39f52f104016cd1b9dc880a2cbe8c1f99cb 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const HepMcParticleLink& p1, diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx index 597f9d21137e85bf4102ea6657168b28029f6183..d66def373f6afb9029afef1cf53a4c78fcbdb050 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/SiHitCollectionCnv_p3_test.cxx @@ -17,8 +17,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const HepMcParticleLink& p1, diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx index b0947c43205b7f1da710ec821cb98977bfd3f386..172512e34d525988e3e71114cbb4edaf0feeff8c 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx index de1afb5f4ae4d2e4119e774bba1b08064ba828e8..6eff0faf8819c2ed4f9111baf3d23d07765d108e 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx index 19d3c099edebc513fdce461c992acf2038671577..4f9b1cdff529201948c0b2f05309c404dbb5de0a 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p3_test.cxx @@ -20,8 +20,8 @@ #include <cmath> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" using Athena_test::isEqual; using std::atan2; diff --git a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx index d57eccd700d56ff85ef989a928bb735fe8f33306..7cd6335bba46c70f4898702628708e1162261c98 100644 --- a/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx +++ b/InnerDetector/InDetEventCnv/InDetSimEventTPCnv/test/TRT_HitCollectionCnv_p4_test.cxx @@ -20,8 +20,8 @@ #include <cmath> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" using Athena_test::isEqual; using std::atan2; diff --git a/InnerDetector/InDetG4/BLM_G4_SD/test/BLMSensorSD_gtest.cxx b/InnerDetector/InDetG4/BLM_G4_SD/test/BLMSensorSD_gtest.cxx index 5868544defe7bbed8f97a6649fb8fcd626a12b03..3ea9496eee45660685c5b156d008547055b0afc9 100644 --- a/InnerDetector/InDetG4/BLM_G4_SD/test/BLMSensorSD_gtest.cxx +++ b/InnerDetector/InDetG4/BLM_G4_SD/test/BLMSensorSD_gtest.cxx @@ -28,7 +28,7 @@ #include "MCTruth/TrackHelper.h" #include "MCTruth/TrackInformation.h" #include "MCTruth/VTrackInformation.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" //set environment class GaudiEnvironment : public ::testing::Environment { diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/CMakeLists.txt b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/CMakeLists.txt index f467b3ccdd928f839193a8fe2f65b9b0c987262a..a309f350ed1c4d6f6875da8f3afd99e18387f648 100644 --- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/CMakeLists.txt +++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/CMakeLists.txt @@ -45,18 +45,19 @@ atlas_depends_on_subdirs( Tracking/TrkEvent/VxVertex Tracking/TrkExtrapolation/TrkExInterfaces Tracking/TrkTools/TrkToolInterfaces - Tracking/TrkVertexFitter/TrkVertexFitterInterfaces ) + Tracking/TrkVertexFitter/TrkVertexFitterInterfaces + Generators/AtlasHepMC + ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO MathMore Gpad Matrix ) # Component(s) in the package: atlas_add_component( InDetAlignmentMonitoring src/*.h src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib GaudiKernel CommissionEvent AthenaBaseComps AthenaMonitoringLib AthContainers AtlasDetDescr Identifier EventPrimitives xAODEventInfo xAODTracking TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonNtuple.cxx b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonNtuple.cxx index fa5efd5ad364f81299d99d4fbb8ac46d6cfc4c18..17e12ba82beb21c86bdc534e4f1d31b4e0ae15e5 100644 --- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonNtuple.cxx +++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonNtuple.cxx @@ -26,8 +26,8 @@ #include "InDetRIO_OnTrack/SiClusterOnTrack.h" #include "InDetPrepRawData/SiCluster.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "TrkEventPrimitives/FitQuality.h" #include "TrkEventPrimitives/LocalParameters.h" diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonTruthComparison.cxx b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonTruthComparison.cxx index fd1764f9a7b125182bbb23f8fa68d0c78427e49a..f2552ab3d9a0dfc0260c0fa6fbbffee9f342e329 100755 --- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonTruthComparison.cxx +++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonTruthComparison.cxx @@ -18,7 +18,7 @@ #include "GaudiKernel/IJobOptionsSvc.h" #include "GaudiKernel/MsgStream.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTruthData/TrackTruth.h" #include "InDetRIO_OnTrack/SiClusterOnTrack.h" diff --git a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/CMakeLists.txt b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/CMakeLists.txt index 4397b16852a941a7b7938974fd3d6ec8ffded78d..ea7d73ffbf34082254ea6b9b0778a2c1e0e3b545 100644 --- a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/CMakeLists.txt +++ b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/CMakeLists.txt @@ -21,6 +21,7 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODTruth GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetDetDescr/InDetReadoutGeometry InnerDetector/InDetDetDescr/TRT_ReadoutGeometry InnerDetector/InDetRecEvent/InDetRIO_OnTrack @@ -47,7 +48,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) # Component(s) in the package: @@ -55,15 +55,15 @@ atlas_add_library( InDetPerformanceMonitoringLib src/*.cxx PUBLIC_HEADERS InDetPerformanceMonitoring INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AthenaBaseComps AthenaKernel xAODCaloEvent xAODEgamma xAODJet xAODMissingET xAODMuon xAODTracking xAODTruth GaudiKernel GeneratorObjects InDetReadoutGeometry TRT_ReadoutGeometry InDetRIO_OnTrack JetInterface ITrackToVertex egammaEvent LWHists TrkParameters TrkParticleBase TrkTrack AthenaMonitoringLib StoreGateLib SGtests ElectronPhotonSelectorToolsLib TrkVertexAnalysisUtilsLib TrigDecisionToolLib - PRIVATE_LINK_LIBRARIES ${HEPMC_LIBRARIES} IdDictDetDescr xAODEventInfo EventPrimitives InDetIdentifier InDetPrepRawData TrkEventPrimitives TrkTrackSummary TrkTruthData TrkV0Vertex ) + PRIVATE_LINK_LIBRARIES AtlasHepMCLib IdDictDetDescr xAODEventInfo EventPrimitives InDetIdentifier InDetPrepRawData TrkEventPrimitives TrkTrackSummary TrkTruthData TrkV0Vertex ) atlas_add_component( InDetPerformanceMonitoring src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel AthenaMonitoringLib StoreGateLib SGtests xAODCaloEvent xAODEgamma xAODJet xAODMissingET xAODMuon xAODTracking xAODTruth GaudiKernel GeneratorObjects InDetReadoutGeometry TRT_ReadoutGeometry InDetRIO_OnTrack ElectronPhotonSelectorToolsLib JetInterface ITrackToVertex egammaEvent LWHists TrkParameters TrkParticleBase TrkTrack IdDictDetDescr xAODEventInfo EventPrimitives InDetIdentifier InDetPrepRawData TrkEventPrimitives TrkTrackSummary TrkTruthData TrkV0Vertex TrkVertexAnalysisUtilsLib TrigDecisionToolLib InDetPerformanceMonitoringLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel AthenaMonitoringLib StoreGateLib SGtests xAODCaloEvent xAODEgamma xAODJet xAODMissingET xAODMuon xAODTracking xAODTruth GaudiKernel GeneratorObjects InDetReadoutGeometry TRT_ReadoutGeometry InDetRIO_OnTrack ElectronPhotonSelectorToolsLib JetInterface ITrackToVertex egammaEvent LWHists TrkParameters TrkParticleBase TrkTrack IdDictDetDescr xAODEventInfo EventPrimitives InDetIdentifier InDetPrepRawData TrkEventPrimitives TrkTrackSummary TrkTruthData TrkV0Vertex TrkVertexAnalysisUtilsLib TrigDecisionToolLib InDetPerformanceMonitoringLib ) # Install files from the package: atlas_install_joboptions( share/*.py ) diff --git a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/IDPerfMonZmumu.cxx b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/IDPerfMonZmumu.cxx index dbead826723bd5a5ef88d29de7a22727c8d7efc6..f8387747a3c09b6e01a2a8c59454d594e589c99b 100755 --- a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/IDPerfMonZmumu.cxx +++ b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/IDPerfMonZmumu.cxx @@ -29,8 +29,8 @@ // ATLAS headers #include "GaudiKernel/IInterface.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "TrkTruthData/TrackTruthCollection.h" #include "TrkTruthData/TrackTruthKey.h" diff --git a/InnerDetector/InDetRawAlgs/InDetOverlay/src/TRTOverlay.cxx b/InnerDetector/InDetRawAlgs/InDetOverlay/src/TRTOverlay.cxx index d338c9535786b8715b109f59ba6f9cb78cf98dee..c7b73f5877aeb62cc718c56c574ca69049d46308 100644 --- a/InnerDetector/InDetRawAlgs/InDetOverlay/src/TRTOverlay.cxx +++ b/InnerDetector/InDetRawAlgs/InDetOverlay/src/TRTOverlay.cxx @@ -5,7 +5,7 @@ #include "AthenaKernel/RNGWrapper.h" #include "CLHEP/Random/RandomEngine.h" #include "CLHEP/Random/RandFlat.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "InDetIdentifier/TRT_ID.h" #include "InDetOverlay/TRTOverlay.h" diff --git a/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/CMakeLists.txt b/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/CMakeLists.txt index 57d941d8d2b83b05bc08457bf11e2bfbdcbc0098..25ac53811b24da7cb37c69ca78d19568ea24283c 100644 --- a/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/CMakeLists.txt +++ b/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/CMakeLists.txt @@ -23,17 +23,17 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkDetDescr/TrkSurfaces Tracking/TrkVertexFitter/TrkVertexFitterInterfaces Tracking/TrkEvent/VxSecVertex - Event/EventPrimitives) + Event/EventPrimitives + Generators/AtlasHepMC ) # External dependencies -find_package( HepMC ) # Component(s) in the package: atlas_add_component( InDetZVTOPVxFinder src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel InDetRecToolInterfaces VxVertex Particle TrkParticleBase TrkParameters xAODTracking AthContainers TrkExInterfaces TrkSurfaces TrkVertexFitterInterfaces VxSecVertex EventPrimitives ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps GaudiKernel InDetRecToolInterfaces VxVertex Particle TrkParticleBase TrkParameters xAODTracking AthContainers TrkExInterfaces TrkSurfaces TrkVertexFitterInterfaces VxSecVertex EventPrimitives ) # Install files from the package: atlas_install_headers( InDetZVTOPVxFinder ) diff --git a/InnerDetector/InDetRecTools/SiClusterizationTool/src/TruthClusterizationFactory.cxx b/InnerDetector/InDetRecTools/SiClusterizationTool/src/TruthClusterizationFactory.cxx index d7be686382c24395289b4ae6bdf0e7022bb0aeb7..95126f93a58867fb12f74290bb99f6e6a38763aa 100644 --- a/InnerDetector/InDetRecTools/SiClusterizationTool/src/TruthClusterizationFactory.cxx +++ b/InnerDetector/InDetRecTools/SiClusterizationTool/src/TruthClusterizationFactory.cxx @@ -22,7 +22,7 @@ #include "GaudiKernel/ServiceHandle.h" #include "GaudiKernel/Incident.h" #include "InDetSimData/InDetSimData.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkEventPrimitives/ParamDefs.h" diff --git a/InnerDetector/InDetTruth/InDetTruthTools/CMakeLists.txt b/InnerDetector/InDetTruth/InDetTruthTools/CMakeLists.txt index e8908cae65c84e67de8e67128f5805b842432afe..dfe02508759bc63028c909a539d5d9bc9f1662ce 100644 --- a/InnerDetector/InDetTruth/InDetTruthTools/CMakeLists.txt +++ b/InnerDetector/InDetTruth/InDetTruthTools/CMakeLists.txt @@ -19,17 +19,17 @@ atlas_depends_on_subdirs( PUBLIC InnerDetector/InDetRawEvent/InDetSimData InnerDetector/InDetRecEvent/InDetPrepRawData Tracking/TrkEvent/TrkPrepRawData - Tracking/TrkEvent/TrkTruthData ) + Tracking/TrkEvent/TrkTruthData + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( InDetTruthTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps TrkEventPrimitives AtlasDetDescr GaudiKernel InDetIdentifier InDetReadoutGeometry InDetSimData InDetPrepRawData TrkPrepRawData TrkTruthData ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps TrkEventPrimitives AtlasDetDescr GaudiKernel InDetIdentifier InDetReadoutGeometry InDetSimData InDetPrepRawData TrkPrepRawData TrkTruthData ) # Install files from the package: atlas_install_headers( InDetTruthTools ) diff --git a/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectoryManipulatorID.cxx b/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectoryManipulatorID.cxx index 8d4e6df50a6316e354ac6daa3a218ffd2d1b123c..154423ff0e0632a2d48a48aa76e8cb9c3e2d6115 100644 --- a/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectoryManipulatorID.cxx +++ b/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectoryManipulatorID.cxx @@ -13,7 +13,7 @@ // DetectorDescription #include "AtlasDetDescr/AtlasDetectorID.h" // HepMC -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" InDet::PRD_TruthTrajectoryManipulatorID::PRD_TruthTrajectoryManipulatorID(const std::string& t, const std::string& n, const IInterface* p) : AthAlgTool(t,n,p) diff --git a/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectorySelectorID.cxx b/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectorySelectorID.cxx index 348417f7294e870d9e106295a9d81f53deedb521..80e7bb29a1c0a517aae60229a2d15455b44c5244 100644 --- a/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectorySelectorID.cxx +++ b/InnerDetector/InDetTruth/InDetTruthTools/src/PRD_TruthTrajectorySelectorID.cxx @@ -13,7 +13,7 @@ // DetectorDescription #include "AtlasDetDescr/AtlasDetectorID.h" // HepMC -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" InDet::PRD_TruthTrajectorySelectorID::PRD_TruthTrajectorySelectorID(const std::string& t, const std::string& n, const IInterface* p) : diff --git a/InnerDetector/InDetValidation/InDetPerformanceRTT/CMakeLists.txt b/InnerDetector/InDetValidation/InDetPerformanceRTT/CMakeLists.txt index 9d0b4787ad1620bad95b6c8e83ebf341ce7f8340..195360370b45b535ca2ccf7b90049edf8b7c0cf5 100644 --- a/InnerDetector/InDetValidation/InDetPerformanceRTT/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetPerformanceRTT/CMakeLists.txt @@ -13,6 +13,7 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODEventInfo GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetDetDescr/InDetIdentifier InnerDetector/InDetDetDescr/InDetReadoutGeometry InnerDetector/InDetDetDescr/PixelReadoutGeometry @@ -34,7 +35,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Eigen ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint ) @@ -42,8 +42,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_component( InDetPerformanceRTT src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${EIGEN_LIBRARIES} ${HEPMC_LIBRARIES} AthenaMonitoringLib StoreGateLib AtlasDetDescr xAODEventInfo GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry SCT_ReadoutGeometry TRT_ReadoutGeometry PixelReadoutGeometry TrkTrack TrkToolInterfaces SGtests GeoPrimitives IdDictDetDescr EventPrimitives InDetPrepRawData InDetRIO_OnTrack JetEvent TrkEventPrimitives TrkTrackSummary TrkTruthData ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${EIGEN_LIBRARIES} AtlasHepMCLib AthenaMonitoringLib StoreGateLib AtlasDetDescr xAODEventInfo GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry SCT_ReadoutGeometry TRT_ReadoutGeometry PixelReadoutGeometry TrkTrack TrkToolInterfaces SGtests GeoPrimitives IdDictDetDescr EventPrimitives InDetPrepRawData InDetRIO_OnTrack JetEvent TrkEventPrimitives TrkTrackSummary TrkTruthData ) # Install files from the package: atlas_install_headers( InDetPerformanceRTT ) diff --git a/InnerDetector/InDetValidation/InDetPerformanceRTT/src/IDStandardPerformance.cxx b/InnerDetector/InDetValidation/InDetPerformanceRTT/src/IDStandardPerformance.cxx index c8bccb7b3615ffa1eb01df11af38db5ce83bbe94..8ce4c712c7fae9314070180f1ec9eaac85413184 100755 --- a/InnerDetector/InDetValidation/InDetPerformanceRTT/src/IDStandardPerformance.cxx +++ b/InnerDetector/InDetValidation/InDetPerformanceRTT/src/IDStandardPerformance.cxx @@ -22,8 +22,8 @@ #include "StoreGate/ReadHandle.h" #include "HepPDT/ParticleData.hh" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" #include "HepPDT/ParticleDataTable.hh" #include "IdDictDetDescr/IdDictManager.h" diff --git a/InnerDetector/InDetValidation/InDetRecStatistics/CMakeLists.txt b/InnerDetector/InDetValidation/InDetRecStatistics/CMakeLists.txt index 423daa43e1ad0e793b34a4353a927bb16fb83973..33e712d32184b9efd619b94b6f421c271cde4c13 100644 --- a/InnerDetector/InDetValidation/InDetRecStatistics/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetRecStatistics/CMakeLists.txt @@ -11,6 +11,7 @@ atlas_depends_on_subdirs( PUBLIC DetectorDescription/Identifier GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTrackSummary PRIVATE @@ -31,15 +32,14 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( InDetRecStatistics src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps Identifier GaudiKernel GeneratorObjects TrkTrack TrkTrackSummary AtlasDetDescr IdDictDetDescr TruthHelper InDetIdentifier InDetRIO_OnTrack TrkSurfaces TrkCompetingRIOsOnTrack TrkEventPrimitives TrkEventUtils TrkParameters TrkRIO_OnTrack TrkTruthData VxVertex TrkToolInterfaces ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps Identifier GaudiKernel GeneratorObjects TrkTrack TrkTrackSummary AtlasDetDescr IdDictDetDescr TruthHelper InDetIdentifier InDetRIO_OnTrack TrkSurfaces TrkCompetingRIOsOnTrack TrkEventPrimitives TrkEventUtils TrkParameters TrkRIO_OnTrack TrkTruthData VxVertex TrkToolInterfaces ) # Install files from the package: atlas_install_headers( InDetRecStatistics ) diff --git a/InnerDetector/InDetValidation/InDetRecStatistics/InDetRecStatistics/TrackStatHelper.h b/InnerDetector/InDetValidation/InDetRecStatistics/InDetRecStatistics/TrackStatHelper.h index cd4d17ff6c8271ae6b83dfbb28f0a52a2517002e..def8ec0b7811576f108262fa49369494911851cf 100755 --- a/InnerDetector/InDetValidation/InDetRecStatistics/InDetRecStatistics/TrackStatHelper.h +++ b/InnerDetector/InDetValidation/InDetRecStatistics/InDetRecStatistics/TrackStatHelper.h @@ -17,7 +17,7 @@ #include "TrkTrack/TrackInfo.h" #include "TrkTrackSummary/TrackSummary.h" // needed by Trk::numberOfTrackSummaryTypes #include "TrkTrack/TrackCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "TrkToolInterfaces/IExtendedTrackSummaryTool.h" #include "TrkToolInterfaces/IPRDtoTrackMapTool.h" diff --git a/InnerDetector/InDetValidation/InDetRecStatistics/src/InDetRecStatisticsAlg.cxx b/InnerDetector/InDetValidation/InDetRecStatistics/src/InDetRecStatisticsAlg.cxx index 50a2c2afe36350ab83e77ccc310382b56dce8151..282d736b5bbd0463ec0621a4b8671f095ecfc69c 100755 --- a/InnerDetector/InDetValidation/InDetRecStatistics/src/InDetRecStatisticsAlg.cxx +++ b/InnerDetector/InDetValidation/InDetRecStatistics/src/InDetRecStatisticsAlg.cxx @@ -65,7 +65,7 @@ #include "InDetRecStatistics/InDetRecStatisticsAlg.h" #include "InDetRecStatistics/TrackStatHelper.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TruthHelper/PileUpType.h" #include "IdDictDetDescr/IdDictManager.h" diff --git a/InnerDetector/InDetValidation/InDetRecStatistics/src/TrackStatHelper.cxx b/InnerDetector/InDetValidation/InDetRecStatistics/src/TrackStatHelper.cxx index 1ddfad33204ca764499074340748ce8f9aeae81a..1f9d5946e2021f86942667d7808aa21c72f20054 100755 --- a/InnerDetector/InDetValidation/InDetRecStatistics/src/TrackStatHelper.cxx +++ b/InnerDetector/InDetValidation/InDetRecStatistics/src/TrackStatHelper.cxx @@ -25,7 +25,7 @@ #include "InDetIdentifier/SCT_ID.h" #include "TrkTruthData/TrackTruth.h" #include "TrkTruthData/TrackTruthCollection.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include <iostream> #include <sstream> #include <vector> diff --git a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/CMakeLists.txt b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/CMakeLists.txt index cec6f51ead4bc1a40c59cd6b50858bc0364ac63a..a48fa89d6ad5cdca4216c22fac46ef26b21364bf 100644 --- a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/CMakeLists.txt @@ -16,18 +16,18 @@ atlas_depends_on_subdirs( PUBLIC Control/StoreGate InnerDetector/InDetRecEvent/InDetRIO_OnTrack Tracking/TrkEvent/TrkPseudoMeasurementOnTrack - Tracking/TrkEvent/TrkTrack ) + Tracking/TrkEvent/TrkTrack + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( InDetSegmentDriftCircleAssValidation src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel InDetPrepRawData TrkSegment TrkTruthData InDetRIO_OnTrack TrkPseudoMeasurementOnTrack TrkTrack ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel InDetPrepRawData TrkSegment TrkTruthData InDetRIO_OnTrack TrkPseudoMeasurementOnTrack TrkTrack ) # Install files from the package: atlas_install_headers( InDetSegmentDriftCircleAssValidation ) diff --git a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h index 9a4016334efca0aa6f731638cd5631ee4e2995f3..c87724505e8b479667130ec751088bcd33c5f7fd 100644 --- a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h +++ b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h @@ -9,7 +9,7 @@ #include <map> #include "AthenaBaseComps/AthAlgorithm.h" #include "InDetPrepRawData/TRT_DriftCircleContainer.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "HepPDT/ParticleDataTable.hh" #include "TrkTruthData/PRD_MultiTruthCollection.h" diff --git a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/SegmentDriftCircleAssValidation.cxx b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/SegmentDriftCircleAssValidation.cxx index 988783d4463c8485b292bc64072981184d309a47..e354d9d331f1775888f3cb4e4d8dd5629e57684d 100644 --- a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/SegmentDriftCircleAssValidation.cxx +++ b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/SegmentDriftCircleAssValidation.cxx @@ -15,7 +15,7 @@ #include "InDetRIO_OnTrack/TRT_DriftCircleOnTrack.h" #include "TrkPseudoMeasurementOnTrack/PseudoMeasurementOnTrack.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h" // ReadHandle diff --git a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/CMakeLists.txt b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/CMakeLists.txt index 6b364e7135757e0150a62a83d5c74f7a1276adbb..68fb9ca29890175c4ecfd39289285ab1903f587b 100644 --- a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/CMakeLists.txt @@ -15,18 +15,18 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE GaudiKernel Tracking/TrkEvent/TrkRIO_OnTrack - Tracking/TrkEvent/TrkTrack ) + Tracking/TrkEvent/TrkTrack + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( InDetTrackClusterAssValidation src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps StoreGateLib SGtests InDetPrepRawData TrkSpacePoint TrkTruthData GaudiKernel TrkRIO_OnTrack TrkTrack ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps StoreGateLib SGtests InDetPrepRawData TrkSpacePoint TrkTruthData GaudiKernel TrkRIO_OnTrack TrkTrack ) # Install files from the package: atlas_install_headers( InDetTrackClusterAssValidation ) diff --git a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/TrackClusterAssValidation.cxx b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/TrackClusterAssValidation.cxx index 7390ae89d70308737d7303b61997b4707802c932..2d5dc5811744c577c8700539bb9fd7459142ee41 100755 --- a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/TrackClusterAssValidation.cxx +++ b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/TrackClusterAssValidation.cxx @@ -4,7 +4,7 @@ #include "GaudiKernel/IPartPropSvc.h" #include "GaudiKernel/ServiceHandle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "TrkTrack/TrackCollection.h" #include "TrkRIO_OnTrack/RIO_OnTrack.h" #include "InDetPrepRawData/SCT_ClusterContainer.h" @@ -12,7 +12,7 @@ #include "InDetTrackClusterAssValidation/TrackClusterAssValidation.h" #include "StoreGate/ReadHandle.h" #include "HepPDT/ParticleDataTable.hh" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <cmath> /////////////////////////////////////////////////////////////////// diff --git a/InnerDetector/InDetValidation/InDetTrackValidation/CMakeLists.txt b/InnerDetector/InDetValidation/InDetTrackValidation/CMakeLists.txt index b8b72a607df67e1d5bac23a0083341c658c79180..360596cf8666f3380675a8f595a6024aa1606aed 100644 --- a/InnerDetector/InDetValidation/InDetTrackValidation/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetTrackValidation/CMakeLists.txt @@ -26,6 +26,7 @@ atlas_depends_on_subdirs( DetectorDescription/GeoModel/GeoModelInterfaces Event/EventPrimitives Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetConditions/InDetBeamSpotService InnerDetector/InDetConditions/InDetConditionsSummaryService InnerDetector/InDetConditions/PixelConditionsTools @@ -46,14 +47,13 @@ atlas_depends_on_subdirs( # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore ) # Component(s) in the package: atlas_add_component( InDetTrackValidation InDetTrackValidation/*.h src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel StoreGateLib SGtests xAODEventInfo GaudiKernel InDetRawData InDetPrepRawData InDetSimEvent TrkParameters TrkSpacePoint TrkTrack TrkValInterfaces AthContainers AtlasDetDescr EventPrimitives GeneratorObjects TRT_ConditionsData diff --git a/LArCalorimeter/LArCafJobs/CMakeLists.txt b/LArCalorimeter/LArCafJobs/CMakeLists.txt index f82c111450904e5d78ca7b96ace22cf4373b2d36..76918f736c954c2af79115e9f2384c63cc72708a 100644 --- a/LArCalorimeter/LArCafJobs/CMakeLists.txt +++ b/LArCalorimeter/LArCafJobs/CMakeLists.txt @@ -39,12 +39,12 @@ atlas_depends_on_subdirs( PUBLIC LArCalorimeter/LArElecCalib LArCalorimeter/LArRecEvent Trigger/TrigConfiguration/TrigConfHLTData - Trigger/TrigT1/TrigT1Result ) + Trigger/TrigT1/TrigT1Result + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( ROOT COMPONENTS Matrix Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) -find_package( HepMC ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -70,19 +70,19 @@ atlas_add_library( LArCafJobsLib src/LArNoiseBursts.cxx src/LArHECNoise.cxx PUBLIC_HEADERS LArCafJobs - PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES CaloIdentifier AthenaBaseComps AthenaKernel GaudiKernel LArIdentifier LArRawConditions LArRawEvent egammaEvent TrigSteeringEvent McParticleEvent StoreGateLib SGtests LArToolsLib TrigDecisionToolLib CaloDetDescrLib - PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} DataQualityUtils Identifier xAODEventInfo LArRecConditions TrigConfHLTData TrigT1Result ${HEPMC_LIBRARIES} ) + PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} DataQualityUtils Identifier xAODEventInfo LArRecConditions TrigConfHLTData TrigT1Result AtlasHepMCLib ) atlas_add_component( LArCafJobs src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} CaloIdentifier AthenaBaseComps StoreGateLib SGtests GaudiKernel LArIdentifier LArRawConditions LArRawEvent egammaEvent LArToolsLib TrigDecisionToolLib TrigSteeringEvent CaloDetDescrLib DataQualityUtils Identifier xAODEventInfo LArRecConditions TrigConfHLTData TrigT1Result LArCafJobsLib ) atlas_add_dictionary( LArCafJobsDict LArCafJobs/LArCafJobsDict.h LArCafJobs/selection.xml - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} CaloIdentifier AthenaBaseComps StoreGateLib SGtests GaudiKernel LArIdentifier LArRawConditions LArRawEvent LArToolsLib TrigDecisionToolLib TrigSteeringEvent CaloDetDescrLib DataQualityUtils Identifier xAODEventInfo LArRecConditions TrigConfHLTData TrigT1Result LArCafJobsLib ) atlas_add_executable( LArQuickHistMerge diff --git a/LArCalorimeter/LArCellRec/CMakeLists.txt b/LArCalorimeter/LArCellRec/CMakeLists.txt index 0ee130f143086301a30d500c3c5c747d3899115b..8bd8478b945db4f6f251daf289329951e985fa53 100644 --- a/LArCalorimeter/LArCellRec/CMakeLists.txt +++ b/LArCalorimeter/LArCellRec/CMakeLists.txt @@ -37,11 +37,11 @@ atlas_depends_on_subdirs( PUBLIC LArCalorimeter/LArCabling LArCalorimeter/LArCOOLConditions Trigger/TrigT1/TrigT1CaloCalibConditions - Trigger/TrigT1/TrigT1CaloCondSvc ) + Trigger/TrigT1/TrigT1CaloCondSvc + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) find_package( TBB ) @@ -49,8 +49,8 @@ find_package( TBB ) atlas_add_component( LArCellRec src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${TBB_LIBRARIES} CaloConditions CaloDetDescrLib CaloEvent CaloIdentifier CaloRecLib CaloUtilsLib AthAllocators AthenaBaseComps AthenaKernel StoreGateLib SGtests AtlasDetDescr Identifier GaudiKernel LArIdentifier LArRawEvent LArRecConditions LArCOOLConditions LArSimEvent CaloTriggerToolLib AthenaPoolUtilities xAODEventInfo xAODTrigL1Calo GeneratorObjects LArRecEvent LArCablingLib TrigT1CaloCalibConditions TrigT1CaloCondSvcLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${TBB_LIBRARIES} CaloConditions CaloDetDescrLib CaloEvent CaloIdentifier CaloRecLib CaloUtilsLib AthAllocators AthenaBaseComps AthenaKernel StoreGateLib SGtests AtlasDetDescr Identifier GaudiKernel LArIdentifier LArRawEvent LArRecConditions LArCOOLConditions LArSimEvent CaloTriggerToolLib AthenaPoolUtilities xAODEventInfo xAODTrigL1Calo GeneratorObjects LArRecEvent LArCablingLib TrigT1CaloCalibConditions TrigT1CaloCondSvcLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/LArCalorimeter/LArDigitization/CMakeLists.txt b/LArCalorimeter/LArDigitization/CMakeLists.txt index 6029001d1e2944ef2aed286e6ca519015f76f8c2..8bc6e121421a5f2a7f163dea372bd155ba2ffd67 100644 --- a/LArCalorimeter/LArDigitization/CMakeLists.txt +++ b/LArCalorimeter/LArDigitization/CMakeLists.txt @@ -25,29 +25,29 @@ atlas_depends_on_subdirs( PUBLIC LArCalorimeter/LArRawConditions Event/EventInfoUtils PRIVATE - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_library( LArDigitizationLib src/*.cxx PUBLIC_HEADERS LArDigitization - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES CaloIdentifier AthenaBaseComps AthenaKernel Identifier xAODEventInfo GaudiKernel LArIdentifier LArRawEvent LArSimEvent LArRecConditions LArRawConditions CaloDetDescrLib PileUpToolsLib StoreGateLib SGtests LArCablingLib EventInfoUtils - PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GeneratorObjects ) + PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib GeneratorObjects ) atlas_add_component( LArDigitization src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES LArDigitizationLib ) # Install files from the package: diff --git a/LArCalorimeter/LArDigitization/src/LArHitEMap.cxx b/LArCalorimeter/LArDigitization/src/LArHitEMap.cxx index 89f49b3186ab8f446fca2cfa8d28c0dae7b52ac8..50c707e6b56d2f624840a5cc150a4d57903e99d4 100644 --- a/LArCalorimeter/LArDigitization/src/LArHitEMap.cxx +++ b/LArCalorimeter/LArDigitization/src/LArHitEMap.cxx @@ -17,8 +17,8 @@ #include "StoreGate/StoreGateSvc.h" #include "StoreGate/StoreGate.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "GaudiKernel/Bootstrap.h" #include "AthenaKernel/getMessageSvc.h" diff --git a/LArCalorimeter/LArG4/LArG4FastSimSvc/CMakeLists.txt b/LArCalorimeter/LArG4/LArG4FastSimSvc/CMakeLists.txt index f2d2aab1200e2c249d2dcbb9f4633cd67862eeda..82616394dbf17011562414b67418e7adf92b113f 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimSvc/CMakeLists.txt +++ b/LArCalorimeter/LArG4/LArG4FastSimSvc/CMakeLists.txt @@ -8,20 +8,20 @@ atlas_subdir( LArG4FastSimSvc ) # Declare the package's dependencies: atlas_depends_on_subdirs( PUBLIC Control/AthenaBaseComps - GaudiKernel ) + GaudiKernel + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( XercesC ) # Component(s) in the package: atlas_add_component( LArG4FastSimSvc src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps ) + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps ) # Install files from the package: atlas_install_headers( LArG4FastSimSvc ) diff --git a/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/ILArG4FastSimSvc.h b/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/ILArG4FastSimSvc.h index 6b41f3a77c4bda5a06407917ea807c9f0524bf8d..3e20df78bcc212d5a6da04ade0fdd8c5aef31016 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/ILArG4FastSimSvc.h +++ b/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/ILArG4FastSimSvc.h @@ -8,9 +8,7 @@ #include "GaudiKernel/IInterface.h" #include "G4ParticleDefinition.hh" -namespace HepMC { - class GenEvent; -} +#include "AtlasHepMC/GenEvent_fwd.h" // Declaration of the interface ID ( interface id, major version, minor version) static const InterfaceID IID_ILArG4FastSimSvc("ILArG4FastSimSvc", 0 , 0); diff --git a/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/LArG4FastSimSvc.h b/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/LArG4FastSimSvc.h index d7db102b987839750b9ef41335010d6a85f799e6..4b38112f63f99b59eab3357240cd3f4acb223053 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/LArG4FastSimSvc.h +++ b/LArCalorimeter/LArG4/LArG4FastSimSvc/LArG4FastSimSvc/LArG4FastSimSvc.h @@ -26,9 +26,7 @@ template <class TYPE> class SvcFactory; -namespace HepMC { - class IO_GenEvent; -} +#include "AtlasHepMC/IO_GenEvent_fwd.h" /** diff --git a/LArCalorimeter/LArG4/LArG4FastSimSvc/src/LArG4FastSimSvc.cxx b/LArCalorimeter/LArG4/LArG4FastSimSvc/src/LArG4FastSimSvc.cxx index 8f9cd16c0b24e3dfbb29909fae695f3f3089467a..3ef1596cd2a9686042eb7bf902a761ac1e9bd80a 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimSvc/src/LArG4FastSimSvc.cxx +++ b/LArCalorimeter/LArG4/LArG4FastSimSvc/src/LArG4FastSimSvc.cxx @@ -12,8 +12,8 @@ #include "CLHEP/Units/SystemOfUnits.h" #include "CLHEP/Units/PhysicalConstants.h" -#include "HepMC/IO_GenEvent.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/IO_GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // default constructor LArG4FastSimSvc::LArG4FastSimSvc(const std::string& name, ISvcLocator* sl) diff --git a/LArCalorimeter/LArG4/LArG4FastSimulation/CMakeLists.txt b/LArCalorimeter/LArG4/LArG4FastSimulation/CMakeLists.txt index 5f36763599035fe2793ad91feebc6d60264df5f6..057d893d84393d40ceb4473186f1fad510373b53 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimulation/CMakeLists.txt +++ b/LArCalorimeter/LArG4/LArG4FastSimulation/CMakeLists.txt @@ -16,12 +16,12 @@ atlas_depends_on_subdirs( PUBLIC LArCalorimeter/LArG4/LArG4ShowerLibSvc LArCalorimeter/LArGeoModel/LArReadoutGeometry LArCalorimeter/LArSimEvent - Simulation/G4Atlas/G4AtlasTools ) + Simulation/G4Atlas/G4AtlasTools + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) find_package( XercesC ) find_package( GeoModelCore ) @@ -34,8 +34,8 @@ find_package( GeoModelCore ) atlas_add_component( LArG4FastSimulation src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEOMODELCORE_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${GEOMODELCORE_LIBRARIES} GaudiKernel StoreGateLib SGtests GeoSpecialShapes LArG4Code LArReadoutGeometry LArSimEvent G4AtlasToolsLib GeoPrimitives ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEOMODELCORE_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEOMODELCORE_LIBRARIES} GaudiKernel StoreGateLib SGtests GeoSpecialShapes LArG4Code LArReadoutGeometry LArSimEvent G4AtlasToolsLib GeoPrimitives ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.cxx b/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.cxx index 2d508dd2a2cfff2034830f71afb667c825ea8fdb..442c6d12bd16596786bb14114b376c0e60a2807b 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.cxx +++ b/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.cxx @@ -8,8 +8,8 @@ #include "GaudiKernel/ISvcLocator.h" #include "LArG4Code/EnergySpot.h" -#include "HepMC/GenEvent.h" -#include "HepMC/IO_GenEvent.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/IO_GenEvent.h" #include <stdexcept> diff --git a/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.h b/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.h index 541532e5bd3aa650692adb876f44a936782eb604..f8d4a87abcd3cd5916df8a3331b2dab9cd992c65 100644 --- a/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.h +++ b/LArCalorimeter/LArG4/LArG4FastSimulation/src/LArFastShower.h @@ -16,10 +16,9 @@ #include "FastShowerConfigStruct.h" // Forward declarations -namespace HepMC { - class GenEvent; - class IO_GenEvent; -} +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/IO_GenEvent_fwd.h" + class IFastSimDedicatedSD; class ILArG4ShowerLibSvc; diff --git a/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/LArG4GenShowerLib.h b/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/LArG4GenShowerLib.h index 2c400ae5c8f0a6428a35ec1a71414c294c42abaf..a832b092149c228ad22385ac0a70838d1874a034 100644 --- a/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/LArG4GenShowerLib.h +++ b/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/LArG4GenShowerLib.h @@ -22,9 +22,7 @@ namespace ShowerLib { class StepInfo; typedef std::list<StepInfo*> StepInfoList; } -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" /** diff --git a/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/TestActionShowerLib.h b/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/TestActionShowerLib.h index cc1d38314e0f38060dd96a06ca6dfba71398c8bb..53cbc3100a37a36ac80fb6f7611ee84cfaa081ca 100644 --- a/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/TestActionShowerLib.h +++ b/LArCalorimeter/LArG4/LArG4GenShowerLib/LArG4GenShowerLib/TestActionShowerLib.h @@ -20,9 +20,7 @@ namespace ShowerLib { class StepInfoCollection; } -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" // forward declarations in global namespace class EnergyCalculator; class G4VSolid; diff --git a/LArCalorimeter/LArG4/LArG4H6SD/CMakeLists.txt b/LArCalorimeter/LArG4/LArG4H6SD/CMakeLists.txt index 8bfdefe35237c6e949dfd96dee8d250e712bb3f1..26673276dba29e0183aca437f65f601cc5618d14 100644 --- a/LArCalorimeter/LArG4/LArG4H6SD/CMakeLists.txt +++ b/LArCalorimeter/LArG4/LArG4H6SD/CMakeLists.txt @@ -30,14 +30,14 @@ atlas_depends_on_subdirs( PUBLIC Simulation/HitManagement Simulation/G4Sim/MCTruth TestBeam/TBEvent - Tools/PathResolver ) + Tools/PathResolver + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) find_package( CORAL COMPONENTS CoralBase CoralKernel RelationalAccess ) find_package( Geant4 ) -find_package( HepMC ) find_package( XercesC ) # Component(s) in the package: @@ -45,8 +45,8 @@ atlas_add_component( LArG4H6SD src/*.cxx src/*.cc src/components/*.cxx - INCLUDE_DIRS ${CORAL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} - LINK_LIBRARIES ${CORAL_LIBRARIES} ${Boost_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${GEANT4_LIBRARIES} GaudiKernel CaloG4SimLib CaloSimEvent AthenaBaseComps AthenaKernel StoreGateLib SGtests GeoModelUtilities Identifier GeneratorObjects LArG4Code LArG4RunControl LArG4TBSimEvent LArReadoutGeometry LArSimEvent G4AtlasInterfaces G4AtlasToolsLib SimHelpers HitManagement MCTruth TBEvent PathResolver ) + INCLUDE_DIRS ${CORAL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} + LINK_LIBRARIES ${CORAL_LIBRARIES} ${Boost_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} GaudiKernel CaloG4SimLib CaloSimEvent AthenaBaseComps AthenaKernel StoreGateLib SGtests GeoModelUtilities Identifier GeneratorObjects LArG4Code LArG4RunControl LArG4TBSimEvent LArReadoutGeometry LArSimEvent G4AtlasInterfaces G4AtlasToolsLib SimHelpers HitManagement MCTruth TBEvent PathResolver ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/LArCalorimeter/LArG4/LArG4H6SD/src/RadLenNtuple.cc b/LArCalorimeter/LArG4/LArG4H6SD/src/RadLenNtuple.cc index 2d2532bc52585164ef3b9b8aa2333a12a052bdbb..3aad0fdc4e9883e41718f80566235238242366dd 100644 --- a/LArCalorimeter/LArG4/LArG4H6SD/src/RadLenNtuple.cc +++ b/LArCalorimeter/LArG4/LArG4H6SD/src/RadLenNtuple.cc @@ -4,7 +4,7 @@ #include "RadLenNtuple.h" #include "LArG4RunControl/LArGeoTBH1GeoOptions.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include <iostream> #include "GaudiKernel/IService.h" #include "GaudiKernel/ISvcLocator.h" diff --git a/LArCalorimeter/LArG4/LArG4ShowerLib/CMakeLists.txt b/LArCalorimeter/LArG4/LArG4ShowerLib/CMakeLists.txt index eb60f39d0ae76c8a994bab7832fe89d95a32114b..89ad3036474994120ca905847d8ccd11d3c38580 100644 --- a/LArCalorimeter/LArG4/LArG4ShowerLib/CMakeLists.txt +++ b/LArCalorimeter/LArG4/LArG4ShowerLib/CMakeLists.txt @@ -8,12 +8,12 @@ atlas_subdir( LArG4ShowerLib ) # Declare the package's dependencies: atlas_depends_on_subdirs( PUBLIC Control/AthContainers - LArCalorimeter/LArG4/LArG4Code ) + LArCalorimeter/LArG4/LArG4Code + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Geant4 ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) find_package( XercesC ) @@ -21,8 +21,8 @@ find_package( XercesC ) atlas_add_library( LArG4ShowerLib src/*.cxx PUBLIC_HEADERS LArG4ShowerLib - PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES AthContainers LArG4Code - PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ) + PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ) diff --git a/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/IShowerLib.h b/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/IShowerLib.h index 8e2cbb611183287d8d3ce38af7b145d244058dbc..81534967b0aeecf5bd1944e93df5ac411602f469 100755 --- a/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/IShowerLib.h +++ b/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/IShowerLib.h @@ -18,9 +18,7 @@ class G4Track; class TFile; class TTree; -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" // Namespace for the ShowerLib related classes namespace ShowerLib { diff --git a/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/TestShowerLib.h b/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/TestShowerLib.h index a77c57aaed9b068fb3de6449bb4d35079b08441c..6c6d50ba71763292eca9f2067753d5c53e9dfa20 100644 --- a/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/TestShowerLib.h +++ b/LArCalorimeter/LArG4/LArG4ShowerLib/LArG4ShowerLib/TestShowerLib.h @@ -15,9 +15,7 @@ // G4 forward declarations class G4Track; // forward declarations in namespace -namespace HepMC { - class FourVector; -} +#include "AtlasHepMC/SimpleVector.h" // Namespace for the ShowerLib related classes namespace ShowerLib { diff --git a/LArCalorimeter/LArGeoModel/LArGeoH62004Algs/src/Other/RadLenNtuple.cc b/LArCalorimeter/LArGeoModel/LArGeoH62004Algs/src/Other/RadLenNtuple.cc index 1272ae323ade4962e083f64be5df1cd229f8cd47..abe32438ef3fc2bb3a5753e8f8901ef66caa3ded 100755 --- a/LArCalorimeter/LArGeoModel/LArGeoH62004Algs/src/Other/RadLenNtuple.cc +++ b/LArCalorimeter/LArGeoModel/LArGeoH62004Algs/src/Other/RadLenNtuple.cc @@ -4,7 +4,7 @@ #include "LArGeoH62004Algs/RadLenNtuple.h" #include "LArG4RunControl/LArGeoTBH1GeoOptions.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "GeneratorObjects/McEventCollection.h" #include <iostream> #include "GaudiKernel/IService.h" diff --git a/MuonSpectrometer/MuonCalib/MuonCalibAlgs/CMakeLists.txt b/MuonSpectrometer/MuonCalib/MuonCalibAlgs/CMakeLists.txt index 51b5c06b8c6b74fb0739aaf929c164274f003dbd..c6ecbab52ec16eb4adb9ddf70e2c4820880905b9 100644 --- a/MuonSpectrometer/MuonCalib/MuonCalibAlgs/CMakeLists.txt +++ b/MuonSpectrometer/MuonCalib/MuonCalibAlgs/CMakeLists.txt @@ -35,26 +35,26 @@ atlas_depends_on_subdirs( PUBLIC TileCalorimeter/TileEvent TileCalorimeter/TileIdentifier Tracking/TrkEvent/TrkEventPrimitives - Trigger/TrigT1/TrigT1Result ) + Trigger/TrigT1/TrigT1Result + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( Eigen ) -find_package( HepMC ) # Component(s) in the package: atlas_add_library( MuonCalibAlgsLib src/*.cxx PUBLIC_HEADERS MuonCalibAlgs - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES AthenaBaseComps GaudiKernel MuonCalibEventBase StoreGateLib SGtests MuonIdHelpersLib CscClusterizationLib - PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${EIGEN_LIBRARIES} GeoPrimitives EventInfo xAODEventInfo GeneratorObjects LArRecEvent MuonCalibEvent MuonCalibITools MuonCalibIdentifier MuonCalibNtuple MuonReadoutGeometry MuonDigitContainer MuonRDO MuonPrepRawData MuonTrigCoinData MuonSimData TileEvent TileIdentifier TrkEventPrimitives TrigT1Result ) + PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} GeoPrimitives EventInfo xAODEventInfo GeneratorObjects LArRecEvent MuonCalibEvent MuonCalibITools MuonCalibIdentifier MuonCalibNtuple MuonReadoutGeometry MuonDigitContainer MuonRDO MuonPrepRawData MuonTrigCoinData MuonSimData TileEvent TileIdentifier TrkEventPrimitives TrigT1Result ) atlas_add_component( MuonCalibAlgs src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps GaudiKernel MuonCalibEventBase StoreGateLib SGtests GeoPrimitives EventInfo xAODEventInfo GeneratorObjects LArRecEvent MuonCalibEvent MuonCalibITools MuonCalibIdentifier MuonCalibNtuple MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO CscClusterizationLib MuonPrepRawData MuonTrigCoinData MuonSimData TileEvent TileIdentifier TrkEventPrimitives TrigT1Result MuonCalibAlgsLib ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps GaudiKernel MuonCalibEventBase StoreGateLib SGtests GeoPrimitives EventInfo xAODEventInfo GeneratorObjects LArRecEvent MuonCalibEvent MuonCalibITools MuonCalibIdentifier MuonCalibNtuple MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO CscClusterizationLib MuonPrepRawData MuonTrigCoinData MuonSimData TileEvent TileIdentifier TrkEventPrimitives TrigT1Result MuonCalibAlgsLib ) # Install files from the package: atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) diff --git a/MuonSpectrometer/MuonCalib/MuonCalibAlgs/src/MuonCalibAlg.cxx b/MuonSpectrometer/MuonCalib/MuonCalibAlgs/src/MuonCalibAlg.cxx index 0db2ae6bd54f3fb5b7991def2ed845042eb66341..e47b2ff9b65e3b970be671bb075c72138681d0f9 100644 --- a/MuonSpectrometer/MuonCalib/MuonCalibAlgs/src/MuonCalibAlg.cxx +++ b/MuonSpectrometer/MuonCalib/MuonCalibAlgs/src/MuonCalibAlg.cxx @@ -23,7 +23,7 @@ #include "MuonSimData/MuonSimDataCollection.h" #include "MuonSimData/CscSimDataCollection.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "CLHEP/Vector/LorentzVector.h" #include "GeoPrimitives/GeoPrimitives.h" diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p1_test.cxx index dad2128062fda600e02e0ab591cf399656eb0969..870a33a2998fcf5b5ce5a3bdc4e2b07413148586 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p2_test.cxx index 1a30c5f76f99ff0b98fc6c9b2f41e0a112162e0c..b5ce72e597d9bbb057262c5bf2f62c1d308e1010 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCnv_p2_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p1_test.cxx index 6f48a617c144f61f86299a8b2e233280eab15ae2..5198de86e1ad459f58d748510aa3850ea9a6e807 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p1_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p2_test.cxx index 8a6a88634795450af30f0ffe57f2c9e44f23ab5b..67e4810d18a965ef533dab479b29c1ac3a011380 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/CscSimDataCollectionCnv_p2_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p1_test.cxx index 4013457cc4bf96a9a5f166ac841fcb8c75ae4a6c..2906f2f7cb7d28453e7085c43ce247116fe86f85 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p1_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p2_test.cxx index b5a8e95a730541e634c5a679c40afac0e08d18e2..f5d5414379f823210e9ef1439124a03556026172 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCnv_p2_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p1_test.cxx index 0cbe905b0efa439541f8fcc0105ceeb2d3ecb959..0322e37738cf2129ba5f66ab2ad29bee7bee933d 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p1_test.cxx @@ -19,8 +19,8 @@ #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p2_test.cxx index bda5460d5a6955d3938048b668486b3fe992d584..254f3d286e67292f5847725815b8d465ec3b4e19 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/test/MuonSimDataCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/CMakeLists.txt b/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/CMakeLists.txt index 81e369cf1de4208572c7f31803beb3de770bfe93..6649809bc859bce1909d521aeaf1d41383070cc2 100644 --- a/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/CMakeLists.txt +++ b/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/CMakeLists.txt @@ -21,16 +21,16 @@ atlas_depends_on_subdirs( PUBLIC MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces MuonSpectrometer/MuonSimData Tracking/TrkEvent/TrkEventPrimitives - Tracking/TrkTools/TrkToolInterfaces ) + Tracking/TrkTools/TrkToolInterfaces + Generators/AtlasHepMC ) # External dependencies: find_package( Eigen ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( MuonPrepRawDataToxAOD src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${EIGEN_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel AthenaBaseComps GeoPrimitives Identifier EventPrimitives xAODTracking MuonIdHelpersLib MuonRDO MuonPrepRawData MuonRIO_OnTrack MuonRecToolInterfaces MuonSimData TrkEventPrimitives TrkToolInterfaces ) + INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${EIGEN_LIBRARIES} AtlasHepMCLib GaudiKernel AthenaBaseComps GeoPrimitives Identifier EventPrimitives xAODTracking MuonIdHelpersLib MuonRDO MuonPrepRawData MuonRIO_OnTrack MuonRecToolInterfaces MuonSimData TrkEventPrimitives TrkToolInterfaces ) diff --git a/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/src/MuonPrepDataToxAOD.h b/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/src/MuonPrepDataToxAOD.h index 009e7d487a91511b2c720755b918c24773af0420..03c77cebecd45e2419382610c5f3c15a562ae616 100644 --- a/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/src/MuonPrepDataToxAOD.h +++ b/MuonSpectrometer/MuonCnv/MuonPrepRawDataToxAOD/src/MuonPrepDataToxAOD.h @@ -24,7 +24,7 @@ #include "EventPrimitives/EventPrimitives.h" #include "EventPrimitives/EventPrimitivesHelpers.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "Identifier/Identifier.h" #include "Identifier/IdentifierHash.h" diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p1_test.cxx index eab8744c11246e9b8dfdab8ede3fbaa3ca6dbaa2..74581857e190053df5061eea0e70514030ab43d1 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p2_test.cxx index 5b16c50c5bdc9b196fe9322169f4a8dd4780e922..d34e3181f178c75b87c5304534462371c7762684 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p3_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p3_test.cxx index 25addc7f0293e85dee192c53f84a885504f09059..d51aceac5cbb8f8c94e0666b252f1b1978d874c6 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p3_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/CSCSimHitCollectionCnv_p3_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p1_test.cxx index c6af7c665391ad7bc2a838fbf92a7becd4f823eb..b589febcc606cd79c74f1b8438f5c985c5db0690 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p2_test.cxx index ca40dd29e9b50ec18ad32f4ee100d5e8312d1bd7..bdbc5fea4a4178471cfce0d7d422c229265cb1db 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/GenericMuonSimHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p1_test.cxx index ca4d16d12f6f725f9049a08ee284183edd511434..6974a3d2d7690a5b7d19f41ba3a76e2b69cc97c9 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p2_test.cxx index a5ff003523f4b5e509a7e7336ab7499fbcf11b15..707804a41465c8c30bc50b4e40be22fe20b03181 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p3_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p3_test.cxx index 9aaea2e3d299cd64d256a7194e6c8cc039d71149..f950056fef192bdbb3a701178bd1480ddd5dc584 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p3_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MDTSimHitCollectionCnv_p3_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p1_test.cxx index 70345e4854a4f0248c1d4de16253d6271c953366..e603cdd6dac158af75be82fc9328658bde27dd32 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p1_test.cxx @@ -9,8 +9,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p2_test.cxx index 6a34ed6d855eb5e7663a2d7b208879728af2372d..61e692d54997052c6f0278dd0ef61768bc61d7d0 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/MMSimHitCollectionCnv_p2_test.cxx @@ -9,8 +9,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p1_test.cxx index b674908b80536f89444593590371f5f454b08028..75bff7a15b74d7ad237c54218e4143eccf5ef86a 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p2_test.cxx index d4d4a66e1a6397cdf2508076c82d20ff79f1bd16..c6405032b2ada47e60c034dc1a18870f3695330e 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p3_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p3_test.cxx index f9e0b39b12329ad48071489467948a2870d6a9b5..d29f0905b5de2a765de6745ded524be328c864a5 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p3_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/RPCSimHitCollectionCnv_p3_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p1_test.cxx index 88da4f2b7b12f27ea751a162aba06c1b01081dd5..ca1b9ed7cb6b9dc5fc95b0e9de50145c3c9eb41b 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p2_test.cxx index 9a75089345e8d48adb8d09b8e0eb9b9309af0762..8e14145a1e51e67da76df430f6a89f372a0b53bd 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p2_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p3_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p3_test.cxx index e81dceff1a47057a602fd16ab08232c711fac8e8..5193bd46e0472a481d2dd1cb67b2d93f8268608e 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p3_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p3_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p4_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p4_test.cxx index d2994015bcb234fee30d2f71c737a714eb6a42d8..3e4d844d365aaa02301e7e8644b5e6450e28c78c 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p4_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/TGCSimHitCollectionCnv_p4_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p1_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p1_test.cxx index 7db92b3901bb47ee400bee2684c29d1135c11cf7..cf56cf2bdaf04b0b7e2e6caa006aed4b66625ff8 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p1_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p2_test.cxx b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p2_test.cxx index 0fbca4423c99526b4118f93cc2847e5e1d79ebcf..b72c98bad9e32963ddd72969ab09d3b74fce15b9 100644 --- a/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p2_test.cxx +++ b/MuonSpectrometer/MuonCnv/MuonSimEventTPCnv/test/sTGCSimHitCollectionCnv_p2_test.cxx @@ -26,8 +26,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" void compare (const HepMcParticleLink& p1, const HepMcParticleLink& p2) diff --git a/MuonSpectrometer/MuonDigitization/CSC_Digitization/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/CSC_Digitization/CMakeLists.txt index 74b338bb3d5dc898ae6f5ad8579b2f2e60278380..9671268224cd20d019e16e44eff8d23c7bee1f9a 100755 --- a/MuonSpectrometer/MuonDigitization/CSC_Digitization/CMakeLists.txt +++ b/MuonSpectrometer/MuonDigitization/CSC_Digitization/CMakeLists.txt @@ -20,18 +20,18 @@ atlas_depends_on_subdirs( PUBLIC Simulation/HitManagement PRIVATE Control/StoreGate - Generators/GeneratorObjects ) + Generators/GeneratorObjects + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( CSC_Digitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib GaudiKernel MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData MuonSimEvent HitManagement StoreGateLib SGtests GeneratorObjects ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel PileUpToolsLib GaudiKernel MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData MuonSimEvent HitManagement StoreGateLib SGtests GeneratorObjects ) # Install files from the package: atlas_install_headers( CSC_Digitization ) diff --git a/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CSC_Digitizer.cxx b/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CSC_Digitizer.cxx index 8cb15191d0174bf77f86e1b4d698d8f3313c609f..1645e2b788f92be0030b005cf1f53079837e1444 100644 --- a/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CSC_Digitizer.cxx +++ b/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CSC_Digitizer.cxx @@ -8,7 +8,7 @@ #include "GaudiKernel/ISvcLocator.h" #include "StoreGate/StoreGateSvc.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "MuonReadoutGeometry/CscReadoutElement.h" diff --git a/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CscDigitizationTool.cxx b/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CscDigitizationTool.cxx index 364d4f1fa5db3cc1628da5615cbe310278d49c93..3a268cc9e4253dae5186c4a0b3c1a00623681cb8 100644 --- a/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CscDigitizationTool.cxx +++ b/MuonSpectrometer/MuonDigitization/CSC_Digitization/src/CscDigitizationTool.cxx @@ -7,7 +7,7 @@ // Digitization algorithm for the CSC hits #include "MuonReadoutGeometry/MuonDetectorManager.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "StoreGate/StoreGate.h" diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/MDT_Digitization/CMakeLists.txt index a55101722c0843c9f9cb483e40e729b9808cb902..e6b9c3ab0d1e2b16ea6c6b1faab07cda02832895 100755 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/CMakeLists.txt +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/CMakeLists.txt @@ -15,6 +15,7 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODEventInfo GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonCalib/MdtCalib/MdtCalibData MuonSpectrometer/MuonCalib/MdtCalib/MdtCalibSvc MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondInterface @@ -33,14 +34,13 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( MDT_Digitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib StoreGateLib SGtests Identifier xAODEventInfo GaudiKernel GeneratorObjects MdtCalibData MdtCalibSvcLib MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MDT_Response MuonIdHelpersLib MuonSimData MuonSimEvent HitManagement PathResolver TrkDetDescrUtils EventPrimitives ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel PileUpToolsLib StoreGateLib SGtests Identifier xAODEventInfo GaudiKernel GeneratorObjects MdtCalibData MdtCalibSvcLib MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MDT_Response MuonIdHelpersLib MuonSimData MuonSimEvent HitManagement PathResolver TrkDetDescrUtils EventPrimitives ) # Install files from the package: atlas_install_headers( MDT_Digitization ) diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator.h b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator.h index 278e2f8722f7fa07c9deb8dc08531bce911d23f8..c0c90afa301f57ed3b01f2acb3ee5cecd2b1ad07 100644 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator.h +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator.h @@ -44,7 +44,7 @@ to the third digit of decimal number of the pdgid. #include <iostream> // SB -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // double chargeCalculator(const MDTSimHit& hit){ diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator_PileUp.h b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator_PileUp.h index 5750fa024c734afc0ede742de89272c745fc84f9..5f018d695f7863bdc38d2abc2fef2ccc00993471 100644 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator_PileUp.h +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/chargeCalculator_PileUp.h @@ -47,7 +47,7 @@ to the third digit of decimal number of the pdgid. #include <iostream> // SB -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // double chargeCalculator_PileUp(const MDTSimHit& hit){ diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma.h b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma.h index a8578433d22c17df32d9c30326652cbf6c0592be..19d4c23b82bbe2dbe0b97a4334ac4b17c88a755c 100644 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma.h +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma.h @@ -40,7 +40,7 @@ Function particleGamma returns the value of gamma factor for Qball particle. #include <iostream> // SB -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // double particleGamma(const MDTSimHit& hit){ diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma_PileUp.h b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma_PileUp.h index 88a475a3f9a1e74da50459d42c6c9668bc8006dc..a4f92cde40d0dae0f90f5f7306b0cdbcf5fad5ee 100644 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma_PileUp.h +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/MDT_Digitization/particleGamma_PileUp.h @@ -40,7 +40,7 @@ Function particleGamma returns the value of gamma factor for Qball particle. #include <iostream> // SB -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // double particleGamma_PileUp(const MDTSimHit& hit){ diff --git a/MuonSpectrometer/MuonDigitization/MDT_Digitization/src/MdtDigitizationTool.cxx b/MuonSpectrometer/MuonDigitization/MDT_Digitization/src/MdtDigitizationTool.cxx index 4dc72ed32fdc2fb02cfea217fd89c967a3f2c9de..10426219edfa234a01ee3c718190fc68255f54be 100644 --- a/MuonSpectrometer/MuonDigitization/MDT_Digitization/src/MdtDigitizationTool.cxx +++ b/MuonSpectrometer/MuonDigitization/MDT_Digitization/src/MdtDigitizationTool.cxx @@ -50,7 +50,7 @@ //Truth #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //Random Numbers #include "AthenaKernel/RNGWrapper.h" diff --git a/MuonSpectrometer/MuonDigitization/MM_Digitization/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/MM_Digitization/CMakeLists.txt index b3a70b58abec7db61494c945886fbf5ae72642db..ffc7132be41ab55a76175b6366a8744384b83dbd 100644 --- a/MuonSpectrometer/MuonDigitization/MM_Digitization/CMakeLists.txt +++ b/MuonSpectrometer/MuonDigitization/MM_Digitization/CMakeLists.txt @@ -21,6 +21,7 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE Control/StoreGate Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonDetDescr/MuonAGDDDescription MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry MuonSpectrometer/MuonDigitContainer @@ -37,7 +38,6 @@ atlas_depends_on_subdirs( PUBLIC find_package( AIDA ) find_package( CLHEP ) find_package( Eigen ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread Table MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -49,15 +49,15 @@ atlas_add_library( MM_DigitizationLib src/*.cxx PUBLIC_HEADERS MM_Digitization INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel GeoPrimitives Identifier GaudiKernel MagFieldInterfaces MuonSimEvent HitManagement PileUpToolsLib StoreGateLib SGtests MuonIdHelpersLib NSWCalibToolsLib MagFieldElements MagFieldConditions - PRIVATE_LINK_LIBRARIES ${HEPMC_LIBRARIES} GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonSimData AtlasCLHEP_RandomGenerators PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives ) + PRIVATE_LINK_LIBRARIES AtlasHepMCLib GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonSimData AtlasCLHEP_RandomGenerators PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives ) atlas_add_component( MM_Digitization src/components/*.cxx - INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib GeoPrimitives Identifier GaudiKernel MagFieldInterfaces MuonSimEvent HitManagement StoreGateLib SGtests GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData AtlasCLHEP_RandomGenerators PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives MM_DigitizationLib NSWCalibToolsLib MagFieldElements MagFieldConditions ) + INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel PileUpToolsLib GeoPrimitives Identifier GaudiKernel MagFieldInterfaces MuonSimEvent HitManagement StoreGateLib SGtests GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData AtlasCLHEP_RandomGenerators PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives MM_DigitizationLib NSWCalibToolsLib MagFieldElements MagFieldConditions ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/MuonSpectrometer/MuonDigitization/MM_Digitization/src/MM_DigitizationTool.cxx b/MuonSpectrometer/MuonDigitization/MM_Digitization/src/MM_DigitizationTool.cxx index 87657fdeee7d89cc93082b09ec9e9993aaeeb5df..75d19243bc478c8231ed622eb66156dbe3f34378 100644 --- a/MuonSpectrometer/MuonDigitization/MM_Digitization/src/MM_DigitizationTool.cxx +++ b/MuonSpectrometer/MuonDigitization/MM_Digitization/src/MM_DigitizationTool.cxx @@ -60,7 +60,7 @@ //Truth #include "CLHEP/Units/PhysicalConstants.h" #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //Random Numbers #include "AthenaKernel/IAtRndmGenSvc.h" diff --git a/MuonSpectrometer/MuonDigitization/RPC_Digitization/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/RPC_Digitization/CMakeLists.txt index b31fe01e9887a97ff34ef9996df6931dc1c351be..0e19bfe4d68161eefc47942f362fc6b415d33fe0 100755 --- a/MuonSpectrometer/MuonDigitization/RPC_Digitization/CMakeLists.txt +++ b/MuonSpectrometer/MuonDigitization/RPC_Digitization/CMakeLists.txt @@ -22,6 +22,7 @@ atlas_depends_on_subdirs( PUBLIC Event/EventInfo Event/EventInfoMgt Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondInterface MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondData MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry @@ -34,14 +35,13 @@ find_package( AIDA ) find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) find_package( CORAL COMPONENTS CoralBase CoralKernel RelationalAccess ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( RPC_Digitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps PileUpToolsLib xAODEventInfo GaudiKernel MuonSimData MuonSimEvent HitManagement AthenaKernel EventInfo GeneratorObjects MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib PathResolver ) + INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps PileUpToolsLib xAODEventInfo GaudiKernel MuonSimData MuonSimEvent HitManagement AthenaKernel EventInfo GeneratorObjects MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib PathResolver ) # Install files from the package: atlas_install_headers( RPC_Digitization ) diff --git a/MuonSpectrometer/MuonDigitization/RPC_Digitization/src/RpcDigitizationTool.cxx b/MuonSpectrometer/MuonDigitization/RPC_Digitization/src/RpcDigitizationTool.cxx index 9365c9a16275f8e1ca97a975125f0fe2561b5d53..2c6d12678a4b08f2c02eba34189901502fce9272 100644 --- a/MuonSpectrometer/MuonDigitization/RPC_Digitization/src/RpcDigitizationTool.cxx +++ b/MuonSpectrometer/MuonDigitization/RPC_Digitization/src/RpcDigitizationTool.cxx @@ -33,7 +33,7 @@ //Truth #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //Random Numbers #include "AthenaKernel/RNGWrapper.h" diff --git a/MuonSpectrometer/MuonDigitization/sTGC_Digitization/CMakeLists.txt b/MuonSpectrometer/MuonDigitization/sTGC_Digitization/CMakeLists.txt index d6fe06d514ce9c7700eb0f6978fa4935411ef3bb..e92320687657c1f8369f351eed6485511cb2fad7 100644 --- a/MuonSpectrometer/MuonDigitization/sTGC_Digitization/CMakeLists.txt +++ b/MuonSpectrometer/MuonDigitization/sTGC_Digitization/CMakeLists.txt @@ -23,6 +23,7 @@ atlas_depends_on_subdirs( PUBLIC Event/EventInfo Event/EventInfoMgt Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry MuonSpectrometer/MuonDigitContainer MuonSpectrometer/MuonSimData @@ -35,7 +36,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( AIDA ) find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -46,8 +46,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_component( sTGC_Digitization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel AthContainers PileUpToolsLib Identifier xAODEventInfo GaudiKernel MuonSimEvent HitManagement StoreGateLib SGtests EventInfo GeneratorObjects MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives NSWCalibToolsLib ) + INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel AthContainers PileUpToolsLib Identifier xAODEventInfo GaudiKernel MuonSimEvent HitManagement StoreGateLib SGtests EventInfo GeneratorObjects MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimData PathResolver TrkDetDescrUtils TrkSurfaces TrkEventPrimitives NSWCalibToolsLib ) # Install files from the package: atlas_install_headers( sTGC_Digitization ) diff --git a/MuonSpectrometer/MuonDigitization/sTGC_Digitization/src/sTgcDigitizationTool.cxx b/MuonSpectrometer/MuonDigitization/sTGC_Digitization/src/sTgcDigitizationTool.cxx index 55b1368d76930dc7ebf75c7cc801d5a06280a8aa..48c2bd2e76e352b9f62d5b4f5c610039fbf73715 100644 --- a/MuonSpectrometer/MuonDigitization/sTGC_Digitization/src/sTgcDigitizationTool.cxx +++ b/MuonSpectrometer/MuonDigitization/sTGC_Digitization/src/sTgcDigitizationTool.cxx @@ -37,7 +37,7 @@ //Truth #include "CLHEP/Units/PhysicalConstants.h" #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //Random Numbers #include "AthenaKernel/IAtRndmGenSvc.h" diff --git a/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/CMakeLists.txt b/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/CMakeLists.txt index f9617ed08ea3831a2269bf7c4221d80cbb2f3453..a123e4f9c03243f652773568d2827956002e2080 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/CMakeLists.txt +++ b/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/CMakeLists.txt @@ -30,11 +30,11 @@ atlas_depends_on_subdirs( PUBLIC MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonRIO_OnTrack Tracking/TrkDetDescr/TrkSurfaces - Tracking/TrkEvent/TrkTruthData ) + Tracking/TrkEvent/TrkTruthData + Generators/AtlasHepMC ) # External dependencies: find_package( Eigen ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: @@ -42,12 +42,12 @@ atlas_add_library( MuonHoughPatternToolsLib src/*.cxx PUBLIC_HEADERS MuonHoughPatternTools INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS LINK_LIBRARIES ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps GeoPrimitives GaudiKernel MuonDetDescrUtils MuonHoughPatternEvent MuonPattern MuonPrepRawData MuonSegment MuonRecToolInterfaces MuonLayerHough TrkDriftCircleMath MuonIdHelpersLib MuonClusterizationLib MuonRecHelperToolsLib StoreGateLib SGtests - PRIVATE_LINK_LIBRARIES ${HEPMC_LIBRARIES} CxxUtils EventPrimitives xAODMuon xAODTruth MuonReadoutGeometry MuonRIO_OnTrack TrkSurfaces TrkTruthData ) + PRIVATE_LINK_LIBRARIES AtlasHepMCLib CxxUtils EventPrimitives xAODMuon xAODTruth MuonReadoutGeometry MuonRIO_OnTrack TrkSurfaces TrkTruthData ) atlas_add_component( MuonHoughPatternTools src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GeoPrimitives GaudiKernel MuonDetDescrUtils MuonIdHelpersLib MuonClusterizationLib MuonHoughPatternEvent MuonPattern MuonPrepRawData MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLayerHough TrkDriftCircleMath CxxUtils StoreGateLib SGtests EventPrimitives xAODMuon xAODTruth MuonReadoutGeometry MuonRIO_OnTrack TrkSurfaces TrkTruthData MuonHoughPatternToolsLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} AtlasHepMCLib AthenaBaseComps GeoPrimitives GaudiKernel MuonDetDescrUtils MuonIdHelpersLib MuonClusterizationLib MuonHoughPatternEvent MuonPattern MuonPrepRawData MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLayerHough TrkDriftCircleMath CxxUtils StoreGateLib SGtests EventPrimitives xAODMuon xAODTruth MuonReadoutGeometry MuonRIO_OnTrack TrkSurfaces TrkTruthData MuonHoughPatternToolsLib ) diff --git a/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/src/MuonLayerHoughTool.cxx b/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/src/MuonLayerHoughTool.cxx index 0ef5eb14d9f7a73338ad317117fbdbdbb3aea8ef..96392fc3ce72e70b5fe40309ef3c4b94fae019a3 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/src/MuonLayerHoughTool.cxx +++ b/MuonSpectrometer/MuonReconstruction/MuonPatternFinders/MuonPatternFinderTools/MuonHoughPatternTools/src/MuonLayerHoughTool.cxx @@ -11,7 +11,7 @@ #include "MuonPattern/MuonPatternChamberIntersect.h" #include "TFile.h" #include "TTree.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "GaudiKernel/ConcurrencyFlags.h" #include "CxxUtils/sincos.h" #include "xAODTruth/TruthParticle.h" diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/CMakeLists.txt b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/CMakeLists.txt index e52fed964abeb2fcff1041f33626439f9b5d51c1..077eae0f42d98df17f1c45e22afc59b4cc94f0dd 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/CMakeLists.txt +++ b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/CMakeLists.txt @@ -35,17 +35,17 @@ atlas_depends_on_subdirs( Tracking/TrkEvent/TrkTruthData Tracking/TrkExtrapolation/TrkExInterfaces Tracking/TrkFitter/TrkFitterInterfaces - Tracking/TrkTruthTracks/TrkTruthTrackInterfaces ) + Tracking/TrkTruthTracks/TrkTruthTrackInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree ) # Component(s) in the package: atlas_add_component( MuonTruthTools src/*.h src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GeoPrimitives Identifier EventPrimitives GaudiKernel MuonIdHelpersLib MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonTrackMakerUtils MuonSimData TrkDetElementBase diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthSummaryTool.cxx b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthSummaryTool.cxx index 02f2345c4784233836d765be5c1a42f6203ddf1e..d7fc6b9432e6a88f30bf15a290860ae0100816bd 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthSummaryTool.cxx +++ b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthSummaryTool.cxx @@ -6,7 +6,7 @@ #include "MuonSegment/MuonSegment.h" #include "TrkTrack/Track.h" #include "TrkMeasurementBase/MeasurementBase.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <iostream> #include "TTree.h" #include "GaudiKernel/ITHistSvc.h" diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthTrackBuilder.cxx b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthTrackBuilder.cxx index d49a6f30dee71abd89fa533c91622912091cf2b8..14057327b4b86fd3e905304e1d6fa9965d2a96c9 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthTrackBuilder.cxx +++ b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTruthTools/src/MuonTruthTrackBuilder.cxx @@ -33,7 +33,7 @@ #include "MuonPrepRawData/MuonCluster.h" #include "MuonSegment/MuonSegment.h" // HepMC -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "MuonRecToolInterfaces/IMdtDriftCircleOnTrackCreator.h" #include "MuonRecToolInterfaces/IMuonClusterOnTrackCreator.h" #include "MuonRecToolInterfaces/IMuonCompetingClustersOnTrackCreator.h" diff --git a/MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/CMakeLists.txt b/MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/CMakeLists.txt index 34042568373e7b196c0a55f1cb4965af2adb3d02..60ca416ad36c64018253222d12626fa9053b95f3 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/CMakeLists.txt +++ b/MuonSpectrometer/MuonReconstruction/MuonSegmentCombiners/MuonSegmentCombinerTools/MooSegmentCombinationFinder/CMakeLists.txt @@ -35,16 +35,16 @@ atlas_depends_on_subdirs( PRIVATE Tracking/TrkEvent/TrkTruthData Tracking/TrkExtrapolation/TrkExInterfaces Tracking/TrkFitter/TrkFitterInterfaces - Tracking/TrkTools/TrkToolInterfaces ) + Tracking/TrkTools/TrkToolInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( MooSegmentCombinationFinder src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel MuonReadoutGeometry MuonIdHelpersLib MuonChamberT0s MuonPattern MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLinearSegmentMakerUtilities MuonSegmentMakerUtils MuonEDM_AssociationObjects TrkSurfaces TrkEventPrimitives TrkParameters TrkSegment TrkTrack TrkTruthData TrkExInterfaces TrkFitterInterfaces TrkToolInterfaces ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel MuonReadoutGeometry MuonIdHelpersLib MuonChamberT0s MuonPattern MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLinearSegmentMakerUtilities MuonSegmentMakerUtils MuonEDM_AssociationObjects TrkSurfaces TrkEventPrimitives TrkParameters TrkSegment TrkTrack TrkTruthData TrkExInterfaces TrkFitterInterfaces TrkToolInterfaces ) diff --git a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/CMakeLists.txt b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/CMakeLists.txt index 3eaf98460b333e9d68ae9b01dc56061309d9ce0d..77ae819bb4290782a9d3db54f7a5102aaea2b7a7 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/CMakeLists.txt +++ b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/CMakeLists.txt @@ -26,16 +26,16 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTruthData Tracking/TrkFitter/TrkFitterInterfaces - Tracking/TrkTools/TrkToolInterfaces ) + Tracking/TrkTools/TrkToolInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( MuonClusterSegmentMakerTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel AthenaBaseComps MuonPrepRawDataProviderToolsLib MuonDetDescrUtils MuonIdHelpersLib MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLinearSegmentMakerUtilities MuonSegmentMakerUtils TrkParameters TrkTrack TrkTruthData TrkFitterInterfaces TrkToolInterfaces ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib GaudiKernel AthenaBaseComps MuonPrepRawDataProviderToolsLib MuonDetDescrUtils MuonIdHelpersLib MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonLinearSegmentMakerUtilities MuonSegmentMakerUtils TrkParameters TrkTrack TrkTruthData TrkFitterInterfaces TrkToolInterfaces ) diff --git a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/src/MuonClusterSegmentFinder.cxx b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/src/MuonClusterSegmentFinder.cxx index 524d17be55948119ef8444e5f4f9d2a639f5661d..cc1979ee18e5d0002b72d662972dd4b30c5cbf99 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/src/MuonClusterSegmentFinder.cxx +++ b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonClusterSegmentMakerTools/src/MuonClusterSegmentFinder.cxx @@ -16,7 +16,7 @@ // EDM #include "MuonPrepRawData/MdtPrepDataCollection.h" #include "MuonRIO_OnTrack/MdtDriftCircleOnTrack.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // interfaces #include "MuonRecToolInterfaces/IMuonClusterOnTrackCreator.h" diff --git a/MuonSpectrometer/MuonTruthAlgs/CMakeLists.txt b/MuonSpectrometer/MuonTruthAlgs/CMakeLists.txt index 44e8dc1fd8ed101aa6cb091ba3f5660e83fdcdf9..17fd949e4842dc53c2b35e13700e3cc358e29402 100644 --- a/MuonSpectrometer/MuonTruthAlgs/CMakeLists.txt +++ b/MuonSpectrometer/MuonTruthAlgs/CMakeLists.txt @@ -51,17 +51,17 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkRIO_OnTrack Tracking/TrkEvent/TrkSegment Tracking/TrkExtrapolation/TrkExInterfaces - Tracking/TrkFitter/TrkFitterInterfaces ) + Tracking/TrkFitter/TrkFitterInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( MuonTruthAlgs src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} StoreGateLib SGtests Identifier GaudiKernel MuonPrepRawData MuonRecToolInterfaces MuonSimData TrkTrack TrkTruthData TrkToolInterfaces AthenaBaseComps AthLinks AthContainers AtlasDetDescr EventPrimitives xAODMuon xAODTracking xAODTruth GeneratorObjects MuonReadoutGeometry MuonGeoModelLib MuonIdHelpersLib MuonCompetingRIOsOnTrack MuonPattern MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MCTruthClassifierLib Particle ParticleTruth TrkDetElementBase TrkGeometry TrkSurfaces TrkCompetingRIOsOnTrack TrkEventUtils TrkMeasurementBase TrkParameters TrkPrepRawData TrkPseudoMeasurementOnTrack TrkRIO_OnTrack TrkSegment TrkExInterfaces TrkFitterInterfaces ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib StoreGateLib SGtests Identifier GaudiKernel MuonPrepRawData MuonRecToolInterfaces MuonSimData TrkTrack TrkTruthData TrkToolInterfaces AthenaBaseComps AthLinks AthContainers AtlasDetDescr EventPrimitives xAODMuon xAODTracking xAODTruth GeneratorObjects MuonReadoutGeometry MuonGeoModelLib MuonIdHelpersLib MuonCompetingRIOsOnTrack MuonPattern MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MCTruthClassifierLib Particle ParticleTruth TrkDetElementBase TrkGeometry TrkSurfaces TrkCompetingRIOsOnTrack TrkEventUtils TrkMeasurementBase TrkParameters TrkPrepRawData TrkPseudoMeasurementOnTrack TrkRIO_OnTrack TrkSegment TrkExInterfaces TrkFitterInterfaces ) # Install files from the package: atlas_install_headers( MuonTruthAlgs ) diff --git a/MuonSpectrometer/MuonTruthAlgs/src/DetailedMuonPatternTruthBuilder.cxx b/MuonSpectrometer/MuonTruthAlgs/src/DetailedMuonPatternTruthBuilder.cxx index 7c951ba40259bfde1efd9f9508f885b1c15fd44c..69e3e795536b96481113e84c2162d2c1f6243c0b 100755 --- a/MuonSpectrometer/MuonTruthAlgs/src/DetailedMuonPatternTruthBuilder.cxx +++ b/MuonSpectrometer/MuonTruthAlgs/src/DetailedMuonPatternTruthBuilder.cxx @@ -14,8 +14,8 @@ #include "TrkTruthData/DetailedSegmentTruth.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "AthContainers/DataVector.h" @@ -60,7 +60,7 @@ #include "MuonPrepRawData/MuonCluster.h" #include "MuonSegment/MuonSegment.h" // HepMC -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "MuonRecHelperTools/MuonEDMPrinterTool.h" #include "MuonRecHelperTools/IMuonEDMHelperSvc.h" #include "MuonRecToolInterfaces/IMdtDriftCircleOnTrackCreator.h" diff --git a/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.cxx b/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.cxx index 3596323e1edb03f7b325b1bc195d904028ebc129..23e7803fa86b155661fba73baef77ebce9b9da59 100644 --- a/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.cxx +++ b/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.cxx @@ -8,8 +8,8 @@ #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "AthContainers/DataVector.h" diff --git a/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.h b/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.h index 1c293e8b50d985728ed4ffd754a66fe24d89f6a7..0aecc456146e649dd326d52bf93d029a24e41090 100644 --- a/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.h +++ b/MuonSpectrometer/MuonTruthAlgs/src/MuonDecayTruthTrajectoryBuilder.h @@ -10,7 +10,7 @@ #include "TrkToolInterfaces/ITruthTrajectoryBuilder.h" #include "AthenaBaseComps/AthAlgTool.h" -namespace HepMC { class GenVertex; } +#include "AtlasHepMC/GenVertex.h" namespace Muon { diff --git a/MuonSpectrometer/MuonTruthAlgs/src/MuonTrackTruthTool.cxx b/MuonSpectrometer/MuonTruthAlgs/src/MuonTrackTruthTool.cxx index 627410c4b3f6d4c38855e0b5af38997e12233e3f..bab21d78ff88bb6728556d4ea7771a80bb4c737b 100644 --- a/MuonSpectrometer/MuonTruthAlgs/src/MuonTrackTruthTool.cxx +++ b/MuonSpectrometer/MuonTruthAlgs/src/MuonTrackTruthTool.cxx @@ -8,8 +8,8 @@ #include "MuonRecHelperTools/MuonEDMPrinterTool.h" #include "TrkToolInterfaces/ITruthTrajectoryBuilder.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTruthData/TruthTrajectory.h" #include "MuonReadoutGeometry/MuonDetectorManager.h" diff --git a/MuonSpectrometer/MuonTruthAlgs/src/TrackParticleTruthMaker.cxx b/MuonSpectrometer/MuonTruthAlgs/src/TrackParticleTruthMaker.cxx index cc0a5f2aeae3345d3666a2d707148f456ee74619..ceb8c218aa48c742deaac2e2ccf2643696785137 100644 --- a/MuonSpectrometer/MuonTruthAlgs/src/TrackParticleTruthMaker.cxx +++ b/MuonSpectrometer/MuonTruthAlgs/src/TrackParticleTruthMaker.cxx @@ -15,7 +15,7 @@ #include "ParticleTruth/TrackParticleTruthCollection.h" #include "TrkTrack/TrackCollection.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <map> #include "AthLinks/ElementLink.h" diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/CMakeLists.txt b/MuonSpectrometer/MuonValidation/MuonPRDTest/CMakeLists.txt index 6ce602db7db40d8def8fa38eebc9eb95afcf5980..cba3e58160b7a063ba2431cb0011ca2c8d15d1bf 100644 --- a/MuonSpectrometer/MuonValidation/MuonPRDTest/CMakeLists.txt +++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/CMakeLists.txt @@ -15,6 +15,7 @@ atlas_depends_on_subdirs( PUBLIC DetectorDescription/Identifier Event/xAOD/xAODEventInfo Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonDetDescr/MuonAGDDDescription MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry MuonSpectrometer/MuonDigitContainer @@ -32,15 +33,14 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkExtrapolation/TrkExInterfaces ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( MuonPRDTest src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests Identifier xAODEventInfo GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonRDO MuonIdHelpersLib MuonPrepRawData MuonRIO_OnTrack MuonRecToolInterfaces MuonSimData MuonSimEvent TrkGeometry TrkSurfaces TrkParameters TrkExInterfaces ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests Identifier xAODEventInfo GeneratorObjects MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonRDO MuonIdHelpersLib MuonPrepRawData MuonRIO_OnTrack MuonRecToolInterfaces MuonSimData MuonSimEvent TrkGeometry TrkSurfaces TrkParameters TrkExInterfaces ) # Install files from the package: atlas_install_joboptions( share/*.py ) diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTPRDValAlg.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTPRDValAlg.cxx index c85599a77e065323adda48d2f1ed265d2fd0ccc6..4ed6536d860f83af105dfee3955e7c2c59e8afc9 100644 --- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTPRDValAlg.cxx +++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTPRDValAlg.cxx @@ -14,7 +14,7 @@ #include "Identifier/Identifier.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrackRecord/TrackRecordCollection.h" #include "MuonReadoutGeometry/MdtReadoutElement.h" diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTSimHitVariables.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTSimHitVariables.cxx index fa3a51980f9f62a00948bec22561e21f878304f6..807ba187e898b378c1dc63c0bbc7d2c79401ced5 100644 --- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTSimHitVariables.cxx +++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MDTSimHitVariables.cxx @@ -9,7 +9,7 @@ #include "MuonSimEvent/MdtHitIdHelper.h" #include "MuonReadoutGeometry/MdtReadoutElement.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TTree.h" diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/RPCSimHitVariables.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/RPCSimHitVariables.cxx index 654aaec604f576e0a1f769a1506796a7aa348a81..cf8281f6f697b0ca25b660acb681c752000fc34c 100644 --- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/RPCSimHitVariables.cxx +++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/RPCSimHitVariables.cxx @@ -9,7 +9,7 @@ #include "MuonSimEvent/RpcHitIdHelper.h" #include "MuonReadoutGeometry/RpcReadoutElement.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TTree.h" diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/TruthVariables.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/TruthVariables.cxx index 40ea1897af07ad075c274835200152c0d7037310..c93e1db106c6ab294d3874245304c83da80bee8e 100644 --- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/TruthVariables.cxx +++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/TruthVariables.cxx @@ -6,8 +6,8 @@ #include "AthenaKernel/errorcheck.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" #include "TTree.h" diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/CMakeLists.txt b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/CMakeLists.txt index c85ca77e66ca54d69d50ae46537d45f947306453..cd344f53d157590d7c12d3684ba3a4db861ce9a1 100644 --- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/CMakeLists.txt +++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/CMakeLists.txt @@ -43,15 +43,14 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkExtrapolation/TrkExInterfaces ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( MuonTrackPerformance src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps xAODEventInfo GaudiKernel MuonIdHelpersLib MuonStationIndexLib MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces TrkParameters TrkTrack TrkTrackSummary TrkTruthData TrkToolInterfaces StoreGateLib SGtests Identifier EventPrimitives xAODMuon xAODTracking xAODTruth MuonReadoutGeometry MuonClusterizationLib MuonCompetingRIOsOnTrack MuonLayerEvent MuonPrepRawData MuonRIO_OnTrack MuonLayerHough MuonRecValidationNtuples MuonCombinedEvent TrkMeasurementBase TrkPrepRawData TrkExInterfaces ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps xAODEventInfo GaudiKernel MuonIdHelpersLib MuonStationIndexLib MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces TrkParameters TrkTrack TrkTrackSummary TrkTruthData TrkToolInterfaces StoreGateLib SGtests Identifier EventPrimitives xAODMuon xAODTracking xAODTruth MuonReadoutGeometry MuonClusterizationLib MuonCompetingRIOsOnTrack MuonLayerEvent MuonPrepRawData MuonRIO_OnTrack MuonLayerHough MuonRecValidationNtuples MuonCombinedEvent TrkMeasurementBase TrkPrepRawData TrkExInterfaces ) # Install files from the package: atlas_install_headers( MuonTrackPerformance ) diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/MuonTrackPerformance/MuonTrackPerformanceAlg.h b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/MuonTrackPerformance/MuonTrackPerformanceAlg.h index 51f23844aa43b4181bd6e1bd2e6881aacdc01b4d..29f9ff37fd9ce1d5f6614ad5ec20b36feb987436 100644 --- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/MuonTrackPerformance/MuonTrackPerformanceAlg.h +++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/MuonTrackPerformance/MuonTrackPerformanceAlg.h @@ -39,9 +39,7 @@ class TFile; class TruthTrajectory; -namespace HepMC{ - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { class Track; diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackPerformanceAlg.cxx b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackPerformanceAlg.cxx index 3cc23625cd9f15479bbec988051b3623e4006253..a6073b0869c7339cc4ba075213a1eaa4f586c2c4 100644 --- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackPerformanceAlg.cxx +++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackPerformanceAlg.cxx @@ -6,8 +6,8 @@ #include "MuonSegment/MuonSegmentCombination.h" #include "MuonSegment/MuonSegment.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include <iostream> #include <fstream> diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackStatisticsTool.cxx b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackStatisticsTool.cxx index 3f9ab492c04f643a40adbd8d96292564d7a49450..d924661a7d0ebae6424408b59a315af574bb692c 100644 --- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackStatisticsTool.cxx +++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonTrackStatisticsTool.cxx @@ -11,7 +11,7 @@ #include "MuonTrackPerformance/MuonTrackStatisticsTool.h" #include "TString.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTrackSummary/TrackSummary.h" #include "TrkTrackSummary/MuonTrackSummary.h" diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/CMakeLists.txt index 498f13a2bd4af947fb2d4c89b97395722069932a..e49766d79eccc6d94db3fb8919d99fa70f45bb67 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/CMakeLists.txt +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/CMakeLists.txt @@ -19,6 +19,7 @@ atlas_depends_on_subdirs( PRIVATE GaudiKernel Generators/GenAnalysisTools/TruthHelper Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/AnalysisCommon/AnalysisTools PhysicsAnalysis/AnalysisCommon/AnalysisUtils PhysicsAnalysis/AnalysisCommon/CompositeParticleEvent @@ -44,7 +45,6 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint ) @@ -52,8 +52,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_component( AnalysisExamples src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloEvent AthenaBaseComps AthenaKernel Navigation SGTools StoreGateLib SGtests NavFourMom xAODEventInfo xAODTracking GaudiKernel TruthHelper GeneratorObjects AthAnalysisToolsLib AnalysisUtilsLib ParticleEvent AnalysisTriggerEvent JetTagEvent JetTagInfo MuonIDEvent McParticleEvent McParticleKernel JetEvent muonEvent Particle ParticleTruth RecoToolInterfaces egammaEvent VxVertex TrkVKalVrtFitterLib TrigDecisionToolLib TrigInDetEvent TrigParticle TrigSteeringEvent ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib CaloEvent AthenaBaseComps AthenaKernel Navigation SGTools StoreGateLib SGtests NavFourMom xAODEventInfo xAODTracking GaudiKernel TruthHelper GeneratorObjects AthAnalysisToolsLib AnalysisUtilsLib ParticleEvent AnalysisTriggerEvent JetTagEvent JetTagInfo MuonIDEvent McParticleEvent McParticleKernel JetEvent muonEvent Particle ParticleTruth RecoToolInterfaces egammaEvent VxVertex TrkVKalVrtFitterLib TrigDecisionToolLib TrigInDetEvent TrigParticle TrigSteeringEvent ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.cxx b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.cxx index 5e1d57db07a4b7f2d2885b6e1a977229641e433c..ba11f5df82b214c14592a4fcb54e2f5996d9ff13 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.cxx +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.cxx @@ -77,9 +77,9 @@ #include "VxVertex/RecVertex.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "xAODEventInfo/EventInfo.h" #include "AthenaKernel/Units.h" diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.h b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.h index 271eeefcec43348e020b2ed3b2e209402a739778..d0b20006ddc788ddbd194099f2b02229053e59e7 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.h +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/JetTagAna.h @@ -24,7 +24,7 @@ #include "JetEvent/JetTagInfoBase.h" #include "ParticleTruth/TrackParticleTruth.h" #include "ParticleTruth/TrackParticleTruthCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Vector/ThreeVector.h" #include "HepPDT/ParticleDataTable.hh" #include "egammaEvent/ElectronContainer.h" diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/ReadTruthParticles.cxx b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/ReadTruthParticles.cxx index 6320d756f541ea30abbe93b81e702ab6ad0a7778..ee85d0e11f04130fee18b70ef220e7694ef77147 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/ReadTruthParticles.cxx +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/src/ReadTruthParticles.cxx @@ -21,9 +21,9 @@ #include "StoreGate/DataHandle.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "McParticleKernel/ITruthParticleCnvTool.h" diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/CMakeLists.txt index 3a6b1c1ba8ae8d4e07d915500588670ded7dbee9..5e99eea7a1fef73f767e2e44b1b68c330fd081c4 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/CMakeLists.txt +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/CMakeLists.txt @@ -28,19 +28,19 @@ atlas_depends_on_subdirs( PUBLIC PhysicsAnalysis/AnalysisCommon/AnalysisUtils PhysicsAnalysis/AnalysisTrigger/AnalysisTriggerEvent PhysicsAnalysis/TruthParticleID/McParticleUtils - Reconstruction/Jet/JetEvent ) + Reconstruction/Jet/JetEvent + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) find_package( CppUnit ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( AnalysisTest src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${CPPUNIT_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} ${CLHEP_LIBRARIES} ${CPPUNIT_LIBRARIES} AthContainers StoreGateLib SGtests NavFourMom GaudiKernel McParticleEvent muonEvent Particle egammaEvent tauEvent VxVertex TestTools AthenaBaseComps AthenaKernel EventKernel FourMom GeneratorObjects AnalysisAssociation AnalysisUtilsLib AnalysisTriggerEvent McParticleUtils JetEvent ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${CPPUNIT_INCLUDE_DIRS} + LINK_LIBRARIES AtlasHepMCLib ${CLHEP_LIBRARIES} ${CPPUNIT_LIBRARIES} AthContainers StoreGateLib SGtests NavFourMom GaudiKernel McParticleEvent muonEvent Particle egammaEvent tauEvent VxVertex TestTools AthenaBaseComps AthenaKernel EventKernel FourMom GeneratorObjects AnalysisAssociation AnalysisUtilsLib AnalysisTriggerEvent McParticleUtils JetEvent ) # Install files from the package: atlas_install_headers( AnalysisTest ) diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/McVtxFilterTest_CppUnit.cxx b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/McVtxFilterTest_CppUnit.cxx index d50c525dbc6da25ee413d42e911439b4257a1824..1bf60d1e731660f9f0e52c9280dd8f20ab1660df 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/McVtxFilterTest_CppUnit.cxx +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/McVtxFilterTest_CppUnit.cxx @@ -19,9 +19,9 @@ #include "CLHEP/Units/SystemOfUnits.h" // HepMC includes -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "AthContainers/DataVector.h" diff --git a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/PdgIdFilterTest_CppUnit.cxx b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/PdgIdFilterTest_CppUnit.cxx index 60f89149a28e4644e0d7c06cf882306577a0d4a0..b71bc55fd556beb12301a5b72d1f779f2e4dde06 100644 --- a/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/PdgIdFilterTest_CppUnit.cxx +++ b/PhysicsAnalysis/AnalysisCommon/AnalysisTest/test/PdgIdFilterTest_CppUnit.cxx @@ -16,7 +16,7 @@ // CLHEP includes #include "CLHEP/Units/SystemOfUnits.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "AthContainers/DataVector.h" diff --git a/PhysicsAnalysis/D2PDMaker/CMakeLists.txt b/PhysicsAnalysis/D2PDMaker/CMakeLists.txt index 8c8358ab560896c797e2c227229605f9d1848b01..2005e65fe2ea1aabe3d298bb792907e666c30127 100644 --- a/PhysicsAnalysis/D2PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D2PDMaker/CMakeLists.txt @@ -20,6 +20,7 @@ atlas_depends_on_subdirs( Event/NavFourMom GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/AnalysisCommon/AnalysisUtils PhysicsAnalysis/AnalysisCommon/PATCore PhysicsAnalysis/AnalysisCommon/ParticleEvent @@ -40,16 +41,15 @@ atlas_depends_on_subdirs( # External dependencies: find_package( Boost ) find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist ) # Component(s) in the package: atlas_add_component( D2PDMaker D2PDMaker/*.h D2PDMaker/*.icc src/*.cxx src/components/*.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - ${HEPMC_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} - ${HEPMC_LIBRARIES} CaloEvent AthenaBaseComps AthenaKernel AthContainers AthLinks + AtlasHepMCLib CaloEvent AthenaBaseComps AthenaKernel AthContainers AthLinks Navigation StoreGateLib EventKernel NavFourMom GaudiKernel GeneratorObjects AnalysisUtilsLib PATCoreLib ParticleEvent AssociationKernel McParticleEvent JetEvent muonEvent Particle egammaEvent tauEvent VxVertex diff --git a/PhysicsAnalysis/D2PDMaker/D2PDMaker/D2PDTruthParticleSelector.h b/PhysicsAnalysis/D2PDMaker/D2PDMaker/D2PDTruthParticleSelector.h index c945b8e61bf86950e1a8c3adcf196d92b687e978..ad7113c43afce816b0a6b7ad5bf39bef1c005d08 100644 --- a/PhysicsAnalysis/D2PDMaker/D2PDMaker/D2PDTruthParticleSelector.h +++ b/PhysicsAnalysis/D2PDMaker/D2PDMaker/D2PDTruthParticleSelector.h @@ -31,7 +31,7 @@ #include "GeneratorObjects/McEventCollection.h" #include "McParticleEvent/TruthParticle.h" #include "McParticleEvent/TruthParticleContainer.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" diff --git a/PhysicsAnalysis/D2PDMaker/src/D2PDParticleCombiner.cxx b/PhysicsAnalysis/D2PDMaker/src/D2PDParticleCombiner.cxx index 79049aef2e65352d4d62425eed290a8a02060e15..b4cab570b04eadde6f9613d34c41ed57a85abd26 100644 --- a/PhysicsAnalysis/D2PDMaker/src/D2PDParticleCombiner.cxx +++ b/PhysicsAnalysis/D2PDMaker/src/D2PDParticleCombiner.cxx @@ -48,8 +48,8 @@ #include "GeneratorObjects/McEventCollection.h" #include "McParticleEvent/TruthParticle.h" #include "McParticleEvent/TruthParticleContainer.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // The AthenaBarCode, used to check if two particles are identical #include "Navigation/IAthenaBarCode.h" diff --git a/PhysicsAnalysis/D2PDMaker/src/D2PDTruthParticleSelector.cxx b/PhysicsAnalysis/D2PDMaker/src/D2PDTruthParticleSelector.cxx index f5c0c6d27e1ae0e25ddb356945d9dcfe82261c21..bac52a9a11795991c55645d2bc0b67ca9a33a914 100644 --- a/PhysicsAnalysis/D2PDMaker/src/D2PDTruthParticleSelector.cxx +++ b/PhysicsAnalysis/D2PDMaker/src/D2PDTruthParticleSelector.cxx @@ -27,8 +27,8 @@ #include "D2PDMaker/D2PDTruthParticleSelector.h" // MC Truth includes -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenerator.h" #include "TruthHelper/IsStatus.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/CMakeLists.txt index c01816fc744d501f53acb64edb12c61ec51cef8a..be475e86a92c452666f30bb37bd44c5ca7ee460d 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/CMakeLists.txt @@ -48,19 +48,18 @@ atlas_depends_on_subdirs( PRIVATE Tracking/TrkEvent/VxVertex Tracking/TrkTools/TrkToolInterfaces Tracking/TrkValidation/TrkVertexFitterValidationUtils - ) + Generators/AtlasHepMC ) # External dependencies: find_package( Boost ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( InDetD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPMC_LIBRARIES} ${HEPPDT_LIBRARIES} GaudiKernel CommissionEvent AthContainers AthenaKernel StoreGateLib AtlasDetDescr GeoAdaptors Identifier EventPrimitives xAODEventInfo xAODTracking InDetBeamSpotServiceLib SCT_ConditionsToolsLib TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry SCT_CablingLib InDetRawData InDetPrepRawData InDetRIO_OnTrack InDetSimEvent D3PDMakerUtils MCTruthClassifierLib ParticleTruth ITrackToVertex muonEvent Particle TrkCompetingRIOsOnTrack TrkEventPrimitives TrkParameters TrkParticleBase TrkPrepRawData TrkRIO_OnTrack TrkTrack TrkTrackSummary TrkTruthData TrkV0Vertex VxVertex TrkToolInterfaces TrkVertexFitterValidationUtilsLib ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} AtlasHepMCLib ${HEPPDT_LIBRARIES} GaudiKernel CommissionEvent AthContainers AthenaKernel StoreGateLib AtlasDetDescr GeoAdaptors Identifier EventPrimitives xAODEventInfo xAODTracking InDetBeamSpotServiceLib SCT_ConditionsToolsLib TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry SCT_CablingLib InDetRawData InDetPrepRawData InDetRIO_OnTrack InDetSimEvent D3PDMakerUtils MCTruthClassifierLib ParticleTruth ITrackToVertex muonEvent Particle TrkCompetingRIOsOnTrack TrkEventPrimitives TrkParameters TrkParticleBase TrkPrepRawData TrkRIO_OnTrack TrkTrack TrkTrackSummary TrkTruthData TrkV0Vertex VxVertex TrkToolInterfaces TrkVertexFitterValidationUtilsLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitFillerTool.cxx index 6aa5810ce1ac1bd7a10c565231dbaec3782b6ac3..fc50dc610a7ffae520d4b9b851376ad014d437fa 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitFillerTool.cxx @@ -9,7 +9,7 @@ //#include "InDetIdentifier/PixelID.h" //#include "InDetPrepRawData/PixelCluster.h" //#include "TrkEventPrimitives/ErrorMatrix.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //#include "GeoAdaptors/GeoSiHit.h" /* diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.cxx index bb5841ee3c51d44b08ed7b205e6e8ac8bc1058fd..fd8111b8dd96178a5cc3b6cf7aa79c47dadb298d 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.cxx @@ -5,7 +5,7 @@ #include "SiHitTruthAssociationTool.h" #include "AthenaKernel/errorcheck.h" - #include "HepMC/GenParticle.h" + #include "AtlasHepMC/GenParticle.h" //#include "TrkTrack/Track.h" //#include "TrkTrack/TrackCollection.h" //#include "TrkTruthData/TrackTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.h index 488cfed3ef2cd204fff208c5e10e299a5c1fbe27..6dd3312120d770000f1d3511df50d99aa0ff4348 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/SiHitTruthAssociationTool.h @@ -13,7 +13,7 @@ #include "StoreGate/StoreGateSvc.h" #include "InDetSimEvent/SiHit.h" #include "InDetSimEvent/SiHitCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace Trk { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TRTUncompressedHitFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TRTUncompressedHitFillerTool.cxx index 56e557ef131c451e9ab6157c77778f469301d04d..f233c73630873c7b8cf200c380e4cfc10917eaaa 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TRTUncompressedHitFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TRTUncompressedHitFillerTool.cxx @@ -5,7 +5,7 @@ #include "TRTUncompressedHitFillerTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeoAdaptors/GeoTRTUncompressedHit.h" D3PD::TRTUncompressedHitFillerTool::TRTUncompressedHitFillerTool (const std::string& type, diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.cxx index 38c3dd5fcf52ce157c8d2cb82ce036b91130ad9b..a4b8ec29d70bc622cdd07e4440174907af3c9f9c 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.cxx @@ -7,8 +7,8 @@ #include "TrackParticleDetailedTruthAssociationTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "Particle/TrackParticle.h" #include "TrkTrack/Track.h" #include "TrkTrack/TrackCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.h index b6b307fbd23faf23ae669c8d0ffb53e33f2596b0..1e59e60a1aadf737bf7e86d5256a7276feab76e6 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleDetailedTruthAssociationTool.h @@ -14,7 +14,7 @@ #include "StoreGate/StoreGateSvc.h" #include "TrkTruthData/DetailedTrackTruthCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <vector> namespace Rec { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.cxx index 90bc8151cd4874292f191e10b1add74bc0fdd899..a4e8e908802967b66833528df7f23c587c7c3e7d 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.cxx @@ -5,7 +5,7 @@ #include "TrackParticleTruthAssociationTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "Particle/TrackParticle.h" #include "Particle/TrackParticleContainer.h" #include "ParticleTruth/TrackParticleTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.h index 4de09047f3337871a1215b5adee727965c7420cc..80a16397b683ca1e6850b0eacd7aa82e1a18d825 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrackParticleTruthAssociationTool.h @@ -14,9 +14,7 @@ #include "StoreGate/StoreGateSvc.h" -namespace HepMC { -class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Rec { class TrackParticle; diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkPrepRawDataGenParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkPrepRawDataGenParticleAssociationTool.h index 467279a0e072e467ef08c8e894d87b140d1c3ce7..98505283c7776f147264ccbb3ce6b5388d0f0bf1 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkPrepRawDataGenParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkPrepRawDataGenParticleAssociationTool.h @@ -8,7 +8,7 @@ #include "D3PDMakerUtils/MultiAssociationTool.h" #include "GaudiKernel/ToolHandle.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "Identifier/Identifier.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" #include "TrkPrepRawData/PrepRawData.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.cxx index c381e6168c68cf06f5eb5fc39e2da25b5d55db2e..5fccc41bd2dbb33f8e5716e197308ab189ea4f8f 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.cxx @@ -5,7 +5,7 @@ #include "TrkTrackDetailedTruthAssociationTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTrack/Track.h" #include "TrkTrack/TrackCollection.h" #include "TrkTruthData/DetailedTrackTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.h index 7811b91aaf2310bd24f04fd09d9d47397c35d4ff..ca8b925d3824e4de0350982dbb63c9965439e95e 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackDetailedTruthAssociationTool.h @@ -12,7 +12,7 @@ #include "StoreGate/StoreGateSvc.h" #include "TrkTruthData/DetailedTrackTruthCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <vector> namespace Trk { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackTruthAssociationTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackTruthAssociationTool.h index fd12a3b625c6cf745ca67a7e39a892760061eeea..bf81fb87d9aede0a96a17379fd0a29f50b18b3a7 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackTruthAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TrkTrackTruthAssociationTool.h @@ -10,7 +10,7 @@ // EDM include(s): #include "TrkTrack/Track.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // D3PDMaker include(s): #include "D3PDMakerUtils/SingleAssociationTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.cxx index 5f594ad6637a82497b32c56aaab6ee934fc21352..2c3a5484fcd391e9714caa78c1f57ac416e31b83 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.cxx @@ -7,8 +7,8 @@ #include "TruthTrackFillerTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.h index afe5dd81e4b89246916b7ec5b49f9b645228a6eb..47031a8c33e1a60c410f95cbd2dc464b6b8bf3d2 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackFillerTool.h @@ -11,9 +11,7 @@ #include "GaudiKernel/IPartPropSvc.h" #include "HepPDT/ParticleDataTable.hh" -namespace HepMC { -class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackGetterTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackGetterTool.h index 6879f611857bc3ab10b2e6ea6414beb9ea588eec..85792a23d7be0a3be20035162291fedd4c87affd 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackGetterTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthTrackGetterTool.h @@ -10,8 +10,8 @@ #include "D3PDMakerUtils/SGCollectionGetterTool.h" #include "GeneratorObjects/McEventCollection.h" #include "HepPDT/ParticleDataTable.hh" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexFillerTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexFillerTool.h index fce9f6d53ff1d3fd5fda95cfaf2ad2ad8eb8bb50..8e63da443a325f7e75de4e4b6bca2ca911c73ee4 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexFillerTool.h @@ -8,7 +8,7 @@ #define INDETD3PDMAKER_TRUTHVERTEXFILLERTOOL_H #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexGetterTool.h b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexGetterTool.h index eb3b8740a408150d02859ed15ece8b74791c844a..83c3f3287c409f97e5e948d3002a5e2ec917eecd 100644 --- a/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexGetterTool.h +++ b/PhysicsAnalysis/D3PDMaker/InDetD3PDMaker/src/TruthVertexGetterTool.h @@ -8,8 +8,8 @@ #define INDETD3PDMAKER_TRUTHVERTEXGETTERTOOL_H #include "D3PDMakerUtils/SGCollectionGetterTool.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/McEventCollection.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt index d863e754a5a211b9841044cec8315ad777407b07..f862d80cd5a557bf594f9240c961ac5976dffd9b 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt @@ -14,6 +14,7 @@ atlas_depends_on_subdirs( PRIVATE Event/EventPrimitives GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetConditions/InDetConditionsSummaryService InnerDetector/InDetDetDescr/InDetIdentifier InnerDetector/InDetDetDescr/InDetReadoutGeometry @@ -34,15 +35,14 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) -find_package( HepMC ) find_package( CLHEP ) # Component(s) in the package: atlas_add_component( JetTagD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel AthContainers EventKernel EventPrimitives GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry D3PDMakerUtils JetTagEvent JetTagInfo MuonIDEvent McParticleEvent JetEvent muonEvent Particle egammaEvent TrkParticleBase VxJetVertex VxSecVertex VxVertex TrkVertexFitterInterfaces ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel AthContainers EventKernel EventPrimitives GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry D3PDMakerUtils JetTagEvent JetTagInfo MuonIDEvent McParticleEvent JetEvent muonEvent Particle egammaEvent TrkParticleBase VxJetVertex VxSecVertex VxVertex TrkVertexFitterInterfaces ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.cxx index d3df5293b63345f512789c9458bc05add7fa6f7d..fc97ac027bc4ae60d24e84e1b86446f38e70c4e8 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.cxx @@ -5,8 +5,8 @@ #include "JetTagJetGenSoftLeptonAssociationTool.h" #include "JetEvent/Jet.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" #include "GeneratorObjects/McEventCollection.h" #include "JetTagInfo/SoftLeptonTruthInfo.h" diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.h b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.h index 2c95196c1a1227470b552a29a0656b2bcfe7df93..272f4d8940fe5e0cfb75fef092e0f56198e675da 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetGenSoftLeptonAssociationTool.h @@ -19,10 +19,8 @@ class Jet; -namespace HepMC{ - class GenParticle; - class GenEvent; -} +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" namespace Analysis{ class SoftLeptonTruthInfo; diff --git a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/CMakeLists.txt index dbadc55323ce2cd7b692144d5e294c7334bf9af7..87979a86a35443920ab1feddd3f5bc290b4289b8 100644 --- a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/CMakeLists.txt @@ -45,19 +45,19 @@ atlas_depends_on_subdirs( PRIVATE Tracking/TrkTools/TrkToolInterfaces Trigger/TrigAnalysis/TrigObjectMatching Trigger/TrigEvent/TrigInDetEvent - Trigger/TrigEvent/TrigMuonEvent ) + Trigger/TrigEvent/TrigMuonEvent + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( MuonD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel AthContainers StoreGateLib SGtests AtlasDetDescr EventInfo EventKernel FourMomUtils xAODMuon xAODTracking xAODTruth GaudiKernel MuonCalibITools MuonIdHelpersLib MuonPattern MuonPrepRawData MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonSimEvent AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib McParticleEvent muonEvent TrkGeometry TrkEventPrimitives TrkPrepRawData TrkSegment TrkTrackSummary TrkTruthData TrkExInterfaces TrkToolInterfaces TrigObjectMatchingLib TrigInDetEvent TrigMuonEvent ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel AthContainers StoreGateLib SGtests AtlasDetDescr EventInfo EventKernel FourMomUtils xAODMuon xAODTracking xAODTruth GaudiKernel MuonCalibITools MuonIdHelpersLib MuonPattern MuonPrepRawData MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonSimEvent AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib McParticleEvent muonEvent TrkGeometry TrkEventPrimitives TrkPrepRawData TrkSegment TrkTrackSummary TrkTruthData TrkExInterfaces TrkToolInterfaces TrigObjectMatchingLib TrigInDetEvent TrigMuonEvent ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationFillerTool.cxx index 242dd6641e9f51f9f3476a3ae0b856f42b48d0f8..f1e1c3fca69aa77e080012432c8023aa8341256e 100644 --- a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationFillerTool.cxx @@ -10,7 +10,7 @@ #include "MuonPatternCombinationFillerTool.h" #include "AthenaKernel/errorcheck.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" #include "MuonPattern/MuonPatternCombinationCollection.h" #include "MuonPattern/DetailedMuonPatternTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationMissedHitFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationMissedHitFillerTool.cxx index 6e21fd146b3502cfde65785ac14f5214fe04adba..4143920d61edf06682d3b7f1d3602ce0efcf2221 100644 --- a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationMissedHitFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonPatternCombinationMissedHitFillerTool.cxx @@ -10,7 +10,7 @@ #include "MuonPatternCombinationMissedHitFillerTool.h" #include "AthenaKernel/errorcheck.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" #include "MuonPattern/MuonPatternCombinationCollection.h" #include "MuonPattern/DetailedMuonPatternTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonSegmentTruthFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonSegmentTruthFillerTool.cxx index 949aaba16acbdb43954731070a4643d9b41d2f62..c50ec5d9b7be315690711b37f4d89374f98b64bb 100644 --- a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonSegmentTruthFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonSegmentTruthFillerTool.cxx @@ -10,7 +10,7 @@ #include "MuonSegmentTruthFillerTool.h" #include "AthenaKernel/errorcheck.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" #include "MuonPattern/MuonPatternCombinationCollection.h" #include "MuonPattern/DetailedMuonPatternTruthCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonTruthHitsFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonTruthHitsFillerTool.cxx index 4a3fa46e330ed410b071a0ce6ab62dc6ce6a1eae..5d6e54d2a232a4188cb5e3e05ebcb8a5af7d7c88 100644 --- a/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonTruthHitsFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/src/MuonTruthHitsFillerTool.cxx @@ -13,7 +13,7 @@ #include "MuonIdHelpers/MuonIdHelperTool.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/CMakeLists.txt index a9f5b7960c920be566f7c693e19dc97bcb870aed..74a80d24847184804c1a2b05a6cbf8e6ac6de927 100644 --- a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/CMakeLists.txt @@ -29,6 +29,7 @@ atlas_depends_on_subdirs( PRIVATE Event/xAOD/xAODTrigger GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/D3PDMaker/D3PDMakerUtils Reconstruction/RecoTools/RecoToolInterfaces Reconstruction/RecoTools/TrackToVertex @@ -43,15 +44,14 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CORAL COMPONENTS CoralBase CoralKernel RelationalAccess ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( TileD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CORAL_LIBRARIES} ${HEPMC_LIBRARIES} CaloEvent CaloGeoHelpers AthContainers AthenaBaseComps StoreGateLib SGtests GeoModelUtilities Identifier EventInfo xAODCaloEvent xAODEventInfo xAODMissingET xAODMuon xAODPrimitives xAODTracking xAODTrigger GaudiKernel GeneratorObjects D3PDMakerUtils RecoToolInterfaces TileEvent TileIdentifier TrkParameters TrkParametersIdentificationHelpers VxVertex TrigInDetEvent TrigMuonEvent ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CORAL_LIBRARIES} AtlasHepMCLib CaloEvent CaloGeoHelpers AthContainers AthenaBaseComps StoreGateLib SGtests GeoModelUtilities Identifier EventInfo xAODCaloEvent xAODEventInfo xAODMissingET xAODMuon xAODPrimitives xAODTracking xAODTrigger GaudiKernel GeneratorObjects D3PDMakerUtils RecoToolInterfaces TileEvent TileIdentifier TrkParameters TrkParametersIdentificationHelpers VxVertex TrigInDetEvent TrigMuonEvent ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileClusterFillerTool.h b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileClusterFillerTool.h index 288304b5c769cfe9bd5915afd2f043ebbb7c56b0..6d61955000c40c54e0458c8fe3e2d97736b5455c 100644 --- a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileClusterFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileClusterFillerTool.h @@ -19,9 +19,9 @@ #include "TrackTools.h" // MONTE CARLO INCLUDES -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" // MONTE CARLO (TRUTH) INFORMATION #include "GeneratorObjects/McEventCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileMuonFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileMuonFillerTool.cxx index b3ef4178543538ae50a78ca679a68d835906eefc..ad89aabb0abf419564b7b344e342ac78fe52ce91 100644 --- a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileMuonFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileMuonFillerTool.cxx @@ -20,9 +20,9 @@ #include "CaloEvent/CaloCellContainer.h" // MONTE CARLO INCLUDES -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" //xAOD tools #include "xAODPrimitives/IsolationType.h" diff --git a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileTrackFillerTool.h b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileTrackFillerTool.h index a8a06201c55a8c07d037b403cf189ed8dfb77956..a4f4f1e8d012471b0a5d67beff8316d8ebf9c098 100644 --- a/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileTrackFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TileD3PDMaker/src/TileTrackFillerTool.h @@ -21,9 +21,9 @@ #include "TrackToVertex/TrackToVertex.h" // MONTE CARLO INCLUDES -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" // MONTE CARLO (TRUTH) INFORMATION #include "GeneratorObjects/McEventCollection.h" diff --git a/PhysicsAnalysis/D3PDMaker/TrackD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/TrackD3PDMaker/CMakeLists.txt index 6acf46991fa0cf32d8cee0953a2f7dbc67f7d7ad..a452d4a987314cec48990e79d37cc3eccba212d7 100644 --- a/PhysicsAnalysis/D3PDMaker/TrackD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/TrackD3PDMaker/CMakeLists.txt @@ -30,18 +30,18 @@ atlas_depends_on_subdirs( PUBLIC Reconstruction/RecoTools/RecoToolInterfaces Tracking/TrkEvent/TrkEventPrimitives Tracking/TrkEvent/TrkParticleBase - Tracking/TrkEvent/VxVertex ) + Tracking/TrkEvent/VxVertex + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( TrackD3PDMaker src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} TrkParameters AthenaKernel CxxUtils SGtests Identifier EventPrimitives xAODBase xAODPrimitives xAODTracking GaudiKernel InDetIdentifier InDetReadoutGeometry InDetTestBLayerLib ParticleEvent D3PDMakerUtils Particle ITrackToVertex RecoToolInterfaces TrkEventPrimitives TrkParticleBase VxVertex ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} AtlasHepMCLib TrkParameters AthenaKernel CxxUtils SGtests Identifier EventPrimitives xAODBase xAODPrimitives xAODTracking GaudiKernel InDetIdentifier InDetReadoutGeometry InDetTestBLayerLib ParticleEvent D3PDMakerUtils Particle ITrackToVertex RecoToolInterfaces TrkEventPrimitives TrkParticleBase VxVertex ) # Install files from the package: atlas_install_headers( TrackD3PDMaker ) diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/CMakeLists.txt index 72b02af3c95430d9d46385eb7e84ea6cd8210093..e15e3a568bd396171bac76ad797e99d2ae5cacf8 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/CMakeLists.txt @@ -20,6 +20,7 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODMuon Generators/GenAnalysisTools/TruthHelper Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/AnalysisCommon/ParticleJetTools PhysicsAnalysis/MCTruthClassifier PhysicsAnalysis/TruthParticleID/McParticleEvent @@ -30,21 +31,20 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_library( TruthD3PDAnalysisLib src/*.cxx PUBLIC_HEADERS TruthD3PDAnalysis - PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} LINK_LIBRARIES AthenaBaseComps GaudiKernel D3PDMakerUtils McParticleKernel StoreGateLib SGtests ParticleJetToolsLib MCTruthClassifierLib MCTruthClassifierLib - PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaKernel EventKernel xAODEgamma xAODJet xAODMuon TruthHelper GeneratorObjects McParticleEvent Particle ParticleTruth TrkParticleBase VxVertex ) + PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaKernel EventKernel xAODEgamma xAODJet xAODMuon TruthHelper GeneratorObjects McParticleEvent Particle ParticleTruth TrkParticleBase VxVertex ) atlas_add_component( TruthD3PDAnalysis src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel D3PDMakerUtils McParticleKernel AthenaKernel StoreGateLib SGtests EventKernel xAODEgamma xAODJet xAODMuon TruthHelper GeneratorObjects ParticleJetToolsLib MCTruthClassifierLib McParticleEvent Particle ParticleTruth TrkParticleBase VxVertex TruthD3PDAnalysisLib MCTruthClassifierLib ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel D3PDMakerUtils McParticleKernel AthenaKernel StoreGateLib SGtests EventKernel xAODEgamma xAODJet xAODMuon TruthHelper GeneratorObjects ParticleJetToolsLib MCTruthClassifierLib McParticleEvent Particle ParticleTruth TrkParticleBase VxVertex TruthD3PDAnalysisLib MCTruthClassifierLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/IGenObjectsFilterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/IGenObjectsFilterTool.h index 64bf58c99767a0f6d66b31f1dca674a1b9ea0ae7..ba5cfa518deb39ee8e69dee1c537542b2627ecfc 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/IGenObjectsFilterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/IGenObjectsFilterTool.h @@ -18,11 +18,10 @@ #include "GaudiKernel/IAlgTool.h" // Forward declaration(s): -namespace HepMC{ - class GenParticle; - class GenEvent; - class GenVertex; -} +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/GenVertex_fwd.h" + class McEventCollection; /// Interface ID for this tool type diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/TruthParticleFilterBase.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/TruthParticleFilterBase.h index 9a86078192cc687f612fe2d64dfe6e7c1bf4a773..ad5d00a83b13b9a621160ebf1976e921d39b627e 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/TruthParticleFilterBase.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/TruthD3PDAnalysis/TruthParticleFilterBase.h @@ -26,11 +26,9 @@ class ITruthIsolationTool; class McEventCollection; class TruthEtIsolationsContainer; -namespace HepMC { - class GenEvent; - class GenVertex; - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/GenVertex_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/GenObjectsFilterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/GenObjectsFilterTool.cxx index b9986de6d801b950bf661d11cc12c9081527116f..17ce7b2194d2f66192a538d4a2ef5a22c8dfd8a4 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/GenObjectsFilterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/GenObjectsFilterTool.cxx @@ -16,9 +16,9 @@ #include "TruthHelper/IsGenInteracting.h" // EDM include(s): -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/McEventCollection.h" // Local include(s): diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.cxx index 9875f9d979a78b3e8a4def546ebb16ce96b21ff2..9ec416c451ea033b23465b5a6f2739c31d2d4fdd 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.cxx @@ -5,8 +5,8 @@ #include "SimpleTruthParticleFilterTool.h" #include "EventKernel/PdtPdg.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "HepPID/ParticleIDMethods.hh" #include "GaudiKernel/SystemOfUnits.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.h index 9e239de2ef3497a9cd84305ea104504334b6613c..9b3c1d4141189ffb712b0a83eef51c80e402aa08 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/SimpleTruthParticleFilterTool.h @@ -6,9 +6,7 @@ #define TRUTHD3PDANALYSIS_SIMPLETRUTHPARTICLEFILTERTOOL_H #include "TruthD3PDAnalysis/TruthParticleFilterBase.h" -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterBase.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterBase.cxx index 242273eecb6115b0cc84837cd9b82d1ee385bcfb..86154bab8bd86b48ed7a4b9c38678da743bfb760 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterBase.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterBase.cxx @@ -14,9 +14,9 @@ #include "McParticleEvent/TruthEtIsolationsContainer.h" #include "McParticleKernel/ITruthIsolationTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "boost/range/iterator_range_core.hpp" #include <utility> diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.cxx index cb71f38221db4dbc7172dc0776cbef3e943e049e..899d2473b55d02c50da11782cab8ae682cd84e83 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.cxx @@ -14,8 +14,8 @@ #include "TruthParticleFilterTool.h" #include "EventKernel/PdtPdg.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "HepPID/ParticleIDMethods.hh" #include "GaudiKernel/SystemOfUnits.h" #include <algorithm> diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.h index 74e251050c0c1991d92a8ed050fb1af6bfd96dff..430c6bceb470f9fae159dc35ae7fe5333af3146d 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDAnalysis/src/TruthParticleFilterTool.h @@ -18,9 +18,7 @@ #include "TruthD3PDAnalysis/TruthParticleFilterBase.h" -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/CMakeLists.txt index 3a91e562bc6c3263ebb730c280e877c05d742ba8..06a3bbbed24f52d0c4233fe4e568d8dc21a0a6b9 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/CMakeLists.txt @@ -14,6 +14,7 @@ atlas_depends_on_subdirs( PRIVATE Event/xAOD/xAODTruth GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC Generators/GenInterfaces Generators/TruthUtils PhysicsAnalysis/D3PDMaker/D3PDMakerInterfaces @@ -28,15 +29,14 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( TruthD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel Navigation EventInfo xAODTruth GaudiKernel GeneratorObjects TruthUtils D3PDMakerUtils TruthD3PDAnalysisLib MCTruthClassifierLib McParticleEvent McParticleKernel JetEvent TrkToolInterfaces ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel Navigation EventInfo xAODTruth GaudiKernel GeneratorObjects TruthUtils D3PDMakerUtils TruthD3PDAnalysisLib MCTruthClassifierLib McParticleEvent McParticleKernel JetEvent TrkToolInterfaces ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventFillerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventFillerTool.h index cb6495ff81512553ca0e98b8ec00e83552102389..ef82ae33db79fb2facc461b07a7aba4de3c0f0a4 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventFillerTool.h @@ -18,7 +18,7 @@ #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.cxx index e7836082da798fcb094af96a9b3c71c291663a25..8a3f24ccec8225d764670393e3fbf05eda1791ad 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.cxx @@ -12,7 +12,7 @@ #include "GenEventGenParticleAssociationTool.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "AthenaKernel/errorcheck.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.h index a2de7a7bd821e580b7f5dd619d170fbf666d6105..e77d9b8d7c23a69f814e47ac03daf3d352351152 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGenParticleAssociationTool.h @@ -18,8 +18,8 @@ #include "D3PDMakerUtils/MultiAssociationTool.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.cxx index 83ff1225136224d9676365f67b35b6437ecb6558..207d15cd1a3cae923c7550e70c60b45f4e373fc9 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.cxx @@ -12,7 +12,7 @@ #include "GenEventGetterFilterTool.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.h index f3a1f118b01121a07129233c946a295a46857997..d92b67e495802a9f6a9cfd73a8d696a1eeb8f6a1 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterFilterTool.h @@ -14,7 +14,7 @@ #include "D3PDMakerUtils/CollectionGetterFilterTool.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #ifndef EVENTCOMMOND3PDMAKER_GENEVENTGETTERFILTERTOOL_H diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterTool.cxx index fb521e46643c7dc91bebb27e3ac21fdd67f5d2fa..1914ab6df9fb0d773e9096c6825924d7f2bb759d 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventGetterTool.cxx @@ -8,7 +8,7 @@ #include "AthenaKernel/errorcheck.h" // EDM include(s): -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // Local include(s): #include "GenEventGetterTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventPileUpFillerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventPileUpFillerTool.h index ff3805887e0abfacfa2b11942ce96c498754347b..c5c160a710e818c37755cbf81987a377ff1efc36 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventPileUpFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenEventPileUpFillerTool.h @@ -18,7 +18,7 @@ #include "GaudiKernel/ToolHandle.h" // EDM include(s): -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // D3PDMaker include(s): #include "D3PDMakerInterfaces/ICollectionGetterRegistryTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleEventAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleEventAssociationTool.h index 88a736490fa84481fc65a2013f45ab98274bd27a..5d0ebab4d422f771dd016102ccb5816ae149c658 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleEventAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleEventAssociationTool.h @@ -19,8 +19,8 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" // EDM include(s): -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.cxx index 2ceca3d2cc7e1e9bc8474dd8c9128206ad634b40..3ad88df4a6d4b5aee981f18ec95f9fe529223d75 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.cxx @@ -12,9 +12,9 @@ #include "GenParticleFillerTool.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/SimpleVector.h" #include "AthenaKernel/errorcheck.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.h index c6482ba42f989271d8a45cdf13753989afca9769..59a9681d35124dd18019bda898b65de7f9ce969c 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleFillerTool.h @@ -17,7 +17,7 @@ #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.cxx index 393059d26b9d019d9907fe37a529bd0a883ad174..a21e9549e3d917f6cad6059b5ef8cd8f2acc6469 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.cxx @@ -8,7 +8,7 @@ #include "AthenaKernel/errorcheck.h" // EDM include(s): -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // Local include(s): #include "GenParticleGetterTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.h index 6ab6f87a1e0695bab9ec685fe98bb9aca8d07d4d..881bf462206d7661b071f43c34634e84e4a46ade 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleGetterTool.h @@ -19,7 +19,7 @@ // EDM include(s): #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // Helper tool(s): #include "TruthD3PDAnalysis/IGenObjectsFilterTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleParticleAssociationTool.h index ab8bb8e5d942a851b074700fd34231c4d09740b7..353e33afe6c86a7c4ebfadb459b2f680f1bccbb8 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleParticleAssociationTool.h @@ -19,7 +19,7 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" // EDM include(s): -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.cxx index 7d3bd8eda3aa2f8cbdc59d20ec5fe2ccd8434b6a..dbfbac6fbcccbff7e544caf4be471c3dafa77f11 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.cxx @@ -5,7 +5,7 @@ #include "GenParticlePerigeeFillerTool.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkToolInterfaces/ITruthToTrack.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.h index 052563d260b218a6c565cd4e99e88a70f2a69f24..d5c3e964b592e750cff71994b2162984efdf4f62 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticlePerigeeFillerTool.h @@ -6,7 +6,7 @@ #define TRACKD3PDMAKER_GENPARTICLEPERIGEEFILLERTOOL_H #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GaudiKernel/ToolHandle.h" #include "TrkToolInterfaces/ITruthToTrack.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.cxx index 72e0608906ecd9fdab65a6d5d22413eb87e5d5d4..92e10d84989dfb8aa15997152d1749d814574fee 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.cxx @@ -16,7 +16,7 @@ #include "D3PDMakerInterfaces/ICollectionGetterTool.h" #include "D3PDMakerInterfaces/ICollectionGetterRegistryTool.h" #include "McParticleEvent/TruthParticleContainer.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "AthenaKernel/errorcheck.h" #include "GaudiKernel/IIncidentSvc.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.h index 3a50a025b5b2c0af3e4f1bc3f4e32b7567f2b166..e0c01e65e357f9e41bc9251c714a64121ae61545 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleTruthParticleAssociationTool.h @@ -19,7 +19,7 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" #include "McParticleEvent/TruthParticle.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GaudiKernel/IIncidentListener.h" #include "GaudiKernel/ToolHandle.h" #include "GaudiKernel/ServiceHandle.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleVertexAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleVertexAssociationTool.h index 39a157713faeaf99d5c185a4fc13be1f8763da36..78a5d2feea447a463540f1fd91ed8f6a1c034267 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleVertexAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenParticleVertexAssociationTool.h @@ -19,8 +19,8 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" // EDM include(s): -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexEventAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexEventAssociationTool.h index 733ebee4734c30debfc10b311c946f8e6a85e55f..38a32c25b0730fffa09d4e667434bc6307fe224e 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexEventAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexEventAssociationTool.h @@ -19,8 +19,8 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" // EDM include(s): -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.cxx index d4e786e4bed452d25b2b9b0a5902a44abd4b715a..453e1dc2558771524b006a1f3ed765c29c23623a 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.cxx @@ -12,7 +12,7 @@ #include "GenVertexFillerTool.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Geometry/Point3D.h" #include "AthenaKernel/errorcheck.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.h index da482ae476f352e40c2ce7cbb5287d656daa8092..e56b6d480d08bf951d1c49ad404695cbd8b73ad5 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexFillerTool.h @@ -18,7 +18,7 @@ #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.cxx index f3c00f5e53e353e3f7bd812d18771db92087513d..898e8340c1dc8aaa144bf095e29896f83945a8d9 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.cxx @@ -8,7 +8,7 @@ #include "AthenaKernel/errorcheck.h" // EDM include(s): -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" // Local include(s): #include "GenVertexGetterTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.h index e2106eddb9d6682f6d8950c905d6c3b021704c11..e5a798106a3d0a2daf9af02d4c97fa68be5b4cfc 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexGetterTool.h @@ -19,7 +19,7 @@ // EDM include(s): #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" // Helper tool(s): #include "TruthD3PDAnalysis/IGenObjectsFilterTool.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexParticleAssociationTool.h index 944b1a31497e8c57b6dc528294b2f0b2fbe1a10c..dd2dbe587d3721bfa80b35678765fb5a1bb7ef27 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/GenVertexParticleAssociationTool.h @@ -22,8 +22,8 @@ #include "D3PDMakerUtils/MultiAssociationTool.h" // EDM include(s): -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/HforFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/HforFillerTool.cxx index 971eacc977b5e31d78d25d6db4b676c8fda8fe4c..6e6edb4c241ce2548d74387f48aee0aeb21af64c 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/HforFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/HforFillerTool.cxx @@ -10,7 +10,7 @@ #include "D3PDMakerUtils/BlockFillerTool.h" #include "AthenaKernel/errorcheck.h" #include "HforFillerTool.h" -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/SimpleVector.h" namespace D3PD{ diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/JetFullTruthTag.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/JetFullTruthTag.cxx index ce2a8884f584515f076b9d9577ea7d893bcc3386..71d853c66ec4ef2e56e9a0c0aaab8e8381f08dc6 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/JetFullTruthTag.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/JetFullTruthTag.cxx @@ -13,7 +13,7 @@ #include "AthenaKernel/errorcheck.h" #include "JetEvent/Jet.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "HepPID/ParticleIDMethods.hh" #include "GaudiKernel/SystemOfUnits.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.cxx index a0fda8ba1aa2cf8877e78323859cd398ae38d1bc..2f8d1c4cb3a343c400e33cd75dcf2128a3ca7ec6 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.cxx @@ -12,9 +12,9 @@ #include "TruthJetFilterTool.h" #include "GeneratorObjects/McEventCollection.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Vector/LorentzVector.h" #include "boost/range/iterator_range_core.hpp" #include <utility> diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.h index 44eacdede3db451b2d12bc225e0dd34425b18660..132cc4953de95a4a071c8d075d891a296dcbdac7 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthJetFilterTool.h @@ -22,11 +22,9 @@ #include "AthenaBaseComps/AthAlgTool.h" #include <string> class McEventCollection; -namespace HepMC { - class GenEvent; - class GenVertex; - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenVertex_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.cxx index b7047e22715e58445d240c9ff0959a6145829fb4..321da3fb40d22fd7e91481051d2330e77a4527e6 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.cxx @@ -12,7 +12,7 @@ #include "TruthLeptonNearbyAssociationTool.h" #include "AthenaKernel/errorcheck.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "McParticleEvent/TruthParticle.h" #include "TruthUtils/PIDHelpers.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.h index 0aa09e21dff5b04b95b17106fd39b6c9321c98db..32b8f875f9382d71b9443a28379fa3e8f5e78b3e 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonNearbyAssociationTool.h @@ -17,9 +17,7 @@ #include <vector> -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.cxx index f2b8d9f27f06e744c4772dc3851774d6ef0a8189..d810eae7f0f1ca7822d72815ef800ce042387e28 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.cxx @@ -9,8 +9,8 @@ */ #include "TruthLeptonParentAssociationTool.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "AthenaKernel/errorcheck.h" #include "barcodeOrder.h" #include "McParticleEvent/TruthParticle.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.h index aac7b0f49643b6505d4782c7c493171d2c5d1254..70ffc405c6179a7dc756f2540b36b9cc5c33cfc3 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthLeptonParentAssociationTool.h @@ -19,9 +19,7 @@ #include "McParticleEvent/TruthParticle.h" -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace D3PD { /** diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.cxx index 18e0b34d9ba4f263bf144801e829d3021128529a..9af4e22c2b181e8c8b58ba5d851d847ea46307db 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.cxx @@ -11,8 +11,8 @@ */ #include "TruthParticleFakerTool.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "AthenaKernel/errorcheck.h" #include "GaudiKernel/SystemOfUnits.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.h index f47b8e9e0357d88ce40d38a2b0f47da5d5ba5ea2..7fded7fe29ad0787bc921d297d81ea25a5f6d5d1 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleFakerTool.h @@ -15,7 +15,7 @@ #include "D3PDMakerUtils/BlockFillerTool.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <vector> diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleGenParticleAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleGenParticleAssociationTool.h index 08376b9bd263bf517c190875b8e6ef3f2afab674..6db1e1725e45f2169908e8ccd2041b552721e96e 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleGenParticleAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthParticleGenParticleAssociationTool.h @@ -19,7 +19,7 @@ #include "D3PDMakerUtils/SingleAssociationTool.h" #include "McParticleEvent/TruthParticle.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.cxx index f4a2d27f19da820bfc207207e0015d56a5f6a89e..2fd1f3e2148273af02cd585702c45b2d2f788a8a 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.cxx @@ -9,8 +9,8 @@ */ #include "TruthTauDecayAssociationTool.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "AthenaKernel/errorcheck.h" #include "barcodeOrder.h" #include "McParticleEvent/TruthParticle.h" diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.h b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.h index 9cf255c0de0cc6a1100ec0a59598f2e01073b395..bfb6b361fe698bdbf7dbe184f584b2316e4f74e5 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.h +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/TruthTauDecayAssociationTool.h @@ -17,7 +17,7 @@ #include "D3PDMakerUtils/MultiAssociationTool.h" #include "McParticleEvent/TruthParticle.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/hepMCInheritance.cxx b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/hepMCInheritance.cxx index 2853c8fe616896a3fba412d735a151e2937f621e..e43133f4c141389edb9cabfc52a8a6aa22e18b6d 100644 --- a/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/hepMCInheritance.cxx +++ b/PhysicsAnalysis/D3PDMaker/TruthD3PDMaker/src/hepMCInheritance.cxx @@ -16,7 +16,7 @@ #include "McParticleEvent/TruthParticle.h" #include "GeneratorObjects/McEventCollection.h" #include "Navigation/IAthenaBarCode.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "AthenaKernel/BaseInfo.h" SG_ADD_BASE (McEventCollection, DataVector<HepMC::GenEvent>); diff --git a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt index cbbc9ff030e42e78c781658397862a0a8baef500..755dad17eaa6f2d62b26c4025190f0aec2cecc74 100644 --- a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/CMakeLists.txt @@ -33,18 +33,18 @@ atlas_depends_on_subdirs( PRIVATE Trigger/TrigAnalysis/TrigObjectMatching Trigger/TrigEvent/TrigCaloEvent Trigger/TrigEvent/TrigInDetEvent - Trigger/TrigEvent/TrigParticle ) + Trigger/TrigEvent/TrigParticle + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( egammaD3PDMaker src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloIdentifier AthenaKernel Navigation StoreGateLib SGtests EventKernel FourMomUtils xAODBase xAODCaloEvent xAODEgamma xAODJet xAODTracking xAODTruth GaudiKernel AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib egammaEvent TrkParameters TrkExInterfaces TrkVertexFitterInterfaces TrigObjectMatchingLib TrigCaloEvent TrigInDetEvent TrigParticle ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib CaloIdentifier AthenaKernel Navigation StoreGateLib SGtests EventKernel FourMomUtils xAODBase xAODCaloEvent xAODEgamma xAODJet xAODTracking xAODTruth GaudiKernel AnalysisTriggerEvent D3PDMakerUtils TriggerD3PDMakerLib MCTruthClassifierLib egammaEvent TrkParameters TrkExInterfaces TrkVertexFitterInterfaces TrigObjectMatchingLib TrigCaloEvent TrigInDetEvent TrigParticle ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaGenParticleAssociationTool.cxx b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaGenParticleAssociationTool.cxx index 28130e1667610280da82b0242b6a35c097bb074f..29761b2f1c9ca6d52f9dfb014f4f0f2ef094d0ca 100644 --- a/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaGenParticleAssociationTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/egammaD3PDMaker/src/egammaGenParticleAssociationTool.cxx @@ -19,7 +19,7 @@ #include "xAODTruth/TruthParticle.h" #include "FourMomUtils/P4Helpers.h" #include "AthenaKernel/errorcheck.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include <cstdlib> diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/CMakeLists.txt b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/CMakeLists.txt index 58a15924e42752b3f13f184701b179cbc989d171..2540eb7eb360214e0774911472330624e93fc718 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/CMakeLists.txt +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/CMakeLists.txt @@ -17,12 +17,12 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODBase Event/xAOD/xAODJet Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/CommonTools/ExpressionEvaluation PhysicsAnalysis/MCTruthClassifier ) # External dependencies: find_package( FastJet ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) @@ -30,15 +30,15 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_library( DerivationFrameworkMCTruthLib src/*.cxx PUBLIC_HEADERS DerivationFrameworkMCTruth - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${FASTJET_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${FASTJET_INCLUDE_DIRS} PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${FASTJET_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps xAODEventInfo xAODTruth GaudiKernel SGtests ExpressionEvaluationLib MCTruthClassifierLib + LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${FASTJET_LIBRARIES} AtlasHepMCLib AthenaBaseComps xAODEventInfo xAODTruth GaudiKernel SGtests ExpressionEvaluationLib MCTruthClassifierLib PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaKernel xAODBase xAODJet GeneratorObjects ) atlas_add_component( DerivationFrameworkMCTruth src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${FASTJET_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${FASTJET_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps xAODEventInfo xAODTruth GaudiKernel AthenaKernel SGtests EventInfo xAODBase xAODJet GeneratorObjects ExpressionEvaluationLib MCTruthClassifierLib DerivationFrameworkMCTruthLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${FASTJET_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${FASTJET_LIBRARIES} AtlasHepMCLib AthenaBaseComps xAODEventInfo xAODTruth GaudiKernel AthenaKernel SGtests EventInfo xAODBase xAODJet GeneratorObjects ExpressionEvaluationLib MCTruthClassifierLib DerivationFrameworkMCTruthLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/CompactHardTruth.h b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/CompactHardTruth.h index c9c4eafcb9752a2639b9362be173cc4dc2012912..058219f71b303f32a891083d2a8712ca3a071775 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/CompactHardTruth.h +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/CompactHardTruth.h @@ -33,9 +33,9 @@ #include "AthenaBaseComps/AthAlgorithm.h" #include "GaudiKernel/ToolHandle.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // fwd declares class IMcVtxFilterTool; diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/src/CompactHardTruth.cxx b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/src/CompactHardTruth.cxx index f64605d005b7ab8c1981a589b2f0ee03044e01a5..2cfcd3dc035fe08cc4958ff46fdff4a2d083400e 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/src/CompactHardTruth.cxx +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMCTruth/src/CompactHardTruth.cxx @@ -26,11 +26,11 @@ //#include "McParticleEvent/TruthParticle.h" //#include "McParticleEvent/TruthParticleContainer.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // Needed for FourVector -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/SimpleVector.h" //#include "McParticleUtils/McVtxFilter.h" diff --git a/PhysicsAnalysis/MCTruthClassifier/CMakeLists.txt b/PhysicsAnalysis/MCTruthClassifier/CMakeLists.txt index 56063345bf8b04bc1fc91b2e0b436d897727dde3..2d400ab9772870cc036e8a36c687d2de3e5ddd53 100644 --- a/PhysicsAnalysis/MCTruthClassifier/CMakeLists.txt +++ b/PhysicsAnalysis/MCTruthClassifier/CMakeLists.txt @@ -32,6 +32,7 @@ elseif( XAOD_ANALYSIS ) elseif(GENERATIONBASE) set(extra_deps GaudiKernel + Generators/AtlasHepMC Generators/GeneratorObjects PRIVATE Control/AthenaKernel) @@ -66,6 +67,7 @@ atlas_depends_on_subdirs( Control/AthToolSupport/AsgTools Event/xAOD/xAODTruth Generators/TruthUtils + Generators/AtlasHepMC ${extra_deps} ) # External dependencies: diff --git a/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx b/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx index 26f4b1ff15cbe67371d74d4764c63ed7e670ce36..c605f923d719e11a6f5390cfb2f04e83fca35962 100644 --- a/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx +++ b/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx @@ -19,7 +19,7 @@ // Athena only includes #include "AthenaKernel/Units.h" #include "GeneratorObjects/xAODTruthParticleLink.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "RecoToolInterfaces/IParticleCaloExtensionTool.h" #include "TrkEventPrimitives/PropDirection.h" #include "TrkParametersIdentificationHelpers/TrackParametersIdHelper.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleEvent/test/TruthParticle_test.cxx b/PhysicsAnalysis/TruthParticleID/McParticleEvent/test/TruthParticle_test.cxx index a5456dd37ae694f9fcf92d4bb057e00c4d9f1cb8..102fbd101d7efa7772aa6ce716745eca914c4863 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleEvent/test/TruthParticle_test.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleEvent/test/TruthParticle_test.cxx @@ -26,9 +26,9 @@ // CLHEP includes #include "CLHEP/Units/SystemOfUnits.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/HepMcParticleLink.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/CMakeLists.txt b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/CMakeLists.txt index dbbfa8c228517d2dc892a12f318a5a6ea717d189..bd3a2df0c858bda355648237ccde6f651509eb3d 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/CMakeLists.txt +++ b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/CMakeLists.txt @@ -17,12 +17,12 @@ atlas_depends_on_subdirs( PUBLIC Control/SGTools Control/StoreGate Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/TruthParticleID/McParticleKernel ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS EG Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: @@ -30,15 +30,15 @@ atlas_add_tpcnv_library( McParticleEventTPCnv src/*.cxx PUBLIC_HEADERS McParticleEventTPCnv INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS DEFINITIONS ${CLHEP_DEFINITIONS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} DataModelAthenaPoolLib AthenaPoolCnvSvcLib GaudiKernel McParticleEvent AthenaKernel StoreGateLib SGtests GeneratorObjects McParticleKernel ) + LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib DataModelAthenaPoolLib AthenaPoolCnvSvcLib GaudiKernel McParticleEvent AthenaKernel StoreGateLib SGtests GeneratorObjects McParticleKernel ) atlas_add_dictionary( McParticleEventTPCnvDict McParticleEventTPCnv/McParticleEventTPCnvDict.h McParticleEventTPCnv/selection.xml - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} DataModelAthenaPoolLib AthenaPoolCnvSvcLib GaudiKernel McParticleEvent AthenaKernel StoreGateLib SGtests GeneratorObjects McParticleKernel McParticleEventTPCnv ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib DataModelAthenaPoolLib AthenaPoolCnvSvcLib GaudiKernel McParticleEvent AthenaKernel StoreGateLib SGtests GeneratorObjects McParticleKernel McParticleEventTPCnv ) atlas_add_test( TruthParticleContainerCnv_p5_test SOURCES diff --git a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p5.cxx b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p5.cxx index e83151c83766e4048d731de9b5cd97a0c7059dbd..dbe2bb5d09b9703e7e80bcad804ff14fbb6c337f 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p5.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p5.cxx @@ -15,7 +15,7 @@ #include "GaudiKernel/MsgStream.h" // HepMC includes -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" // McParticleKernel includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p6.cxx b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p6.cxx index d53471baa0b3068f99e8711c4e246bc89cfab325..74b62e21d1f73cbef4222fbcb814b6183dfd73b5 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p6.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleEventTPCnv/src/TruthParticleContainerCnv_p6.cxx @@ -15,7 +15,7 @@ #include "GaudiKernel/MsgStream.h" // HepMC includes -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" // McParticleKernel includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleKernel/CMakeLists.txt b/PhysicsAnalysis/TruthParticleID/McParticleKernel/CMakeLists.txt index ea5946a1eb37ea8ed19cf7a43305bd3294fa59ba..9ef64aa501d5ab1dc70e8640a4d60354136dc9d5 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleKernel/CMakeLists.txt +++ b/PhysicsAnalysis/TruthParticleID/McParticleKernel/CMakeLists.txt @@ -7,11 +7,12 @@ atlas_subdir( McParticleKernel ) # Declare the package's dependencies: atlas_depends_on_subdirs( PUBLIC + Generators/AtlasHepMC GaudiKernel ) # Component(s) in the package: atlas_add_library( McParticleKernel src/*.cxx PUBLIC_HEADERS McParticleKernel - LINK_LIBRARIES GaudiKernel ) + LINK_LIBRARIES GaudiKernel AtlasHepMCLib ) diff --git a/PhysicsAnalysis/TruthParticleID/McParticleKernel/McParticleKernel/IMcVtxFilterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleKernel/McParticleKernel/IMcVtxFilterTool.h index 865214ba71d0c5da7ce6404ffeee8ebc2ffa4e01..bd5db9923610e046e059eea4241a0e7f5fbc801f 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleKernel/McParticleKernel/IMcVtxFilterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleKernel/McParticleKernel/IMcVtxFilterTool.h @@ -18,7 +18,7 @@ // Forward declaration class McEventCollection; -namespace HepMC { class GenVertex; } +#include "AtlasHepMC/GenVertex_fwd.h" static const InterfaceID IID_IMcVtxFilterTool("IMcVtxFilterTool", 1, 0); diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTests/CMakeLists.txt b/PhysicsAnalysis/TruthParticleID/McParticleTests/CMakeLists.txt index e579df0e0804d3f8a67d02b8adc5eece3ec9011e..fa7a6f28a6bdfd1ced3a86a8e881d05cc95a16df 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleTests/CMakeLists.txt +++ b/PhysicsAnalysis/TruthParticleID/McParticleTests/CMakeLists.txt @@ -14,6 +14,7 @@ atlas_depends_on_subdirs( PRIVATE Event/NavFourMom GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/TruthParticleID/McParticleAlgs PhysicsAnalysis/TruthParticleID/McParticleEvent PhysicsAnalysis/TruthParticleID/McParticleKernel @@ -21,15 +22,14 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( McParticleTests src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps StoreGateLib SGtests EventKernel NavFourMom GaudiKernel GeneratorObjects McParticleEvent McParticleKernel McParticleUtils ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps StoreGateLib SGtests EventKernel NavFourMom GaudiKernel GeneratorObjects McParticleEvent McParticleKernel McParticleUtils ) # Install files from the package: atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTests/src/McAodMcTopAna_solution.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTests/src/McAodMcTopAna_solution.cxx index f6944d67a3337a032693db636fd26f8e63793c30..77bfb2b4c666508f05c391983a962effeca7825a 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleTests/src/McAodMcTopAna_solution.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTests/src/McAodMcTopAna_solution.cxx @@ -25,9 +25,9 @@ #include "McParticleEvent/TruthParticle.h" #include "McParticleEvent/TruthParticleContainer.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "McParticleUtils/McVtxFilter.h" #include "EventKernel/PdtPdg.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/CMakeLists.txt b/PhysicsAnalysis/TruthParticleID/McParticleTools/CMakeLists.txt index 0c33e59eb47faef577add4f56ac768f98e4c7ff9..fd5438edf5faab927f0d615e547ca4744cdeaa7d 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/CMakeLists.txt +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/CMakeLists.txt @@ -15,6 +15,7 @@ atlas_depends_on_subdirs( PRIVATE GaudiKernel Generators/GenAnalysisTools/TruthHelper Generators/GeneratorObjects + Generators/AtlasHepMC PhysicsAnalysis/TruthParticleID/McParticleEvent PhysicsAnalysis/TruthParticleID/McParticleKernel PhysicsAnalysis/TruthParticleID/McParticleUtils ) @@ -22,7 +23,6 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) @@ -30,5 +30,5 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_component( McParticleTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthContainers StoreGateLib SGtests EventKernel GaudiKernel TruthHelper GeneratorObjects McParticleEvent McParticleKernel McParticleUtils SGTools ) + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthContainers StoreGateLib SGtests EventKernel GaudiKernel TruthHelper GeneratorObjects McParticleEvent McParticleKernel McParticleUtils SGTools ) diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.cxx index 0eb68243f914edffaa0c6e89837352f22661ed16..363c7d5cf17b6aa4abac34384bc5afa94e9940ad 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.cxx @@ -20,9 +20,9 @@ // CLHEP/HepMC includes #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" // McParticleKernel includes #include "McParticleKernel/IIOHepMcTool.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.h index d21a0093a5de98598fcd027153b5c7fb9a48ad25..449d7cda11a5bc7fb96dd5731e4e611689fc5be2 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/GenAodValidationTool.h @@ -27,9 +27,9 @@ // Forward declaration class IIOHepMcTool; class McEventCollection; -namespace HepMC { class GenEvent; } -namespace HepMC { class GenVertex; } -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenVertex_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" class GenAodValidationTool : public TruthParticleValidationBaseTool { diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcFloatWriterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcFloatWriterTool.h index 97b87a243673d452d0d252b7989b89c00779d5ba..b0a8202e28b6e92a240d689a4b05d5d9c5f12b6b 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcFloatWriterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcFloatWriterTool.h @@ -23,7 +23,7 @@ #include "McParticleKernel/IIOHepMcTool.h" // Forward declaration -namespace HepMC { class GenEvent; } +#include "AtlasHepMC/GenEvent_fwd.h" //namespace McAod { class IO_BaseClass; } class HepMcFloatWriterTool : virtual public IIOHepMcTool, diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.cxx index cb5e39845deda97ca5989c329bcff6a416058e23..af6d67a97cf00c79ea6172652584bc4f71dd88a9 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.cxx @@ -18,7 +18,7 @@ // CLHEP/HepMC includes #include "GeneratorObjects/McEventCollection.h" #include "HepPDT/ParticleDataTable.hh" -#include "HepMC/IO_GenEvent.h" +#include "AtlasHepMC/IO_GenEvent.h" // McParticleTools includes #include "HepMcReaderTool.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.h index 866df6c1707ddae0449f830e47a96f5f9cbd6336..2b0393adf668b58d3e2a72c2f9c3d2e2583657fa 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcReaderTool.h @@ -22,8 +22,8 @@ #include "McParticleKernel/IIOHepMcTool.h" // Forward declaration -namespace HepMC { class GenEvent; } -namespace HepMC { class IO_BaseClass; } +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/IO_BaseClass_fwd.h" class HepMcReaderTool : virtual public IIOHepMcTool, public AthAlgTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcTupleWriterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcTupleWriterTool.h index 817e4b95624258c05f98e5feaf51d0cb87ac8531..2284a4ec2f79b82e15a5e61a597d7a0254552cb4 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcTupleWriterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcTupleWriterTool.h @@ -27,7 +27,7 @@ // Forward declaration class ITHistSvc; class TTree; -namespace HepMC { class GenEvent; } +#include "AtlasHepMC/GenEvent_fwd.h" class HepMcTupleWriterTool : virtual public IIOHepMcTool, public AthAlgTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.cxx index 9f05a2cb7c986823fd078e34005fdfceb12febe4..10e6ec02c9ada63095896b3378d3dbb4bc2e2674 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.cxx @@ -18,7 +18,7 @@ // CLHEP/HepMC includes #include "GeneratorObjects/McEventCollection.h" #include "HepPDT/ParticleDataTable.hh" -#include "HepMC/IO_GenEvent.h" +#include "AtlasHepMC/IO_GenEvent.h" // McParticleTools includes #include "HepMcWriterTool.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.h index a12cd36d5158c1cc9a4a2989ed81b590f22a9ab6..e10e73810702e7d7a44370e4944351ddd6786612 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/HepMcWriterTool.h @@ -22,8 +22,8 @@ #include "McParticleKernel/IIOHepMcTool.h" // Forward declaration -namespace HepMC { class GenEvent; } -namespace HepMC { class IO_BaseClass; } +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/IO_BaseClass_fwd.h" class HepMcWriterTool : virtual public IIOHepMcTool, public AthAlgTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McAodWriterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McAodWriterTool.cxx index ad5d48d6cd809a900529ab4240b743b308cd967c..8fd5bbe7b65b5c7556ad689a961f3247ee1c0eac 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McAodWriterTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McAodWriterTool.cxx @@ -17,7 +17,7 @@ // FrameWork includes // HepMC includes -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // McParticleEvent includes #include "McParticleEvent/TruthParticleContainer.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.cxx index 0c24a823fada37e52d242d3621e25304ee1a69f7..73c8712743cbf7d83ec357c160e71a1a6e1bd107 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.cxx @@ -16,9 +16,9 @@ #include "GaudiKernel/Property.h" // HepMC includes -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" // McParticleTools includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.h index 134c0af13ecaef05ba6eef086e7ec94b01957e50..62da553336783a43ff592e71f0ef4f5fe4840987 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/McVtxFilterTool.h @@ -66,7 +66,7 @@ // Forward declaration class McEventCollection; -namespace HepMC { class GenVertex; } +#include "AtlasHepMC/GenVertex_fwd.h" class McVtxFilterTool : virtual public IMcVtxFilterTool, public AthAlgTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx index b4549b81033509b4dbe20fc23ae2ca4fca212a87..123ad0ca1e7ca3d8e58d4ef178e0039410dd2eb9 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx @@ -19,9 +19,9 @@ #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenSimulStable.h" #include "TruthHelper/IsGenerator.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Units/SystemOfUnits.h" // McParticleKernel includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.h index 80d91b85fb6a53c2a9d93b48c0ddae1b8e62b174..47e9accee9c5f467ecfa86debd3e214ba82ea4f1 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.h @@ -25,7 +25,7 @@ namespace TruthHelper{ class GenAccessIO; } -namespace HepMC { class GenEvent; } +#include "AtlasHepMC/GenEvent_fwd.h" class IMcVtxFilterTool; class OldSpclMcFilterTool : public TruthParticleFilterBaseTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.cxx index 0f84a9398d023b98b20f95c8eec7849b28189e04..6090e15004611367ce731c7ebebc18f9752b5035 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.cxx @@ -19,9 +19,9 @@ #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenSimulStable.h" #include "TruthHelper/IsGenerator.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Units/SystemOfUnits.h" // McParticleKernel includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.h index c85af4414047068082ffc083bd1e5fd1324f9688..07bb7c5333adb3ccf293d3f8b3c975213e931b0d 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/PileupFilterTool.h @@ -24,7 +24,7 @@ namespace TruthHelper{ class GenAccessIO; } -namespace HepMC { class GenEvent; } +#include "AtlasHepMC/GenEvent_fwd.h" class IMcVtxFilterTool; class PileupFilterTool : public TruthParticleFilterBaseTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.cxx index eddb46b4a4d9aea6d03bba8d1d58b0566d48d692..9d2a377c934ffbcda37dca57a9d0fa8cc63950f1 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.cxx @@ -15,9 +15,9 @@ // CLHEP/HepMC includes #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenInteracting.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/McEventCollection.h" #include "CLHEP/Units/SystemOfUnits.h" #include "CLHEP/Vector/LorentzVector.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.h b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.h index 94bcad573d04cdb3a657f155d342fb7836c3f0fe..c8973ca0370791efacc6a61ba4713d3c355f2040 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthIsolationTool.h @@ -26,8 +26,8 @@ // Forward declarations class McEventCollection; class TruthEtIsolations; -namespace HepMC { class GenEvent; } -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenEvent_fwd.h" +#include "AtlasHepMC/GenParticle_fwd.h" class TruthIsolationTool : virtual public ITruthIsolationTool, public AthAlgTool diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthParticleCnvTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthParticleCnvTool.cxx index 7e5e49dc655a0da665941b73b06779b4ff93035e..b012d013efffecb9381c2017a6e02b0176444065 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthParticleCnvTool.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/TruthParticleCnvTool.cxx @@ -20,10 +20,10 @@ #include "GaudiKernel/ThreadLocalContext.h" // CLHEP/HepMC includes -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/Polarization.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/Polarization.h" #include "HepPDT/ParticleData.hh" // McParticleKernel includes diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/CMakeLists.txt b/PhysicsAnalysis/TruthParticleID/McParticleUtils/CMakeLists.txt index d0d6edeef4fa84cd27286d1ce13befbfec9b9b3c..fce02c971f6f5795ff0582f620fe12a0d5c685f6 100644 --- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/CMakeLists.txt +++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/CMakeLists.txt @@ -15,13 +15,13 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE AtlasTest/TestTools Control/StoreGate - Control/RootUtils ) + Control/RootUtils + Generators/AtlasHepMC ) # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) find_package( CppUnit ) -find_package( HepMC ) find_package( HepPDT ) find_package( Python COMPONENTS Development ) @@ -29,10 +29,10 @@ find_package( Python COMPONENTS Development ) atlas_add_library( McParticleUtils src/*.cxx PUBLIC_HEADERS McParticleUtils - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${Python_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${CPPUNIT_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaKernel AthContainers EventKernel GaudiKernel AnalysisUtilsLib StoreGateLib SGtests RootUtils + LINK_LIBRARIES AtlasHepMCLib AthenaKernel AthContainers EventKernel GaudiKernel AnalysisUtilsLib StoreGateLib SGtests RootUtils PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${Python_LIBRARIES} ${CLHEP_LIBRARIES} ${CPPUNIT_LIBRARIES} ) # Install files from the package: diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/McParticleUtils/McVtxFilter.h b/PhysicsAnalysis/TruthParticleID/McParticleUtils/McParticleUtils/McVtxFilter.h index 4e8092f1500a19c967f2d6424522275ccc1fa19a..4956d27328e6e85a460de7df70dda2430fe77422 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/McParticleUtils/McVtxFilter.h +++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/McParticleUtils/McVtxFilter.h @@ -31,9 +31,9 @@ #include "GaudiKernel/GaudiException.h" // HepMC includes -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // EventKernel includes #include "EventKernel/PdtPdg.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx index fdc742faece1eecf15da9f5de84e065b9962ec06..5636286b7c0ab0413a37945aae03a8ffadbf05df 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/McVtxFilter.cxx @@ -17,8 +17,8 @@ #include "GaudiKernel/GaudiException.h" // HepMC includes -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // AnalysisUtils includes #include "AnalysisUtils/AnalysisPermutation.h" diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/test/McVtxFilterTest_CppUnit.cxx b/PhysicsAnalysis/TruthParticleID/McParticleUtils/test/McVtxFilterTest_CppUnit.cxx index 2df400c9b029c932ea62b24a14a6b2dc8358c0b4..0a8ef1049ee40e1d31cc40041c5d6e1ee9606611 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/test/McVtxFilterTest_CppUnit.cxx +++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/test/McVtxFilterTest_CppUnit.cxx @@ -22,9 +22,9 @@ #include "CLHEP/Units/SystemOfUnits.h" // HepMC includes -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "AthContainers/DataVector.h" diff --git a/Reconstruction/MissingETEvent/CMakeLists.txt b/Reconstruction/MissingETEvent/CMakeLists.txt index f8b2161efad9973e0dac1c9c45219429d2676882..dbf249baca7cae8d44abab713a0d0ff8ebf30526 100644 --- a/Reconstruction/MissingETEvent/CMakeLists.txt +++ b/Reconstruction/MissingETEvent/CMakeLists.txt @@ -38,6 +38,6 @@ atlas_add_library( MissingETEvent atlas_add_dictionary( MissingETEventDict MissingETEvent/MissingETEventDict.h MissingETEvent/selection.xml - INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib CaloEvent CaloGeoHelpers AthContainers Navigation EventKernel NavFourMom GaudiKernel CxxUtils TruthHelper MissingETEvent ) diff --git a/Reconstruction/MissingETPerformance/CMakeLists.txt b/Reconstruction/MissingETPerformance/CMakeLists.txt index 1b54b7b6a7ed752a09bac81458e86b042082f260..63ce2de9eba3d330572a588ed2c33457854ebd5c 100644 --- a/Reconstruction/MissingETPerformance/CMakeLists.txt +++ b/Reconstruction/MissingETPerformance/CMakeLists.txt @@ -15,6 +15,7 @@ atlas_depends_on_subdirs( PUBLIC Control/StoreGate GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC LArCalorimeter/LArRecConditions PhysicsAnalysis/AnalysisCommon/AnalysisTools PhysicsAnalysis/AnalysisTrigger/AnalysisTriggerEvent @@ -45,7 +46,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Boost COMPONENTS filesystem thread system ) find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Graf Gpad Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf3d Html Postscript Gui GX11TTF GX11 ) # tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake @@ -57,15 +57,15 @@ atlas_add_library( MissingETPerformanceLib src/*.cxx PUBLIC_HEADERS MissingETPerformance INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} CaloConditions CaloEvent AthenaBaseComps SGTools GaudiKernel GeneratorObjects LArRecConditions AnalysisTriggerEvent McParticleEvent JetEvent JetUtils MissingETEvent muonEvent Particle egammaEvent TrigCaloEvent TrigInDetEvent TrigMissingEtEvent TrigMuonEvent StoreGateLib SGtests AthAnalysisToolsLib MissingETGoodnessLib TrigDecisionToolLib - PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPMC_LIBRARIES} AthenaKernel CaloGeoHelpers FourMom FourMomUtils xAODEventInfo TruthHelper tauEvent VxVertex TrigConfL1Data ) + PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} AtlasHepMCLib AthenaKernel CaloGeoHelpers FourMom FourMomUtils xAODEventInfo TruthHelper tauEvent VxVertex TrigConfL1Data ) atlas_add_component( MissingETPerformance src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloConditions CaloEvent AthenaBaseComps SGTools StoreGateLib SGtests GaudiKernel GeneratorObjects LArRecConditions AthAnalysisToolsLib AnalysisTriggerEvent McParticleEvent JetEvent JetUtils MissingETEvent MissingETGoodnessLib muonEvent Particle egammaEvent TrigDecisionToolLib TrigCaloEvent TrigInDetEvent TrigMissingEtEvent TrigMuonEvent AthenaKernel CaloGeoHelpers FourMom FourMomUtils xAODEventInfo TruthHelper tauEvent VxVertex TrigConfL1Data MissingETPerformanceLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib CaloConditions CaloEvent AthenaBaseComps SGTools StoreGateLib SGtests GaudiKernel GeneratorObjects LArRecConditions AthAnalysisToolsLib AnalysisTriggerEvent McParticleEvent JetEvent JetUtils MissingETEvent MissingETGoodnessLib muonEvent Particle egammaEvent TrigDecisionToolLib TrigCaloEvent TrigInDetEvent TrigMissingEtEvent TrigMuonEvent AthenaKernel CaloGeoHelpers FourMom FourMomUtils xAODEventInfo TruthHelper tauEvent VxVertex TrigConfL1Data MissingETPerformanceLib ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/Reconstruction/MissingETPerformance/src/MissingETMuonData.cxx b/Reconstruction/MissingETPerformance/src/MissingETMuonData.cxx index 51f04244a0e562679a19cef4ab9a4442215ef802..014a9c3f5ea0e54a6327d69c2a42a2c6f8d19066 100644 --- a/Reconstruction/MissingETPerformance/src/MissingETMuonData.cxx +++ b/Reconstruction/MissingETPerformance/src/MissingETMuonData.cxx @@ -7,8 +7,8 @@ #include "JetEvent/Jet.h" #include "JetEvent/JetCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenNonInteracting.h" diff --git a/Reconstruction/MissingETPerformance/src/MuonTool.cxx b/Reconstruction/MissingETPerformance/src/MuonTool.cxx index 2b92c46bc8efff28aa1389ac00a6568569cf4451..1865325d41fd848aa9548d6ecefe2f70cc82a9be 100644 --- a/Reconstruction/MissingETPerformance/src/MuonTool.cxx +++ b/Reconstruction/MissingETPerformance/src/MuonTool.cxx @@ -22,9 +22,9 @@ //HEPMC stuff #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "TruthHelper/IsGenStable.h" #include "TruthHelper/IsGenNonInteracting.h" #include "TruthHelper/GenAccessIO.h" diff --git a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/CMakeLists.txt b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/CMakeLists.txt index 20804d5431a84718c4e1248dad8ac158f2ce50ba..b71f6720cf84f3f3ac056e5562130719f5b29347 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/CMakeLists.txt +++ b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/CMakeLists.txt @@ -55,17 +55,17 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTrackSummary Tracking/TrkExtrapolation/TrkExInterfaces - Tracking/TrkTools/TrkToolInterfaces ) + Tracking/TrkTools/TrkToolInterfaces + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( MuonCombinedBaseTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} CaloEvent AthLinks AthenaBaseComps Identifier EventPrimitives FourMomUtils xAODCaloEvent xAODEventInfo xAODMuon xAODTracking xAODTruth GaudiKernel MagFieldInterfaces MuonReadoutGeometry MuonIdHelpersLib MuonCompetingRIOsOnTrack MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonSegmentMakerUtils MuonSelectorToolsLib ICaloTrkMuIdTools MuidInterfaces MuonCombinedEvent MuonCombinedToolInterfaces muonEvent MuidEvent ParticleTruth RecoToolInterfaces TrackToCaloLib TrkGeometry TrkSurfaces TrkCaloExtension TrkEventPrimitives TrkEventUtils TrkMaterialOnTrack TrkParameters TrkParametersIdentificationHelpers TrkSegment TrkTrack TrkTrackSummary TrkExInterfaces TrkToolInterfaces BeamSpotConditionsData ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib CaloEvent AthLinks AthenaBaseComps Identifier EventPrimitives FourMomUtils xAODCaloEvent xAODEventInfo xAODMuon xAODTracking xAODTruth GaudiKernel MagFieldInterfaces MuonReadoutGeometry MuonIdHelpersLib MuonCompetingRIOsOnTrack MuonRIO_OnTrack MuonSegment MuonRecHelperToolsLib MuonRecToolInterfaces MuonSegmentMakerUtils MuonSelectorToolsLib ICaloTrkMuIdTools MuidInterfaces MuonCombinedEvent MuonCombinedToolInterfaces muonEvent MuidEvent ParticleTruth RecoToolInterfaces TrackToCaloLib TrkGeometry TrkSurfaces TrkCaloExtension TrkEventPrimitives TrkEventUtils TrkMaterialOnTrack TrkParameters TrkParametersIdentificationHelpers TrkSegment TrkTrack TrkTrackSummary TrkExInterfaces TrkToolInterfaces BeamSpotConditionsData ) diff --git a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCaloTagTool.cxx b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCaloTagTool.cxx index 636bebc61e50295b12fb6b993959754973753a1c..cb54becfc0e1bb6836e301706bce9ebdf660701c 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCaloTagTool.cxx +++ b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCaloTagTool.cxx @@ -34,8 +34,8 @@ #include "xAODTruth/TruthParticle.h" // --- HepMC Includes --- -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Vector/LorentzVector.h" #include <cmath> diff --git a/Reconstruction/MuonIdentification/MuonCombinedTestTools/src/MuonTrackTagTestTool.cxx b/Reconstruction/MuonIdentification/MuonCombinedTestTools/src/MuonTrackTagTestTool.cxx index 8a99f30bdfa25793d40a323d036a4f838c35e557..b54fdd21c05a0f9a03eb448b91c338f379ed9945 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedTestTools/src/MuonTrackTagTestTool.cxx +++ b/Reconstruction/MuonIdentification/MuonCombinedTestTools/src/MuonTrackTagTestTool.cxx @@ -19,7 +19,7 @@ #ifdef MUONCOMBDEBUG #include "TrkTruthData/TrackTruth.h" #include "TrkTruthData/TrackTruthCollection.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #endif using namespace MuonCombined; diff --git a/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p1_test.cxx b/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p1_test.cxx index b9365fda41e3b7caa66f1d1774ce35fcf726d6c1..910ed5e112962347213d32a7953f1e406850c836 100644 --- a/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p1_test.cxx +++ b/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p1_test.cxx @@ -18,8 +18,8 @@ #include "SGTools/TestStore.h" #include "TestTools/leakcheck.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p2_test.cxx b/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p2_test.cxx index 16620b0e2af99e0163c32b32d707528eeab87810..d218af9130a0d24acdeae240bfdbf538859f0ad9 100644 --- a/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p2_test.cxx +++ b/Reconstruction/TrackParticleTruthTPCnv/test/TrackParticleTruthCollectionCnv_p2_test.cxx @@ -17,8 +17,8 @@ #include "ParticleTruth/TrackParticleTruthCollection.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITrajectoryTool.h b/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITrajectoryTool.h index 8b7d89f280784c38840531871cef633013ec7352..12045f9e33f12dc36d3960196361ff598bcad7b6 100644 --- a/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITrajectoryTool.h +++ b/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITrajectoryTool.h @@ -27,10 +27,7 @@ Abstract base class for TrajectoryTool AlgTool class FastField; class PerigeeParameters; class TrackParameters; -namespace HepMC -{ - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace iPat { diff --git a/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITruthParameters.h b/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITruthParameters.h index 8f6efc96170b0ab406bb91108b9072bc8e4fe2f7..234ef43245caa278e7ccb0944c1aa7e2ef5bd36e 100755 --- a/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITruthParameters.h +++ b/Reconstruction/iPat/iPatInterfaces/iPatInterfaces/ITruthParameters.h @@ -26,11 +26,7 @@ Abstract base class for TruthParameters AlgTool class PerigeeParameters; class TrackParameters; -namespace HepMC -{ - class GenParticle; -} - +#include "AtlasHepMC/GenParticle_fwd.h" class ITruthParameters: virtual public IAlgTool { public: diff --git a/Reconstruction/iPat/iPatTruthTrajectory/CMakeLists.txt b/Reconstruction/iPat/iPatTruthTrajectory/CMakeLists.txt index c3fc30a718de840c6866cea0999b62e8831b6923..f75b270d248c9763ad35497c2cde06dbf298be98 100644 --- a/Reconstruction/iPat/iPatTruthTrajectory/CMakeLists.txt +++ b/Reconstruction/iPat/iPatTruthTrajectory/CMakeLists.txt @@ -16,19 +16,19 @@ atlas_depends_on_subdirs( PUBLIC Generators/GenAnalysisTools/TruthTools Generators/GenInterfaces Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkDetDescr/TrkSurfaces Tracking/TrkExtrapolation/TrkExInterfaces ) # External dependencies: -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( iPatTruthTrajectory src/TruthParameters.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel iPatInterfaces iPatTrackParameters TrkExUtils GeneratorObjects TrkSurfaces TrkExInterfaces ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel iPatInterfaces iPatTrackParameters TrkExUtils GeneratorObjects TrkSurfaces TrkExInterfaces ) # Install files from the package: atlas_install_headers( iPatTruthTrajectory ) diff --git a/Reconstruction/iPat/iPatTruthTrajectory/iPatTruthTrajectory/TruthParameters.h b/Reconstruction/iPat/iPatTruthTrajectory/iPatTruthTrajectory/TruthParameters.h index 64d823361476220a758d6a163316e5b4fe25f7fe..963db93f57debe7ec3a7937ed454e4806697e543 100755 --- a/Reconstruction/iPat/iPatTruthTrajectory/iPatTruthTrajectory/TruthParameters.h +++ b/Reconstruction/iPat/iPatTruthTrajectory/iPatTruthTrajectory/TruthParameters.h @@ -13,7 +13,7 @@ //<<<<<< INCLUDES >>>>>> #include "AthenaBaseComps/AthAlgTool.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "HepPDT/ParticleDataTable.hh" #include "GaudiKernel/ToolHandle.h" #include "TrkExUtils/TrackSurfaceIntersection.h" diff --git a/Simulation/FastShower/FastCaloSim/CMakeLists.txt b/Simulation/FastShower/FastCaloSim/CMakeLists.txt index 916d464d5ca11f82a95c169dd9d435c1c2c65a7e..0175d1d74fe7f19ac55eba7ed5fe4e1253085058 100644 --- a/Simulation/FastShower/FastCaloSim/CMakeLists.txt +++ b/Simulation/FastShower/FastCaloSim/CMakeLists.txt @@ -79,14 +79,14 @@ atlas_add_library( FastCaloSimLib ${FastCaloSimLibDictSource} PUBLIC_HEADERS FastCaloSim INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} CaloEvent CaloIdentifier AthenaBaseComps AthenaKernel Identifier GaudiKernel LArRecEvent TileEvent TrkEventPrimitives TrkParameters TrkExInterfaces CaloDetDescrLib StoreGateLib SGtests PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthAllocators AthenaPoolUtilities AtlasDetDescr GeoPrimitives EventKernel NavFourMom GeneratorObjects TruthUtils FastCaloSimAthenaPool PathResolver TrkGeometry TrkSurfaces TrkMaterialOnTrack ) atlas_add_component( FastCaloSim src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} CaloDetDescrLib CaloEvent CaloIdentifier AthenaBaseComps AthenaKernel StoreGateLib SGtests Identifier GaudiKernel LArRecEvent TileEvent TrkEventPrimitives TrkParameters TrkExInterfaces AthAllocators AthenaPoolUtilities AtlasDetDescr GeoPrimitives EventKernel NavFourMom GeneratorObjects TruthUtils FastCaloSimAthenaPool PathResolver TrkGeometry TrkSurfaces TrkMaterialOnTrack FastCaloSimLib ) # Install files from the package: diff --git a/Simulation/FastShower/FastCaloSim/src/obsolete/CBNTAA_DetailedCellInfo.cxx b/Simulation/FastShower/FastCaloSim/src/obsolete/CBNTAA_DetailedCellInfo.cxx index 437b4a663434d5af6190bc583e022eed400f303b..28a94ffac22d3898be609d1f61ae3d73b5a17818 100644 --- a/Simulation/FastShower/FastCaloSim/src/obsolete/CBNTAA_DetailedCellInfo.cxx +++ b/Simulation/FastShower/FastCaloSim/src/obsolete/CBNTAA_DetailedCellInfo.cxx @@ -39,7 +39,7 @@ #include "TruthHelper/GenAll.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GaudiKernel/IPartPropSvc.h" #include "HepPDT/ParticleData.hh" diff --git a/Simulation/FastShower/FastCaloSim/src/obsolete/FastCaloSimIsGenSimulStable.cxx b/Simulation/FastShower/FastCaloSim/src/obsolete/FastCaloSimIsGenSimulStable.cxx index 67fe500a5ad54d5e53b3ef0a3d7f4c607096dc9d..2117d049ed5aef61386f74a494d302f3a0422b55 100755 --- a/Simulation/FastShower/FastCaloSim/src/obsolete/FastCaloSimIsGenSimulStable.cxx +++ b/Simulation/FastShower/FastCaloSim/src/obsolete/FastCaloSimIsGenSimulStable.cxx @@ -5,8 +5,8 @@ #include <vector> #include "FastCaloSim/FastCaloSimIsGenSimulStable.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" using std::vector; using std::abs; diff --git a/Simulation/G4Atlas/G4AtlasAlg/CMakeLists.txt b/Simulation/G4Atlas/G4AtlasAlg/CMakeLists.txt index 3510ec858b95c29ffaa7313333fc0a502915496e..4bd638d877009ae2b56f12792572cb759818d592 100644 --- a/Simulation/G4Atlas/G4AtlasAlg/CMakeLists.txt +++ b/Simulation/G4Atlas/G4AtlasAlg/CMakeLists.txt @@ -34,14 +34,14 @@ atlas_add_library( G4AtlasAlgLib src/*.cxx PUBLIC_HEADERS G4AtlasAlg INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - ${HEPMC_INCLUDE_DIRS} + LINK_LIBRARIES ${GEANT4_LIBRARIES} ${EIGEN_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel GaudiKernel G4AtlasInterfaces SGTools StoreGateLib SGtests EventInfo GeneratorObjects MCTruthBaseLib ) # Component(s) in the package: atlas_add_component( G4AtlasAlg src/components/*.cxx PUBLIC_HEADERS G4AtlasAlg - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${GEANT4_LIBRARIES} ${EIGEN_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel GaudiKernel G4AtlasInterfaces G4AtlasAlgLib SGTools StoreGateLib SGtests EventInfo GeneratorObjects MCTruthBaseLib ) #Test G4AtlasAlg diff --git a/Simulation/G4Atlas/G4AtlasTests/CMakeLists.txt b/Simulation/G4Atlas/G4AtlasTests/CMakeLists.txt index 70bbbadc14f248d3a96526bf92fbcb3d020b3dde..307695cfc60d73ff815c56dc281fda6aebd3dbf9 100644 --- a/Simulation/G4Atlas/G4AtlasTests/CMakeLists.txt +++ b/Simulation/G4Atlas/G4AtlasTests/CMakeLists.txt @@ -49,7 +49,7 @@ find_package( XercesC ) # Component(s) in the package: atlas_add_component( G4AtlasTests src/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps GaudiKernel CaloDetDescrLib CaloIdentifier CaloSimEvent AthenaKernel StoreGateLib SGtests GeoAdaptors GeoPrimitives Identifier EventInfo ALFA_SimEv LUCID_SimEvent ZDC_SimEvent GeneratorObjects InDetSimEvent LArSimEvent MuonReadoutGeometry MuonIdHelpersLib MuonSimEvent McParticleEvent G4AtlasToolsLib MCTruth HitManagement TileDetDescr TileIdentifier TileSimEvent ) # Install files from the package: diff --git a/Simulation/G4Extensions/G4ExternalDecay/CMakeLists.txt b/Simulation/G4Extensions/G4ExternalDecay/CMakeLists.txt index ccba67748899ab42c45a680ae40fd8e5eaaf4e0b..28d20a9fb87ffd2add04db31de06e3fc0184faf6 100644 --- a/Simulation/G4Extensions/G4ExternalDecay/CMakeLists.txt +++ b/Simulation/G4Extensions/G4ExternalDecay/CMakeLists.txt @@ -29,7 +29,7 @@ if( MCUTILS_FOUND ) list( APPEND extra_libs ${MCUTILS_LIBRARIES} ) endif() if( HEPMC_FOUND ) - list( APPEND extra_includes ${HEPMC_INCLUDE_DIRS} ) + list( APPEND extra_includes ) list( APPEND extra_libs AtlasHepMCLib ) endif() @@ -39,7 +39,7 @@ atlas_add_library( G4ExternalDecay src/*.cxx PUBLIC_HEADERS G4ExternalDecay INCLUDE_DIRS ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${LHAPDF_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${PYTHIA8_INCLUDE_DIRS} ${extra_includes} - PRIVATE_INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} ${PYTHIA8_LIBRARIES} ${LHAPDF_LIBRARIES} ${GEANT4_LIBRARIES} Pythia8_iLib ${extra_libs} PRIVATE_LINK_LIBRARIES AtlasHepMCLib ) diff --git a/Simulation/G4Sim/MCTruth/CMakeLists.txt b/Simulation/G4Sim/MCTruth/CMakeLists.txt index 4dc85f6995a60d4788d9e882a99a3174adf3cc63..4343bfbaf45729c1c339bdd5edb50f62a02bf491 100644 --- a/Simulation/G4Sim/MCTruth/CMakeLists.txt +++ b/Simulation/G4Sim/MCTruth/CMakeLists.txt @@ -23,7 +23,7 @@ find_package( XercesC ) atlas_add_library( MCTruth src/*.cxx PUBLIC_HEADERS MCTruth - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel GeneratorObjects PRIVATE_LINK_LIBRARIES ISF_Event SimHelpers ) diff --git a/Simulation/G4Sim/MCTruthBase/CMakeLists.txt b/Simulation/G4Sim/MCTruthBase/CMakeLists.txt index 7400360b76ed4de6815fd1d478dc1af7ee476c27..ffe5e7f3d062d26e9d55d13187e479dabf5418f8 100644 --- a/Simulation/G4Sim/MCTruthBase/CMakeLists.txt +++ b/Simulation/G4Sim/MCTruthBase/CMakeLists.txt @@ -31,7 +31,7 @@ find_package( XercesC ) atlas_add_library( MCTruthBaseLib src/*.cxx PUBLIC_HEADERS MCTruthBase - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel GaudiKernel StoreGateLib SGtests G4AtlasToolsLib PRIVATE_LINK_LIBRARIES AthenaBaseComps @@ -41,7 +41,7 @@ atlas_add_library( MCTruthBaseLib atlas_add_component( MCTruthBase src/components/*.cxx - INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel GaudiKernel diff --git a/Simulation/ISF/ISF_Core/ISF_Event/CMakeLists.txt b/Simulation/ISF/ISF_Core/ISF_Event/CMakeLists.txt index 57c9aeb9d1887d27191b94baba0cc3a653d4fd71..e1acf8b6debc89ee2df94bd63b74d2f9c62ca928 100644 --- a/Simulation/ISF/ISF_Core/ISF_Event/CMakeLists.txt +++ b/Simulation/ISF/ISF_Core/ISF_Event/CMakeLists.txt @@ -24,12 +24,12 @@ find_package( Eigen ) atlas_add_library( ISF_Event src/*.cxx PUBLIC_HEADERS ISF_Event - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} TestTools AthenaBaseComps AtlasDetDescr GeoPrimitives GeneratorObjects GaudiKernel ) atlas_add_test( ISFParticle_test SOURCES test/ISFParticle_test.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} TestTools AthenaBaseComps AtlasDetDescr GeoPrimitives GeneratorObjects GaudiKernel ISF_Event ) diff --git a/Simulation/ISF/ISF_Core/ISF_Services/CMakeLists.txt b/Simulation/ISF/ISF_Core/ISF_Services/CMakeLists.txt index d31bed16612165cb91d0753d6ef4c029144dac01..57d11d1b07578fc0d42b28050695998e88778a7e 100644 --- a/Simulation/ISF/ISF_Core/ISF_Services/CMakeLists.txt +++ b/Simulation/ISF/ISF_Core/ISF_Services/CMakeLists.txt @@ -47,7 +47,7 @@ find_package( GMock ) atlas_add_component( ISF_Services src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${GEANT4_LIBRARIES} AtlasHepMCLib ${CLHEP_LIBRARIES} ${HEPPDT_LIBRARIES} GaudiKernel CaloIdentifier CaloSimEvent AthenaBaseComps StoreGateLib SGtests AtlasDetDescr GeneratorObjects InDetSimEvent MuonSimEvent G4AtlasInterfaces MCTruth SimHelpers ISF_Event ISF_Interfaces TileSimEvent PmbCxxUtils TruthUtils ) # Tests in the package: @@ -85,7 +85,7 @@ atlas_add_test( TruthSvc_test ${GMOCK_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} - ${HEPMC_INCLUDE_DIRS} + ${CLHEP_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} LINK_LIBRARIES diff --git a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/CMakeLists.txt b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/CMakeLists.txt index 39a45f51d69a7fb7872e59520e3dc0083c846d05..ff49138660cbdc82436dd33d34df844c525c43e6 100644 --- a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/CMakeLists.txt +++ b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/CMakeLists.txt @@ -69,7 +69,7 @@ atlas_add_library( ISF_FastCaloSimParametrizationLib Root/*.cxx src/CaloGeometryFromCaloDDM.cxx src/CaloGeometryLookup.cxx src/CaloGeometry.cxx ${ISF_FastCaloSimParametrizationLibDictSource} PUBLIC_HEADERS ISF_FastCaloSimParametrization - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} PRIVATE_INCLUDE_DIRS ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} AtlasHepMCLib CaloGeoHelpers AthenaBaseComps AthenaKernel Identifier GaudiKernel ISF_Interfaces TrkEventPrimitives TrkParameters TrkExInterfaces CaloDetDescrLib StoreGateLib SGtests TileConditionsLib @@ -78,7 +78,7 @@ atlas_add_library( ISF_FastCaloSimParametrizationLib atlas_add_component( ISF_FastCaloSimParametrization src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} CaloDetDescrLib CaloGeoHelpers AthenaBaseComps AthenaKernel StoreGateLib SGtests Identifier GaudiKernel ISF_Interfaces TrkEventPrimitives TrkParameters TrkExInterfaces CaloEvent CaloIdentifier AthenaPoolUtilities GeoAdaptors EventInfo NavFourMom GeneratorObjects LArSimEvent ISF_Event ISF_FastCaloSimEvent ISF_FastCaloSimInterfaces TileConditionsLib TileDetDescr TileSimEvent TrkGeometry TrkSurfaces TrkMaterialOnTrack ISF_FastCaloSimParametrizationLib ) # Install files from the package: diff --git a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/CMakeLists.txt b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/CMakeLists.txt index 901fe1c71889201fba6ae56fb88a96eaf255db42..0f284499c6d850e39efa6b90bf5b2d7a40cbc911 100644 --- a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/CMakeLists.txt +++ b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/CMakeLists.txt @@ -40,7 +40,7 @@ find_package(lwtnn) atlas_add_component( ISF_FastCaloSimServices src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${LWTNN_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${LWTNN_INCLUDE_DIRS} LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${LWTNN_LIBRARIES} AthenaBaseComps AthenaKernel GaudiKernel IdDictParser ISF_Interfaces TrkEventPrimitives TrkExInterfaces CaloEvent StoreGateLib SGtests NavFourMom GeneratorObjects FastCaloSimLib ISF_Event ISF_FastCaloSimEvent ISF_FastCaloSimInterfaces ISF_FastCaloSimParametrizationLib PathResolver) # Install files from the package: diff --git a/Simulation/ISF/ISF_FastCaloSim/ISF_PunchThroughTools/CMakeLists.txt b/Simulation/ISF/ISF_FastCaloSim/ISF_PunchThroughTools/CMakeLists.txt index 0686e08b1af3c5c576f72e0b05eff513c78606a5..421e23419bcae30472cf40b98086e659e3b6e809 100644 --- a/Simulation/ISF/ISF_FastCaloSim/ISF_PunchThroughTools/CMakeLists.txt +++ b/Simulation/ISF/ISF_FastCaloSim/ISF_PunchThroughTools/CMakeLists.txt @@ -32,7 +32,7 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_component( ISF_PunchThroughTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps AthenaKernel GeoPrimitives ISF_FastCaloSimInterfaces AthContainers GaudiKernel ISF_Event ISF_Interfaces PathResolver ) # Install files from the package: diff --git a/Simulation/ISF/ISF_Fatras/ISF_FatrasRecoTools/CMakeLists.txt b/Simulation/ISF/ISF_Fatras/ISF_FatrasRecoTools/CMakeLists.txt index f054c56b0602b74dea658781750c5e3004e64b5f..059b4cf71a1546c6044f7f62d68b031bbd25a757 100644 --- a/Simulation/ISF/ISF_Fatras/ISF_FatrasRecoTools/CMakeLists.txt +++ b/Simulation/ISF/ISF_Fatras/ISF_FatrasRecoTools/CMakeLists.txt @@ -42,7 +42,7 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_component( ISF_FatrasRecoTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} AtlasHepMCLib AthenaBaseComps GeoPrimitives Identifier ISF_FatrasEvent TrkEventPrimitives TrkParameters TrkSpacePoint TrkTrackSummary TrkToolInterfaces AtlasDetDescr EventPrimitives GaudiKernel InDetIdentifier InDetPrepRawData SiSpacePoint ISF_FatrasDetDescrModel TrkDetElementBase TrkCompetingRIOsOnTrack TrkEventUtils TrkPrepRawData TrkRIO_OnTrack TrkTrack TrkTruthData ) # Install files from the package: diff --git a/Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4/CMakeLists.txt b/Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4/CMakeLists.txt index 88917c813ef851485b3e34325537bd1903963a12..5eb594d7eae713a9f22b598139076a2e3bca5e07 100644 --- a/Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4/CMakeLists.txt +++ b/Simulation/ISF/ISF_Fatras/ISF_FatrasToolsG4/CMakeLists.txt @@ -33,7 +33,7 @@ find_package( XercesC ) atlas_add_component( ISF_FatrasToolsG4 src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} AthenaBaseComps AthenaKernel GaudiKernel ISF_Event ISF_FatrasInterfaces TrkEventPrimitives StoreGateLib SGtests ISF_Interfaces TrkGeometry ) # Install files from the package: diff --git a/Simulation/ISF/ISF_Geant4/ISF_Geant4Event/CMakeLists.txt b/Simulation/ISF/ISF_Geant4/ISF_Geant4Event/CMakeLists.txt index 2d4f2045e7dac26ae457cb3f788d6ad33e69e7a0..6bd2f4d29bef955f6f61190f67c6106ad269f7cf 100644 --- a/Simulation/ISF/ISF_Geant4/ISF_Geant4Event/CMakeLists.txt +++ b/Simulation/ISF/ISF_Geant4/ISF_Geant4Event/CMakeLists.txt @@ -31,7 +31,7 @@ atlas_add_library( ISF_Geant4Event PUBLIC_HEADERS ISF_Geant4Event INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} + ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib @@ -40,7 +40,7 @@ atlas_add_library( ISF_Geant4Event #atlas_add_test(SOURCES # INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} -# ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} +# ${EIGEN_INCLUDE_DIRS} # LINK_LIBRARIES # ${CLHEP_LIBRARIES} AtlasHepMCLib # ${EIGEN_LIBRARIES} ISF_Event SimHelpers GeoPrimitives diff --git a/Simulation/ISF/ISF_Geant4/ISF_Geant4Tools/CMakeLists.txt b/Simulation/ISF/ISF_Geant4/ISF_Geant4Tools/CMakeLists.txt index 37851eb4673e905f428e77b851a110b105476378..6aad927886fd73ca54dcbb11912a9187c7b940d9 100644 --- a/Simulation/ISF/ISF_Geant4/ISF_Geant4Tools/CMakeLists.txt +++ b/Simulation/ISF/ISF_Geant4/ISF_Geant4Tools/CMakeLists.txt @@ -35,7 +35,7 @@ find_package( XercesC ) atlas_add_component( ISF_Geant4Tools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib ${GEANT4_LIBRARIES} ${EIGEN_LIBRARIES} AthenaKernel GaudiKernel G4AtlasInterfaces AthenaBaseComps StoreGateLib SGtests AtlasDetDescr GeneratorObjects G4AtlasToolsLib G4AtlasAlgLib MCTruth SimHelpers ISF_Event ISF_Interfaces ISF_Geant4Event ) # Install files from the package: diff --git a/Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/CMakeLists.txt b/Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/CMakeLists.txt index 835f2bbc15aa2c8ab4ee82488f0295c45ffa0b8b..78f249afa983d22f9955f653f2b9772d73bc6b42 100644 --- a/Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/CMakeLists.txt +++ b/Simulation/ISF/ISF_HepMC/ISF_HepMC_Tools/CMakeLists.txt @@ -29,25 +29,25 @@ find_package( GMock ) atlas_add_component( ISF_HepMC_Tools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib GaudiKernel AtlasDetDescr AthenaBaseComps TruthUtils ISF_Event ISF_Interfaces PathResolver ) # Tests atlas_add_test( GenParticleGenericFilter_test SOURCES test/GenParticleGenericFilter_test.cxx src/GenParticleGenericFilter.cxx - INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} LINK_LIBRARIES ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} AtlasHepMCLib AthenaBaseComps ) # Tests atlas_add_test( GenParticleInteractingFilter_test SOURCES test/GenParticleInteractingFilter_test.cxx src/GenParticleInteractingFilter.cxx - INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} LINK_LIBRARIES ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} AtlasHepMCLib AthenaBaseComps TruthUtils ) # Tests atlas_add_test( GenParticleLifetimeFilter_test SOURCES test/GenParticleLifetimeFilter_test.cxx src/GenParticleLifetimeFilter.cxx - INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS} LINK_LIBRARIES ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} AtlasHepMCLib AthenaBaseComps TruthUtils ) # Install files from the package: diff --git a/Simulation/ISF/ISF_SimulationSelectors/CMakeLists.txt b/Simulation/ISF/ISF_SimulationSelectors/CMakeLists.txt index 96ddeaf336b8c5051baa12b81b93ca2d0cb8374d..3e6f6364606d91c019381f49b02f925b41731cc2 100644 --- a/Simulation/ISF/ISF_SimulationSelectors/CMakeLists.txt +++ b/Simulation/ISF/ISF_SimulationSelectors/CMakeLists.txt @@ -22,7 +22,7 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_component( ISF_SimulationSelectors src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib GaudiKernel BarcodeServicesLib ISF_Event ISF_Interfaces ) # Install files from the package: diff --git a/Simulation/Tools/CaloSamplingFractionAnalysis/CMakeLists.txt b/Simulation/Tools/CaloSamplingFractionAnalysis/CMakeLists.txt index 27aabee14e3ec6afe578704e62571a834e1072c7..79c27a60b40f628bcab172367786753ac7ff36e1 100644 --- a/Simulation/Tools/CaloSamplingFractionAnalysis/CMakeLists.txt +++ b/Simulation/Tools/CaloSamplingFractionAnalysis/CMakeLists.txt @@ -34,7 +34,7 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread Table MathMore atlas_add_component( CaloSamplingFractionAnalysis src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib GaudiKernel CaloDetDescrLib CaloIdentifier CaloSimEvent CaloEvent AthenaBaseComps GeoAdaptors EventInfo LArSimEvent TileDetDescr TileSimEvent ) # Install files from the package: diff --git a/Simulation/Tools/HitAnalysis/CMakeLists.txt b/Simulation/Tools/HitAnalysis/CMakeLists.txt index 0ca5a408303b6bf59c897b250cd228b2dc734c53..c5755f260819e0b1d209c3f02c15a6866698985d 100644 --- a/Simulation/Tools/HitAnalysis/CMakeLists.txt +++ b/Simulation/Tools/HitAnalysis/CMakeLists.txt @@ -40,7 +40,7 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread Table MathMore atlas_add_component( HitAnalysis src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib GaudiKernel CaloDetDescrLib CaloIdentifier CaloSimEvent AthenaBaseComps GeoAdaptors EventInfo AFP_SimEv ALFA_SimEv LUCID_SimEvent ZDC_SimEvent GeneratorObjects InDetSimEvent LArSimEvent MuonSimEvent TileDetDescr TileSimEvent ) # Install files from the package: diff --git a/Simulation/Tools/McEventCollectionFilter/CMakeLists.txt b/Simulation/Tools/McEventCollectionFilter/CMakeLists.txt index a8fa91bcf9ce6259f0a9527f027c8875cbab61ab..81c0bc06d556253f10fc67c37e8eda619177a7e9 100644 --- a/Simulation/Tools/McEventCollectionFilter/CMakeLists.txt +++ b/Simulation/Tools/McEventCollectionFilter/CMakeLists.txt @@ -23,14 +23,14 @@ find_package( Eigen ) atlas_add_library( McEventCollectionFilterLib src/*.cxx NO_PUBLIC_HEADERS - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES StoreGateLib SGtests PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps GeoPrimitives GaudiKernel GeneratorObjects InDetSimEvent MuonSimEvent ) atlas_add_component( McEventCollectionFilter src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib ${EIGEN_LIBRARIES} AthenaBaseComps StoreGateLib SGtests GeoPrimitives GaudiKernel GeneratorObjects InDetSimEvent MuonSimEvent McEventCollectionFilterLib ) atlas_install_python_modules( python/*.py ) diff --git a/Simulation/TruthJiveXML/CMakeLists.txt b/Simulation/TruthJiveXML/CMakeLists.txt index 51d325b1eb1bbd1bf7fd35700a9c1f69ba4f9afa..fe2785555abb040e21df9d822e1926f9b2da93dc 100644 --- a/Simulation/TruthJiveXML/CMakeLists.txt +++ b/Simulation/TruthJiveXML/CMakeLists.txt @@ -25,7 +25,7 @@ find_package( HepPDT ) atlas_add_component( TruthJiveXML src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel JiveXMLLib StoreGateLib SGtests EventPrimitives GeneratorObjects ) # Install files from the package: diff --git a/Tracking/TrkEvent/TrkEventUtils/TrkEventUtils/InverseTruthMap.h b/Tracking/TrkEvent/TrkEventUtils/TrkEventUtils/InverseTruthMap.h index 89db27beca2d969f670152441ce31562305beabe..d33cee3605199d86621cb4cc9fb540be135fef7e 100755 --- a/Tracking/TrkEvent/TrkEventUtils/TrkEventUtils/InverseTruthMap.h +++ b/Tracking/TrkEvent/TrkEventUtils/TrkEventUtils/InverseTruthMap.h @@ -11,7 +11,7 @@ #include <map> -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { /** diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p2_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p2_test.cxx index 62876f04a91c6cc6f6d2cf7b1da926d7928fead3..8ad82cc7c8f6eeaa68e40885357d229df131ea27 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p2_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p2_test.cxx @@ -17,8 +17,8 @@ #include "StoreGate/StoreGateSvc.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p3_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p3_test.cxx index 129ecfe4178ef5d46cf0a11af5351e027db8a465..9be3a0ce50954869b2ddcb4d79ba8a2e93c301dd 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p3_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/PRD_MultiTruthCollectionCnv_p3_test.cxx @@ -17,8 +17,8 @@ #include "StoreGate/StoreGateSvc.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p1_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p1_test.cxx index d8dc05d3765e50e20d0faa20aea9e590cfe104c7..c361e094043460569689858394220358bce72a5e 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p1_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p1_test.cxx @@ -16,8 +16,8 @@ #include "TrkTruthData/TrackTruthCollection.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p2_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p2_test.cxx index 27eb48c3bdcb7acfee6d9d2975c4ab04f3131399..3693284104fcd3a4fcfff59d18ef6cbeea1020f6 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p2_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TrackTruthCollectionCnv_p2_test.cxx @@ -16,8 +16,8 @@ #include "TrkTruthData/TrackTruthCollection.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p1_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p1_test.cxx index a934c5d72a0c80395bd69ba5cf0e23acb8932422..07186551b3c836527a33052756b8a3f1e09e235a 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p1_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p1_test.cxx @@ -16,8 +16,8 @@ #include "TrkTruthData/TruthTrajectory.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p2_test.cxx b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p2_test.cxx index 61db3c83735ab38efe375eee3056faa7cc099a98..cc56edca571cd96ff08c32a5302dfc1568f92cd5 100644 --- a/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p2_test.cxx +++ b/Tracking/TrkEventCnv/TrkTruthTPCnv/test/TruthTrajectoryCnv_p2_test.cxx @@ -16,8 +16,8 @@ #include "TrkTruthData/TruthTrajectory.h" #include "SGTools/TestStore.h" #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include <cassert> #include <iostream> diff --git a/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.cxx b/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.cxx index 8f830ead06b819f4414d4e65def4a8f258538082..a33d2344ffe7b84679a065853a23a4bafc8f7031 100644 --- a/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.cxx +++ b/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.cxx @@ -6,8 +6,8 @@ #include "GeneratorObjects/HepMcParticleLink.h" #include "GaudiKernel/ITHistSvc.h" #include "TTree.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "InDetPrepRawData/SCT_Cluster.h" #include "InDetPrepRawData/PixelCluster.h" @@ -18,7 +18,7 @@ #include "InDetPrepRawData/SCT_ClusterContainer.h" #include "InDetPrepRawData/PixelClusterContainer.h" #include "InDetPrepRawData/TRT_DriftCircle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "GaudiKernel/IPartPropSvc.h" #include "TrkToolInterfaces/ITruthToTrack.h" #include "GeneratorObjects/McEventCollection.h" diff --git a/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.h b/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.h index 8aba573b5ab3be32a5ba7e0575bd2c74b5cb130d..6f8f787a8b2d1820813706c0e8380f37981b2ecd 100644 --- a/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.h +++ b/Tracking/TrkTools/TrkAmbiguityProcessor/src/SimpleAmbiguityProcessorToolDebug.h @@ -19,7 +19,7 @@ typedef HepGeom::Point3D<double> HepPoint3D; #include "TrkTruthData/TrackTruthCollection.h" #include "xAODEventInfo/EventInfo.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "TrkTruthData/PRD_MultiTruthCollection.h" typedef std::map<const Trk::Track*, const Trk::Track*> TrackCollectionConnection; #ifndef SIMPLEAMBIGPROCDEBUGCODE_CLASS_DEF diff --git a/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthToTrack.h b/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthToTrack.h index 32c56c0e0deca664e4d927f130093e3fffebc9a6..ff2438d11c26c3bfb67a77c661bd0f8eba823351 100644 --- a/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthToTrack.h +++ b/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthToTrack.h @@ -20,7 +20,7 @@ // FIXME: namespace Trk { TrackParameters; } #include "TrkParameters/TrackParameters.h" -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" #include "xAODTruth/TruthParticle.h" //namespace xAOD { class TruthParticle; } diff --git a/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthTrajectoryBuilder.h b/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthTrajectoryBuilder.h index 973e022bd5a7e3de71b317c0d66393bb5aa7393b..61e708ffe730eb9a70a435936e12d8ac139059b4 100644 --- a/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthTrajectoryBuilder.h +++ b/Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITruthTrajectoryBuilder.h @@ -16,7 +16,7 @@ // Forard declarations class TruthTrajectory; -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/CMakeLists.txt b/Tracking/TrkTools/TrkTruthCreatorTools/CMakeLists.txt index d40b54945211bd7e980f841148881436ceb92f25..398833ee9b02e9482809c32e5f9cb06286aa4064 100644 --- a/Tracking/TrkTools/TrkTruthCreatorTools/CMakeLists.txt +++ b/Tracking/TrkTools/TrkTruthCreatorTools/CMakeLists.txt @@ -17,6 +17,7 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkTools/TrkToolInterfaces PRIVATE Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkEvent/TrkCompetingRIOsOnTrack Tracking/TrkEvent/TrkMeasurementBase Tracking/TrkEvent/TrkPrepRawData @@ -24,14 +25,13 @@ atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkTrack ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrkTruthCreatorTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps AthLinks AthContainers AtlasDetDescr GaudiKernel TrkEventUtils TrkTruthData TrkToolInterfaces GeneratorObjects TrkCompetingRIOsOnTrack TrkMeasurementBase TrkPrepRawData TrkRIO_OnTrack TrkTrack ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps AthLinks AthContainers AtlasDetDescr GaudiKernel TrkEventUtils TrkTruthData TrkToolInterfaces GeneratorObjects TrkCompetingRIOsOnTrack TrkMeasurementBase TrkPrepRawData TrkRIO_OnTrack TrkTrack ) # Install files from the package: atlas_install_headers( TrkTruthCreatorTools ) diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/DecayInFlyTruthTrajectoryBuilder.h b/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/DecayInFlyTruthTrajectoryBuilder.h index f62fba752140e278b02676d36a4880e36da8e658..9084aebc13f2bfe429ee4fff0338839591d559f2 100644 --- a/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/DecayInFlyTruthTrajectoryBuilder.h +++ b/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/DecayInFlyTruthTrajectoryBuilder.h @@ -10,7 +10,7 @@ #include "TrkToolInterfaces/ITruthTrajectoryBuilder.h" #include "AthenaBaseComps/AthAlgTool.h" -namespace HepMC { class GenVertex; } +#include "AtlasHepMC/GenVertex_fwd.h" namespace Trk { diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/ElasticTruthTrajectoryBuilder.h b/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/ElasticTruthTrajectoryBuilder.h index c2502ff1fbaddfe54798c5df453b89b39dda79a2..2a4fe184040fe0368b87dec06d41fa4ba1961473 100644 --- a/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/ElasticTruthTrajectoryBuilder.h +++ b/Tracking/TrkTools/TrkTruthCreatorTools/TrkTruthCreatorTools/ElasticTruthTrajectoryBuilder.h @@ -10,7 +10,7 @@ #include "TrkToolInterfaces/ITruthTrajectoryBuilder.h" #include "AthenaBaseComps/AthAlgTool.h" -namespace HepMC { class GenVertex; } +#include "AtlasHepMC/GenVertex_fwd.h" namespace Trk { diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/src/DecayInFlyTruthTrajectoryBuilder.cxx b/Tracking/TrkTools/TrkTruthCreatorTools/src/DecayInFlyTruthTrajectoryBuilder.cxx index bf98d4704c9e45c5422b1905a9c790449f270703..1a77376c8404b5a6a9374dd531727b01907f0ac5 100644 --- a/Tracking/TrkTools/TrkTruthCreatorTools/src/DecayInFlyTruthTrajectoryBuilder.cxx +++ b/Tracking/TrkTools/TrkTruthCreatorTools/src/DecayInFlyTruthTrajectoryBuilder.cxx @@ -8,8 +8,8 @@ #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "AthContainers/DataVector.h" diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/src/DetailedTrackTruthBuilder.cxx b/Tracking/TrkTools/TrkTruthCreatorTools/src/DetailedTrackTruthBuilder.cxx index 2a9e17a34dd68ecb46a2af5430cfc862a9a2a848..48d6ca1b9efbbf27dd4fc02359bc34e7b72ce059 100755 --- a/Tracking/TrkTools/TrkTruthCreatorTools/src/DetailedTrackTruthBuilder.cxx +++ b/Tracking/TrkTools/TrkTruthCreatorTools/src/DetailedTrackTruthBuilder.cxx @@ -7,8 +7,8 @@ #include "TrkTruthData/DetailedTrackTruth.h" #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "GeneratorObjects/McEventCollection.h" diff --git a/Tracking/TrkTools/TrkTruthCreatorTools/src/ElasticTruthTrajectoryBuilder.cxx b/Tracking/TrkTools/TrkTruthCreatorTools/src/ElasticTruthTrajectoryBuilder.cxx index ff1b382a17c046027e543827cc21dd342253c4bf..be2b26513633c4e512218be24255bec0cea5eedc 100644 --- a/Tracking/TrkTools/TrkTruthCreatorTools/src/ElasticTruthTrajectoryBuilder.cxx +++ b/Tracking/TrkTools/TrkTruthCreatorTools/src/ElasticTruthTrajectoryBuilder.cxx @@ -8,8 +8,8 @@ #include "TrkTruthData/TruthTrajectory.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "AthContainers/DataVector.h" diff --git a/Tracking/TrkTools/TrkTruthToTrack/CMakeLists.txt b/Tracking/TrkTools/TrkTruthToTrack/CMakeLists.txt index cd8805c4558ee8b5d5b77ce194d0abb477736b84..72ff7263518bbb6fc594262548e0aae992d339f5 100644 --- a/Tracking/TrkTools/TrkTruthToTrack/CMakeLists.txt +++ b/Tracking/TrkTools/TrkTruthToTrack/CMakeLists.txt @@ -14,18 +14,18 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE Event/xAOD/xAODTruth Simulation/G4Sim/TrackRecord - Tracking/TrkExtrapolation/TrkExInterfaces ) + Tracking/TrkExtrapolation/TrkExInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( TrkTruthToTrack src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel TrkParameters TrkToolInterfaces xAODTruth TrkExInterfaces ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel TrkParameters TrkToolInterfaces xAODTruth TrkExInterfaces ) # Install files from the package: atlas_install_headers( TrkTruthToTrack ) diff --git a/Tracking/TrkTools/TrkTruthToTrack/TrkTruthToTrack/TruthTrackRecordToTrack.h b/Tracking/TrkTools/TrkTruthToTrack/TrkTruthToTrack/TruthTrackRecordToTrack.h index d5ee8457ed042d307409c3f8a4661711c6268871..877e50de410a2d8b35afc6c7fcbe8aa39d318211 100755 --- a/Tracking/TrkTools/TrkTruthToTrack/TrkTruthToTrack/TruthTrackRecordToTrack.h +++ b/Tracking/TrkTools/TrkTruthToTrack/TrkTruthToTrack/TruthTrackRecordToTrack.h @@ -15,7 +15,7 @@ #include "TrackRecord/TrackRecordCollection.h" namespace HepPDT { class ParticleDataTable; } -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTools/TrkTruthToTrack/src/TruthToTrack.cxx b/Tracking/TrkTools/TrkTruthToTrack/src/TruthToTrack.cxx index 7f9dd987d190104d4a8c2f1841bced0082f7e0a5..17b82caa12b4c899dea97fc02d0c4dde0be479ce 100755 --- a/Tracking/TrkTools/TrkTruthToTrack/src/TruthToTrack.cxx +++ b/Tracking/TrkTools/TrkTruthToTrack/src/TruthToTrack.cxx @@ -10,8 +10,8 @@ #include "GaudiKernel/IPartPropSvc.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "xAODTruth/TruthParticle.h" #include "xAODTruth/TruthVertex.h" diff --git a/Tracking/TrkTools/TrkTruthToTrack/src/TruthTrackRecordToTrack.cxx b/Tracking/TrkTools/TrkTruthToTrack/src/TruthTrackRecordToTrack.cxx index 2ac0eb397dbccaf7439124f1d2552c431adad5e7..d70cbcfb6aad8e24c4807c07d963bbf0df679164 100755 --- a/Tracking/TrkTools/TrkTruthToTrack/src/TruthTrackRecordToTrack.cxx +++ b/Tracking/TrkTools/TrkTruthToTrack/src/TruthTrackRecordToTrack.cxx @@ -9,8 +9,8 @@ #include "GaudiKernel/IPartPropSvc.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "xAODTruth/TruthParticle.h" #include "xAODTruth/TruthVertex.h" diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/CMakeLists.txt b/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/CMakeLists.txt index 533edd39a9aced56c14fe2f78ae7f1b34d793ec9..9288b5a2c159579921291ec5cddedca86c35bfbb 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/CMakeLists.txt +++ b/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/CMakeLists.txt @@ -11,15 +11,15 @@ atlas_depends_on_subdirs( PRIVATE Tracking/TrkEvent/TrkSegment Tracking/TrkEvent/TrkTrack Tracking/TrkTools/TrkToolInterfaces - Tracking/TrkTruthTracks/TrkTruthTrackInterfaces ) + Tracking/TrkTruthTracks/TrkTruthTrackInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrkTruthTrackAlgs src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel TrkSegment TrkTrack TrkToolInterfaces ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps GaudiKernel TrkSegment TrkTrack TrkToolInterfaces ) diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/src/TruthTrackCreation.cxx b/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/src/TruthTrackCreation.cxx index 90a37543b83604862d1cb5fe4078a3e474493fa0..c5f3468e91aee1e8db42d62704d45b9d17d74f92 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/src/TruthTrackCreation.cxx +++ b/Tracking/TrkTruthTracks/TrkTruthTrackAlgs/src/TruthTrackCreation.cxx @@ -14,8 +14,8 @@ #include "TrkTruthTrackInterfaces/PRD_TruthTrajectory.h" #include "TrkToolInterfaces/ITrackSelectorTool.h" // HepMC -#include "HepMC/GenParticle.h" -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/SimpleVector.h" //================ Constructor ================================================= diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryBuilder.h b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryBuilder.h index e936239d168ecc74701d0435408d616dd8e63fac..309d14623515dc70d45915a2e352ff3a53dfc5f3 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryBuilder.h +++ b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryBuilder.h @@ -13,9 +13,7 @@ #include "GaudiKernel/IAlgTool.h" #include "TrkTruthTrackInterfaces/PRD_TruthTrajectory.h" -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryManipulator.h b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryManipulator.h index 33a33f45775df9b195d88d74f4abeb68c988831c..baf67645e0bad1b2e134baa0d2067b0deffa61db 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryManipulator.h +++ b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/IPRD_TruthTrajectoryManipulator.h @@ -14,9 +14,7 @@ #include "TrkTruthTrackInterfaces/PRD_TruthTrajectory.h" -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/PRD_TruthTrajectory.h b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/PRD_TruthTrajectory.h index bfcb7d92e2c3c6d1c77e9d8f6a9c76bf02938626..21ff251f2e43dd3129747a08aa3ed830668a7b0f 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/PRD_TruthTrajectory.h +++ b/Tracking/TrkTruthTracks/TrkTruthTrackInterfaces/TrkTruthTrackInterfaces/PRD_TruthTrajectory.h @@ -10,9 +10,7 @@ #define TRK_TRKTRUTHTRACKS_PRD_TRUTHTRAJECTORY_H 1 -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackTools/CMakeLists.txt b/Tracking/TrkTruthTracks/TrkTruthTrackTools/CMakeLists.txt index 222a52ce393c5d92dd044e802eee366d2a8192f3..cca05367824c1dd999a6ec5c96dd1229d93d1065 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackTools/CMakeLists.txt +++ b/Tracking/TrkTruthTracks/TrkTruthTrackTools/CMakeLists.txt @@ -20,16 +20,16 @@ atlas_depends_on_subdirs( PRIVATE Tracking/TrkExtrapolation/TrkExInterfaces Tracking/TrkFitter/TrkFitterInterfaces Tracking/TrkTools/TrkToolInterfaces - Tracking/TrkTruthTracks/TrkTruthTrackInterfaces ) + Tracking/TrkTruthTracks/TrkTruthTrackInterfaces + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( HepPDT ) # Component(s) in the package: atlas_add_component( TrkTruthTrackTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AtlasDetDescr GaudiKernel TrkSurfaces TrkEventUtils TrkPrepRawData TrkRIO_OnTrack TrkTrack TrkTruthData TrkExInterfaces TrkFitterInterfaces TrkToolInterfaces ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} AtlasHepMCLib AthenaBaseComps AtlasDetDescr GaudiKernel TrkSurfaces TrkEventUtils TrkPrepRawData TrkRIO_OnTrack TrkTrack TrkTruthData TrkExInterfaces TrkFitterInterfaces TrkToolInterfaces ) diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.cxx b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.cxx index 3a33007b05295596ed1cd0bdef0f55f8d6092b83..7b60f9c4c5d8753febe9c5c73af442944d4b9255 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.cxx +++ b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.cxx @@ -16,8 +16,8 @@ // DetectorDescription #include "AtlasDetDescr/AtlasDetectorID.h" // HepMC -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" /** Constructor **/ diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.h b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.h index f5e5e2bbb001b5df3248f16a0974fcbc36aabfd5..3199d6c9ed38d7c6ef22da7037ba8be0badc7f4f 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.h +++ b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/PRD_TruthTrajectoryBuilder.h @@ -21,9 +21,7 @@ class AtlasDetectorID; -namespace HepMC { - class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/TruthTrackBuilder.cxx b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/TruthTrackBuilder.cxx index 252418b051dc5f0d70683c37fa0d934369d72562..d3635339af1c596aaa9e2a97dd37d102f29fee72 100644 --- a/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/TruthTrackBuilder.cxx +++ b/Tracking/TrkTruthTracks/TrkTruthTrackTools/src/TruthTrackBuilder.cxx @@ -25,8 +25,8 @@ #include "GaudiKernel/IPartPropSvc.h" #include "GaudiKernel/SystemOfUnits.h" // HepMC -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "HepPDT/ParticleDataTable.hh" #include "AtlasDetDescr/AtlasDetectorID.h" diff --git a/Tracking/TrkValidation/TrkValAlgs/CMakeLists.txt b/Tracking/TrkValidation/TrkValAlgs/CMakeLists.txt index db278a03a8b0b0d04676d1ec9137815006757db8..eb46684f5997a7bf3a5829bf908fd3b3f23efa7f 100644 --- a/Tracking/TrkValidation/TrkValAlgs/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkValAlgs/CMakeLists.txt @@ -17,6 +17,7 @@ atlas_depends_on_subdirs( PRIVATE DetectorDescription/AtlasDetDescr Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkDetDescr/TrkSurfaces Tracking/TrkEvent/TrkEventUtils Tracking/TrkEvent/TrkMaterialOnTrack @@ -32,14 +33,13 @@ atlas_depends_on_subdirs( Tracking/TrkValidation/TrkValInterfaces ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree ) # Component(s) in the package: atlas_add_component( TrkValAlgs TrkValAlgs/*.h src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel TrkParameters TrkTrack TrkTruthData AtlasDetDescr GeneratorObjects TrkSurfaces TrkEventUtils TrkMaterialOnTrack TrkParticleBase TrkPrepRawData TrkRIO_OnTrack TrkSegment TrkSpacePoint diff --git a/Tracking/TrkValidation/TrkValAlgs/TrkValAlgs/TrackValidationNtupleWriter.h b/Tracking/TrkValidation/TrkValAlgs/TrkValAlgs/TrackValidationNtupleWriter.h index 100957fe34815222c9d0dc6996660e904985f2a7..b5fe26995e4d217a39997ba7531c8584abfe75c0 100644 --- a/Tracking/TrkValidation/TrkValAlgs/TrkValAlgs/TrackValidationNtupleWriter.h +++ b/Tracking/TrkValidation/TrkValAlgs/TrkValAlgs/TrackValidationNtupleWriter.h @@ -20,11 +20,7 @@ class TrackTruth; class TTree; -namespace HepMC { - -class GenParticle; //!< Truth information - -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { diff --git a/Tracking/TrkValidation/TrkValAlgs/src/RecMomentumQualityValidation.cxx b/Tracking/TrkValidation/TrkValAlgs/src/RecMomentumQualityValidation.cxx index e7712195a107419f471fb63771b5225b4a36b5f9..6b6d9248f5e57bb4e1b122ba8f078fe6b1438938 100644 --- a/Tracking/TrkValidation/TrkValAlgs/src/RecMomentumQualityValidation.cxx +++ b/Tracking/TrkValidation/TrkValAlgs/src/RecMomentumQualityValidation.cxx @@ -11,7 +11,7 @@ #include "TrkTruthData/TrackTruthCollection.h" #include "TrkParameters/TrackParameters.h" //#include "TrkParameters/Perigee.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkToolInterfaces/ITruthToTrack.h" #include "TrkToolInterfaces/ITrackSelectorTool.h" #include "AtlasDetDescr/AtlasDetectorID.h" diff --git a/Tracking/TrkValidation/TrkValAlgs/src/TrackValidationNtupleWriter.cxx b/Tracking/TrkValidation/TrkValAlgs/src/TrackValidationNtupleWriter.cxx index 23a4057f8a52e1548af9169a2cad11c720f0a2cd..8b5204b6b857e3f8ab20ea7643e220b27a29d87c 100644 --- a/Tracking/TrkValidation/TrkValAlgs/src/TrackValidationNtupleWriter.cxx +++ b/Tracking/TrkValidation/TrkValAlgs/src/TrackValidationNtupleWriter.cxx @@ -15,7 +15,7 @@ // Trk #include "TrkTrack/Track.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrkValEvent/GenParticleJet.h" #include "TrkToolInterfaces/ITruthToTrack.h" diff --git a/Tracking/TrkValidation/TrkValEvent/CMakeLists.txt b/Tracking/TrkValidation/TrkValEvent/CMakeLists.txt index ed7d3800a63a0d9d04dd81f9439e776e815a74b9..4ba1fed21b327e1e42c4a82700c540016849cb95 100644 --- a/Tracking/TrkValidation/TrkValEvent/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkValEvent/CMakeLists.txt @@ -9,17 +9,17 @@ atlas_subdir( TrkValEvent ) atlas_depends_on_subdirs( PUBLIC Tracking/TrkEvent/TrkEventPrimitives Tracking/TrkEvent/TrkParameters - Tracking/TrkEvent/TrkTrack ) + Tracking/TrkEvent/TrkTrack + Generators/AtlasHepMC ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_library( TrkValEvent src/*.cxx PUBLIC_HEADERS TrkValEvent - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} DEFINITIONS ${CLHEP_DEFINITIONS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} TrkEventPrimitives TrkParameters TrkTrack ) + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib TrkEventPrimitives TrkParameters TrkTrack ) diff --git a/Tracking/TrkValidation/TrkValEvent/TrkValEvent/GenParticleJet.h b/Tracking/TrkValidation/TrkValEvent/TrkValEvent/GenParticleJet.h index 17bd5c9ca8678c3259604fe6f79995131c47160b..99750d412c14fa9c5d0e9dc432e7f3452bf95c94 100644 --- a/Tracking/TrkValidation/TrkValEvent/TrkValEvent/GenParticleJet.h +++ b/Tracking/TrkValidation/TrkValEvent/TrkValEvent/GenParticleJet.h @@ -15,7 +15,7 @@ #include <vector> #include <utility> #include "CLHEP/Geometry/Vector3D.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace Trk { diff --git a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleJetFinder.h b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleJetFinder.h index c898bb49321e3b895dbb31e1566164c276587871..fde30d484a15d4eae8a98ffd6076812fb75f75a6 100644 --- a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleJetFinder.h +++ b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleJetFinder.h @@ -17,9 +17,7 @@ //#include "TrkValEvent/GenParticleJet.h" #include "GaudiKernel/IAlgTool.h" -namespace HepMC { -class GenParticle; //!< Truth information -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { class GenParticleJet; diff --git a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleSelector.h b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleSelector.h index 9b85b642f2b66526bc7fef359704e01efe4417de..0e58912b073fef1eaf5768fab0b5e74f0144cf9e 100644 --- a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleSelector.h +++ b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IGenParticleSelector.h @@ -18,9 +18,7 @@ #include "GaudiKernel/IAlgTool.h" class McEventCollection; -namespace HepMC { -class GenParticle; //!< Truth information -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { static const InterfaceID IID_IGenParticleSelector("IGenParticleSelector",1,0); diff --git a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IJetTruthNtupleTool.h b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IJetTruthNtupleTool.h index 081283b832ecce9a5e4f7edf52de5a983301b43c..5eb45a683943a079080f36d44c266bdc1b1a6b32 100644 --- a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IJetTruthNtupleTool.h +++ b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/IJetTruthNtupleTool.h @@ -19,11 +19,7 @@ #include <vector> -namespace HepMC { - -class GenParticle; //!< Truth information - -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { class GenParticleJet; diff --git a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITrackTruthClassifier.h b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITrackTruthClassifier.h index e75c7d4a92b2bfc237d0b774ac0ad1defd466125..56af45805d4908631248bcf821940a35cc15f72e 100644 --- a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITrackTruthClassifier.h +++ b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITrackTruthClassifier.h @@ -17,9 +17,7 @@ #include "GaudiKernel/IAlgTool.h" class McEventCollection; -namespace HepMC { -class GenParticle; //!< Truth information -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { static const InterfaceID IID_ITrackTruthClassifier("ITrackTruthClassifier",1,0); diff --git a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITruthNtupleTool.h b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITruthNtupleTool.h index bc80fe72d29c415bc1b1c8d74b2a807d235d5876..d5581fc266a0620b5e9065cafae913c45d5d47c5 100644 --- a/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITruthNtupleTool.h +++ b/Tracking/TrkValidation/TrkValInterfaces/TrkValInterfaces/ITruthNtupleTool.h @@ -20,11 +20,7 @@ #include "TrkParameters/TrackParameters.h" //#include "TrkValInterfaces/ITrackTruthClassifier.h" -namespace HepMC { - -class GenParticle; //!< Truth information - -} +#include "AtlasHepMC/GenParticle_fwd.h" namespace Trk { class ITrackTruthClassifier; diff --git a/Tracking/TrkValidation/TrkValTools/CMakeLists.txt b/Tracking/TrkValidation/TrkValTools/CMakeLists.txt index 4cdd172d850c0a5dd34e9f93b16ba9e16f18fe63..21a199390fbd18a11d7aec92497512889c649bb9 100644 --- a/Tracking/TrkValidation/TrkValTools/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkValTools/CMakeLists.txt @@ -37,6 +37,7 @@ atlas_depends_on_subdirs( PUBLIC Event/EventInfo Event/EventPrimitives Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkDetDescr/TrkSurfaces Tracking/TrkEvent/TrkCompetingRIOsOnTrack Tracking/TrkEvent/TrkEventUtils @@ -52,7 +53,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core EG Tree MathCore Hist RIO pthread Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) find_package( Eigen ) @@ -63,8 +63,8 @@ find_package( Boost ) atlas_add_component( TrkValTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthContainers AthenaKernel xAODTracking GaudiKernel TrkEventPrimitives TrkParameters TrkTrack TrkToolInterfaces TrkValEvent TrkValInterfaces CommissionEvent AtlasDetDescr EventInfo EventPrimitives GeneratorObjects TrkSurfaces TrkCompetingRIOsOnTrack TrkEventUtils TrkMaterialOnTrack TrkMeasurementBase TrkParticleBase TrkRIO_OnTrack TrkTrackSummary TrkTruthData TrkExInterfaces TrkFitterUtils xAODTruth xAODJet xAODPFlow xAODCaloEvent xAODCore xAODEventInfo AsgTools AthenaKernel AthenaMonitoringLib) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthContainers AthenaKernel xAODTracking GaudiKernel TrkEventPrimitives TrkParameters TrkTrack TrkToolInterfaces TrkValEvent TrkValInterfaces CommissionEvent AtlasDetDescr EventInfo EventPrimitives GeneratorObjects TrkSurfaces TrkCompetingRIOsOnTrack TrkEventUtils TrkMaterialOnTrack TrkMeasurementBase TrkParticleBase TrkRIO_OnTrack TrkTrackSummary TrkTruthData TrkExInterfaces TrkFitterUtils xAODTruth xAODJet xAODPFlow xAODCaloEvent xAODCore xAODEventInfo AsgTools AthenaKernel AthenaMonitoringLib) # Install files from the package: atlas_install_headers( TrkValTools ) diff --git a/Tracking/TrkValidation/TrkValTools/TrkValTools/PrimaryTruthClassifier.h b/Tracking/TrkValidation/TrkValTools/TrkValTools/PrimaryTruthClassifier.h index 607db76418a391a315a0d183a002afb5d552402e..496e2a09b8d731a26b207b1bac57f719ce27d894 100644 --- a/Tracking/TrkValidation/TrkValTools/TrkValTools/PrimaryTruthClassifier.h +++ b/Tracking/TrkValidation/TrkValTools/TrkValTools/PrimaryTruthClassifier.h @@ -17,7 +17,7 @@ #include "TrkValInterfaces/ITrackTruthClassifier.h" #include "TrkValEvent/TruthClassificationDefs.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" namespace Trk { diff --git a/Tracking/TrkValidation/TrkValTools/src/InDetHaloSelector.cxx b/Tracking/TrkValidation/TrkValTools/src/InDetHaloSelector.cxx index e6b834fa0867d8df57f2e96ab12d8aee5a56d209..ff4fa1575205d75a56876d6b943f31a8fd062e30 100644 --- a/Tracking/TrkValidation/TrkValTools/src/InDetHaloSelector.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/InDetHaloSelector.cxx @@ -10,11 +10,11 @@ /////////////////////////////////////////////////////////////////// #include "TrkValTools/InDetHaloSelector.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Geometry/Point3D.h" #include "HepPDT/ParticleData.hh" #include "GaudiKernel/IPartPropSvc.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" Trk::InDetHaloSelector::InDetHaloSelector(const std::string& type, const std::string& name, diff --git a/Tracking/TrkValidation/TrkValTools/src/InDetPrimaryConversionSelector.cxx b/Tracking/TrkValidation/TrkValTools/src/InDetPrimaryConversionSelector.cxx index d7260d0d05e8f4a711774f2d4394ee6212d2e615..26e8b3a1552558fc7751a711ca8e6d207bc82371 100644 --- a/Tracking/TrkValidation/TrkValTools/src/InDetPrimaryConversionSelector.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/InDetPrimaryConversionSelector.cxx @@ -10,12 +10,12 @@ /////////////////////////////////////////////////////////////////// #include "TrkValTools/InDetPrimaryConversionSelector.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Geometry/Point3D.h" #include "CLHEP/Units/SystemOfUnits.h" #include "HepPDT/ParticleData.hh" #include "GaudiKernel/IPartPropSvc.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" Trk::InDetPrimaryConversionSelector::InDetPrimaryConversionSelector(const std::string& type, const std::string& name, diff --git a/Tracking/TrkValidation/TrkValTools/src/InDetReconstructableSelector.cxx b/Tracking/TrkValidation/TrkValTools/src/InDetReconstructableSelector.cxx index e67b8c1e00a1af2dc6f1fc4b322c334b6dd4cfee..5b7e11ba89d59693c2990b51d3a6522124c092b5 100644 --- a/Tracking/TrkValidation/TrkValTools/src/InDetReconstructableSelector.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/InDetReconstructableSelector.cxx @@ -10,12 +10,12 @@ /////////////////////////////////////////////////////////////////// #include "TrkValTools/InDetReconstructableSelector.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Geometry/Point3D.h" #include "CLHEP/Units/SystemOfUnits.h" #include "HepPDT/ParticleData.hh" #include "GaudiKernel/IPartPropSvc.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" Trk::InDetReconstructableSelector::InDetReconstructableSelector(const std::string& type, const std::string& name, diff --git a/Tracking/TrkValidation/TrkValTools/src/JetTruthNtupleTool.cxx b/Tracking/TrkValidation/TrkValTools/src/JetTruthNtupleTool.cxx index 51a1d14ff97fff63c89d1b7628f45afbeddd35f3..ea9d3bf46b14cac41e3d05006cff22f29bf84ee4 100644 --- a/Tracking/TrkValidation/TrkValTools/src/JetTruthNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/JetTruthNtupleTool.cxx @@ -19,7 +19,7 @@ // Truth #include "TrkTruthData/TrackTruth.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <TGraphAsymmErrors.h> #include "TTree.h" diff --git a/Tracking/TrkValidation/TrkValTools/src/PerigeeParametersNtupleTool.cxx b/Tracking/TrkValidation/TrkValTools/src/PerigeeParametersNtupleTool.cxx index 67dbd3c4ddb08cbf0dfb37012f0dc9ef69f0cde0..e72d15373b0992796548568dedb1bba085156e74 100644 --- a/Tracking/TrkValidation/TrkValTools/src/PerigeeParametersNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/PerigeeParametersNtupleTool.cxx @@ -22,7 +22,7 @@ #include "TrkParameters/TrackParameters.h" //Truth #include "TrkTruthData/TrackTruth.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // constructor Trk::PerigeeParametersNtupleTool::PerigeeParametersNtupleTool( diff --git a/Tracking/TrkValidation/TrkValTools/src/PrimaryTruthClassifier.cxx b/Tracking/TrkValidation/TrkValTools/src/PrimaryTruthClassifier.cxx index f8111fd208df603e4550f93eb87516ff81645bb7..bd344c64e57067554318fcfd02eb0fcffc5a2dae 100644 --- a/Tracking/TrkValidation/TrkValTools/src/PrimaryTruthClassifier.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/PrimaryTruthClassifier.cxx @@ -12,7 +12,7 @@ #include "TrkValTools/PrimaryTruthClassifier.h" #include "TrkValEvent/TruthClassificationDefs.h" #include "CLHEP/Units/SystemOfUnits.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenVertex.h" Trk::PrimaryTruthClassifier::PrimaryTruthClassifier(const std::string& type, const std::string& name, const IInterface* parent) : AthAlgTool (type,name,parent), diff --git a/Tracking/TrkValidation/TrkValTools/src/TrackSummaryNtupleTool.cxx b/Tracking/TrkValidation/TrkValTools/src/TrackSummaryNtupleTool.cxx index bfccca1618c1ee9237c1579bd7d591000aceceac..ba358588b00b1740080f4be400d9555d68f4116c 100644 --- a/Tracking/TrkValidation/TrkValTools/src/TrackSummaryNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/TrackSummaryNtupleTool.cxx @@ -20,7 +20,7 @@ #include "TrkFitterUtils/ProtoTrackStateOnSurface.h" //Truth #include "TrkTruthData/TrackTruth.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" // constructor diff --git a/Tracking/TrkValidation/TrkValTools/src/TruthNtupleTool.cxx b/Tracking/TrkValidation/TrkValTools/src/TruthNtupleTool.cxx index 37a3d874199e470449cd24746b9036a8f7f78e1e..c3aab911ed92b0298eee851947a6e1fa76738803 100644 --- a/Tracking/TrkValidation/TrkValTools/src/TruthNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkValTools/src/TruthNtupleTool.cxx @@ -21,8 +21,8 @@ // Truth #include "TrkTruthData/TrackTruth.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // root #include "TTree.h" diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/CMakeLists.txt b/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/CMakeLists.txt index 52b034132fc66fcb103d8cf13ba85d5ad58f4335..67e17f5aed968aaed30eda2b6427515287fd30e6 100644 --- a/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/CMakeLists.txt @@ -10,10 +10,10 @@ atlas_depends_on_subdirs( PUBLIC GaudiKernel Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTruthData - Tracking/TrkEvent/VxVertex ) + Tracking/TrkEvent/VxVertex + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) # Install files from the package: atlas_install_headers( TrkVertexFitterValidationInterfaces ) diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/TrkVertexFitterValidationInterfaces/IMcEventNtupleTool.h b/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/TrkVertexFitterValidationInterfaces/IMcEventNtupleTool.h index d969a85c50797892758a2fe33b4e66e16cea0993..ab6d4fc0c677f7f566687fbdf225296ca9c4aee8 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/TrkVertexFitterValidationInterfaces/IMcEventNtupleTool.h +++ b/Tracking/TrkValidation/TrkVertexFitterValidationInterfaces/TrkVertexFitterValidationInterfaces/IMcEventNtupleTool.h @@ -15,7 +15,7 @@ #define TRK_IMCEVENTNTUPLETOOL_H #include "GaudiKernel/IAlgTool.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" namespace Trk { static const InterfaceID IID_IMcEventNtupleTool("IMcEventNtupleTool",1,0); diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/CMakeLists.txt b/Tracking/TrkValidation/TrkVertexFitterValidationTools/CMakeLists.txt index 9f3deea5ebb6a4a6a2ed132eaa80117e0f2a0b1f..5765b158d28b4601d940684dabc73242ef506729 100644 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/CMakeLists.txt @@ -14,21 +14,21 @@ atlas_depends_on_subdirs( PUBLIC Event/EventPrimitives Event/xAOD/xAODEventInfo Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTruthData Tracking/TrkEvent/VxVertex ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_component( TrkVertexFitterValidationTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel EventPrimitives xAODEventInfo GeneratorObjects TrkTrack TrkTruthData VxVertex ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel EventPrimitives xAODEventInfo GeneratorObjects TrkTrack TrkTruthData VxVertex ) # Install files from the package: atlas_install_headers( TrkVertexFitterValidationTools ) diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx index 9ce132cf85ae87962240fac1543df7d208b83121..00a281e5cf8604759891c563432ee30a2b466e5d 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx @@ -31,8 +31,8 @@ //CLHEP #include "CLHEP/GenericFunctions/CumulativeChiSquare.hh" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // constructor Trk::BasicVtxValidationNtupleTool::BasicVtxValidationNtupleTool( diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx index 49e42059a13a4c9e4ee4f8df41e8892698948786..50bcee860a7c3aa13f6665fd6cf81650a1b05c52 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx @@ -20,9 +20,9 @@ //CLHEP #include "CLHEP/Vector/LorentzVector.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" // constructor Trk::McEventNtupleTool::McEventNtupleTool( diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/TrueTracksNtupleTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/TrueTracksNtupleTool.cxx index f0148a783b5f6035f14e2626f6ba481755e14888..d42f765b5ed9433de3e5ab1262c55d5f60199d18 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/TrueTracksNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/TrueTracksNtupleTool.cxx @@ -22,9 +22,9 @@ #include "TrkTruthData/TrackTruthCollection.h" //CLHEP #include "GeneratorObjects/HepMcParticleLink.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" // constructor Trk::TrueTracksNtupleTool::TrueTracksNtupleTool( diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationUtils/CMakeLists.txt b/Tracking/TrkValidation/TrkVertexFitterValidationUtils/CMakeLists.txt index 7be4492800e610e13c7a9a02b91df7f81aa87fd8..2cb335b447fa889cd4dd99096e17bf4a0d4008dc 100644 --- a/Tracking/TrkValidation/TrkVertexFitterValidationUtils/CMakeLists.txt +++ b/Tracking/TrkValidation/TrkVertexFitterValidationUtils/CMakeLists.txt @@ -11,23 +11,23 @@ atlas_depends_on_subdirs( PUBLIC GaudiKernel PRIVATE Generators/GeneratorObjects + Generators/AtlasHepMC Reconstruction/ParticleTruth Tracking/TrkEvent/TrkParticleBase Tracking/TrkEvent/VxVertex ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_library( TrkVertexFitterValidationUtilsLib src/*.cxx PUBLIC_HEADERS TrkVertexFitterValidationUtils - PRIVATE_INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS LINK_LIBRARIES AthenaBaseComps GaudiKernel - PRIVATE_LINK_LIBRARIES ${HEPMC_LIBRARIES} GeneratorObjects ParticleTruth TrkParticleBase VxVertex ) + PRIVATE_LINK_LIBRARIES AtlasHepMCLib GeneratorObjects ParticleTruth TrkParticleBase VxVertex ) atlas_add_component( TrkVertexFitterValidationUtils src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel GeneratorObjects ParticleTruth TrkParticleBase VxVertex TrkVertexFitterValidationUtilsLib ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps GaudiKernel GeneratorObjects ParticleTruth TrkParticleBase VxVertex TrkVertexFitterValidationUtilsLib ) diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationUtils/src/TrkPriVxPurityTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationUtils/src/TrkPriVxPurityTool.cxx index ecca441d2b56c3d45478cb40a19c863622115db3..11f434ebc3e123ef710ac0f34bf4229e3809c2f7 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationUtils/src/TrkPriVxPurityTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationUtils/src/TrkPriVxPurityTool.cxx @@ -11,9 +11,9 @@ // normal includes #include "GeneratorObjects/HepMcParticleLink.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" #include "VxVertex/VxTrackAtVertex.h" #include "TrkParticleBase/LinkToTrackParticleBase.h" diff --git a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/CMakeLists.txt b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/CMakeLists.txt index a1b45280504eb3bd63bae529bf8ea7529df145b6..a04de66bae29623dd030caf213bd418757bff9fc 100644 --- a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/CMakeLists.txt +++ b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/CMakeLists.txt @@ -17,6 +17,7 @@ atlas_depends_on_subdirs( PUBLIC Event/xAOD/xAODEventInfo Generators/GenAnalysisTools/TruthHelper Generators/GeneratorObjects + Generators/AtlasHepMC MagneticField/MagFieldInterfaces Tracking/TrkEvent/TrkEventPrimitives Tracking/TrkEvent/TrkParameters @@ -25,7 +26,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Eigen ) -find_package( HepMC ) find_package( HepPDT ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) @@ -33,8 +33,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) atlas_add_component( TrkVertexSeedFinderTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel TrkVertexFitterInterfaces GeoPrimitives EventPrimitives xAODEventInfo TruthHelper GeneratorObjects TrkEventPrimitives TrkParameters TrkTrack VxVertex ) + INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} + LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel TrkVertexFitterInterfaces GeoPrimitives EventPrimitives xAODEventInfo TruthHelper GeneratorObjects TrkEventPrimitives TrkParameters TrkTrack VxVertex ) # Install files from the package: atlas_install_headers( TrkVertexSeedFinderTools ) diff --git a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/TrkVertexSeedFinderTools/MCTrueSeedFinder.h b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/TrkVertexSeedFinderTools/MCTrueSeedFinder.h index a7ad3c6f596546883be236a084b0c9a95218d00e..dbd5e0cfaaea953b6394c402ea7dc3922de51823 100755 --- a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/TrkVertexSeedFinderTools/MCTrueSeedFinder.h +++ b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/TrkVertexSeedFinderTools/MCTrueSeedFinder.h @@ -12,10 +12,8 @@ class IPartPropSvc; -namespace HepMC { -class GenEvent; -class GenParticle; -} +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenEvent_fwd.h" namespace Trk { diff --git a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/MCTrueSeedFinder.cxx b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/MCTrueSeedFinder.cxx index 18e39e54359fb1aba9deada3cd9a69bb4a6cf91e..0e7874f1e43506f15c434450a503cce07f61b0c8 100755 --- a/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/MCTrueSeedFinder.cxx +++ b/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/MCTrueSeedFinder.cxx @@ -12,9 +12,9 @@ #include "TrkParameters/TrackParameters.h" #include "GeoPrimitives/GeoPrimitives.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include "GaudiKernel/IPartPropSvc.h" diff --git a/Tracking/TrkVertexFitter/TrkVertexTools/CMakeLists.txt b/Tracking/TrkVertexFitter/TrkVertexTools/CMakeLists.txt index c399d168271cb07424df6907fc1ce0f9fbad3b3b..539498ae86c0f4ff47c05c46efbcafb590012512 100644 --- a/Tracking/TrkVertexFitter/TrkVertexTools/CMakeLists.txt +++ b/Tracking/TrkVertexFitter/TrkVertexTools/CMakeLists.txt @@ -16,19 +16,19 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE Event/EventPrimitives Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkEvent/TrkEventPrimitives Tracking/TrkEvent/VxVertex ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrkVertexTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel xAODTracking GaudiKernel TrkVertexFitterInterfaces EventPrimitives GeneratorObjects TrkEventPrimitives VxVertex ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps AthenaKernel xAODTracking GaudiKernel TrkVertexFitterInterfaces EventPrimitives GeneratorObjects TrkEventPrimitives VxVertex ) # Install files from the package: atlas_install_headers( TrkVertexTools ) diff --git a/Tracking/TrkVertexFitter/TrkVertexTools/src/TruthVertexSelectionTool.cxx b/Tracking/TrkVertexFitter/TrkVertexTools/src/TruthVertexSelectionTool.cxx index b73cbbd58035d21c17ab0f86d807f332dab7afab..2a87e468fce559fd5dec0a34ffa5c03d905cd50f 100644 --- a/Tracking/TrkVertexFitter/TrkVertexTools/src/TruthVertexSelectionTool.cxx +++ b/Tracking/TrkVertexFitter/TrkVertexTools/src/TruthVertexSelectionTool.cxx @@ -5,7 +5,7 @@ #include "TrkVertexTools/TruthVertexSelectionTool.h" #include "TrkEventPrimitives/ParamDefs.h" #include "CLHEP/Random/RandFlat.h" -#include "HepMC/SimpleVector.h" +#include "AtlasHepMC/SimpleVector.h" #include "EventPrimitives/EventPrimitivesHelpers.h" #include <vector> diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/CMakeLists.txt b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/CMakeLists.txt index 0467867563076616635506f23913958a7d6df949..82799a859452e5b8a637db4a0c109d8c679a3f7f 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/CMakeLists.txt +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/CMakeLists.txt @@ -11,6 +11,7 @@ atlas_depends_on_subdirs( PUBLIC Event/EventInfo Event/xAOD/xAODEventInfo Generators/GeneratorObjects + Generators/AtlasHepMC InnerDetector/InDetConditions/InDetBeamSpotService PhysicsAnalysis/TruthParticleID/McParticleEvent Reconstruction/MuonIdentification/muonEvent @@ -29,24 +30,24 @@ atlas_depends_on_subdirs( PUBLIC GaudiKernel Tracking/TrkEvent/TrkParameters Tracking/TrkEvent/TrkTrack - Trigger/TrigSteer/TrigCompositeUtils ) + Trigger/TrigSteer/TrigCompositeUtils + ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_library( TrigInDetAnalysisExampleLib src/*.cxx PUBLIC_HEADERS TrigInDetAnalysisExample - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} EventInfo GeneratorObjects McParticleEvent muonEvent egammaEvent tauEvent VxVertex TrigInDetAnalysis TrigInDetAnalysisUtils TrigInDetEvent TrigSteeringEvent TrigDecisionToolLib TrigHLTMonitoringLib AthenaMonitoringLib TrigCompositeUtilsLib + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib EventInfo GeneratorObjects McParticleEvent muonEvent egammaEvent tauEvent VxVertex TrigInDetAnalysis TrigInDetAnalysisUtils TrigInDetEvent TrigSteeringEvent TrigDecisionToolLib TrigHLTMonitoringLib AthenaMonitoringLib TrigCompositeUtilsLib PRIVATE_LINK_LIBRARIES GaudiKernel TrkParameters TrkTrack ) atlas_add_component( TrigInDetAnalysisExample src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} EventInfo GeneratorObjects McParticleEvent muonEvent egammaEvent tauEvent VxVertex TrigDecisionToolLib TrigInDetAnalysis TrigInDetAnalysisUtils TrigInDetEvent TrigSteeringEvent TrigHLTMonitoringLib AthenaMonitoringLib GaudiKernel TrkParameters TrkTrack TrigInDetAnalysisExampleLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib EventInfo GeneratorObjects McParticleEvent muonEvent egammaEvent tauEvent VxVertex TrigDecisionToolLib TrigInDetAnalysis TrigInDetAnalysisUtils TrigInDetEvent TrigSteeringEvent TrigHLTMonitoringLib AthenaMonitoringLib GaudiKernel TrkParameters TrkTrack TrigInDetAnalysisExampleLib ) # Disable naming convention checker. # FIXME: This should be fixed properly once run2 is finished. diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfigMT_Tier0.h b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfigMT_Tier0.h index d89c8f4a9877fe244b11f636a083c3aed5a59dc0..f38a8b025d7618db130d77772fc6ad1d7898bd1f 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfigMT_Tier0.h +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfigMT_Tier0.h @@ -43,9 +43,9 @@ #include "McParticleEvent/TruthParticleContainer.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "EventInfo/EventInfo.h" #include "EventInfo/EventID.h" diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfig_Tier0.h b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfig_Tier0.h index ae2167634553412ef9bc93a4ac6111f10f7910a2..99c320e463a8c360d24cd021a1adf2d738468376 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfig_Tier0.h +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/TrigInDetAnalysisExample/T_AnalysisConfig_Tier0.h @@ -43,9 +43,9 @@ #include "McParticleEvent/TruthParticleContainer.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "EventInfo/EventInfo.h" #include "EventInfo/EventID.h" diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/src/AnalysisConfig_Ntuple.cxx b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/src/AnalysisConfig_Ntuple.cxx index e9a4044c3860970b02fadf1a491a372e4d94749e..78e4c0989100e83197bfd1530cea343fc2778be7 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisExample/src/AnalysisConfig_Ntuple.cxx +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisExample/src/AnalysisConfig_Ntuple.cxx @@ -15,9 +15,9 @@ #include "McParticleEvent/TruthParticleContainer.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "EventInfo/EventInfo.h" diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/CMakeLists.txt b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/CMakeLists.txt index d892f42c47f4703567d51826566def4d2720f0a0..b5f57a5be873794698bfdeb6d7754d35e4356f34 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/CMakeLists.txt +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/CMakeLists.txt @@ -27,16 +27,16 @@ atlas_depends_on_subdirs( PUBLIC Trigger/TrigAnalysis/TrigInDetAnalysis Trigger/TrigEvent/TrigInDetEvent Trigger/TrigEvent/TrigSteeringEvent - Trigger/TrigTruthEvent/TrigInDetTruthEvent ) + Trigger/TrigTruthEvent/TrigInDetTruthEvent + Generators/AtlasHepMC ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_library( TrigInDetAnalysisUtils src/*.cxx PUBLIC_HEADERS TrigInDetAnalysisUtils - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel McParticleEvent muonEvent Particle egammaEvent tauEvent TrkParameters TrkTrack TrkTrackSummary TrkExUtils TrkToolInterfaces TrigInDetAnalysis TrigInDetEvent TrigSteeringEvent TrigInDetTruthEvent StoreGateLib SGtests TrigDecisionToolLib ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib GaudiKernel McParticleEvent muonEvent Particle egammaEvent tauEvent TrkParameters TrkTrack TrkTrackSummary TrkExUtils TrkToolInterfaces TrigInDetAnalysis TrigInDetEvent TrigSteeringEvent TrigInDetTruthEvent StoreGateLib SGtests TrigDecisionToolLib ) diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector.h b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector.h index 2afbd2bd1f8f4cee9bd9fdd44addc147d8feb461..8da01df22003656ce4b03c1475442086cd4894a7 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector.h +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector.h @@ -29,9 +29,9 @@ /// MC truth #include "McParticleEvent/TruthParticleContainer.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" ///// FrameWork includes diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector_old.h b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector_old.h index d5ba9af1086ffed93622462eb5f951f8944a72d8..d335cd9816526702b8216bd2d4f5c9fcf136ce4e 100644 --- a/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector_old.h +++ b/Trigger/TrigAnalysis/TrigInDetAnalysisUtils/TrigInDetAnalysisUtils/TrigTrackSelector_old.h @@ -22,9 +22,9 @@ /// MC truth #include "McParticleEvent/TruthParticleContainer.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" ///// FrameWork includes diff --git a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/CMakeLists.txt b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/CMakeLists.txt index 927914ffee2de8de7f94fb025b9ef3d435adbd29..3bc9d078736f24a0fd5ee20778b2915e49faf680 100644 --- a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/CMakeLists.txt +++ b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/CMakeLists.txt @@ -12,6 +12,7 @@ atlas_depends_on_subdirs( PUBLIC Control/AthenaBaseComps GaudiKernel Generators/GenzModuleEvent + Generators/AtlasHepMC InnerDetector/InDetDetDescr/InDetIdentifier InnerDetector/InDetRawEvent/InDetSimData InnerDetector/InDetRecEvent/InDetPrepRawData @@ -20,14 +21,13 @@ atlas_depends_on_subdirs( PUBLIC Trigger/TrigTruthEvent/TrigInDetTruthEvent ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrigInDetTruthAlgs src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} TrigInDetEvent AthenaBaseComps GaudiKernel GenzModuleEvent InDetIdentifier InDetSimData InDetPrepRawData TrkTruthData TrigInDetTruthEvent ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib TrigInDetEvent AthenaBaseComps GaudiKernel GenzModuleEvent InDetIdentifier InDetSimData InDetPrepRawData TrkTruthData TrigInDetTruthEvent ) # Install files from the package: atlas_install_python_modules( python/__init__.py python/TrigInDetTruthAlgsConfig.py ) diff --git a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigInDetTrackTruthMaker.cxx b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigInDetTrackTruthMaker.cxx index b790508b84562a87d5dc145ba5ef701fb9b8c269..d67356efa4df9b263f31e598e6d3330aaa1c2be6 100644 --- a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigInDetTrackTruthMaker.cxx +++ b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigInDetTrackTruthMaker.cxx @@ -40,7 +40,7 @@ // monte carlo edm #include "GenzModuleEvent/KineHepMcmap.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" TrigInDetTrackTruthMaker::TrigInDetTrackTruthMaker(const std::string &name, ISvcLocator *pSvcLocator) : AthAlgorithm(name, pSvcLocator), m_trackTruthMapKey("TrigInDetTrackTruthMap"), m_minNrMatchHits(2) diff --git a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigL2SpacePointTruthTool.cxx b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigL2SpacePointTruthTool.cxx index 5eb535ab16c716d0b36e4be1a7202018f0f1ab0b..08d492a8db2ba9d99c10e3325961464d1e41de2d 100644 --- a/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigL2SpacePointTruthTool.cxx +++ b/Trigger/TrigAnalysis/TrigInDetTruthAlgs/src/TrigL2SpacePointTruthTool.cxx @@ -28,7 +28,7 @@ // monte carlo edm #include "GenzModuleEvent/KineHepMcmap.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include "TrigInDetToolInterfaces/ITrigL2SpacePointTruthTool.h" #include "TrigL2SpacePointTruthTool.h" diff --git a/Trigger/TrigFake/CMakeLists.txt b/Trigger/TrigFake/CMakeLists.txt index 75cd78001fa9ed6aefa6915ad0f2387c466e6883..8b97b0e7d8f4942a2880022a2149ff272a3aef65 100644 --- a/Trigger/TrigFake/CMakeLists.txt +++ b/Trigger/TrigFake/CMakeLists.txt @@ -15,6 +15,7 @@ atlas_depends_on_subdirs( PUBLIC PRIVATE Control/StoreGate Generators/GeneratorObjects + Generators/AtlasHepMC Trigger/TrigConfiguration/TrigConfHLTData Trigger/TrigEvent/TrigNavigation Trigger/TrigSteer/TrigInterfaces @@ -23,21 +24,20 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( CLHEP ) -find_package( HepMC ) # Component(s) in the package: atlas_add_library( TrigFakeLib src/*.cxx PUBLIC_HEADERS TrigFake - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES AthenaBaseComps GaudiKernel TrigInDetEvent TrigSteeringEvent TrigSteeringLib StoreGateLib SGtests TrigNavigationLib TrigInterfacesLib - PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GeneratorObjects TrigConfHLTData TrigT1Interfaces TrigT1Result ) + PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib GeneratorObjects TrigConfHLTData TrigT1Interfaces TrigT1Result ) atlas_add_component( TrigFake src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel TrigInDetEvent TrigSteeringEvent TrigSteeringLib StoreGateLib SGtests GeneratorObjects TrigConfHLTData TrigNavigationLib TrigInterfacesLib TrigT1Interfaces TrigT1Result TrigFakeLib ) + INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaBaseComps GaudiKernel TrigInDetEvent TrigSteeringEvent TrigSteeringLib StoreGateLib SGtests GeneratorObjects TrigConfHLTData TrigNavigationLib TrigInterfacesLib TrigT1Interfaces TrigT1Result TrigFakeLib ) # Install files from the package: atlas_install_joboptions( share/jobOfragment_TrigFake.* ) diff --git a/Trigger/TrigFake/src/FakeLvl1RoIfromKine.cxx b/Trigger/TrigFake/src/FakeLvl1RoIfromKine.cxx index 674f6f6543257860971b54ee74686a8154d65d5b..d05c4d58a4b0e6c0d0b0e1b12ab06aa09e230fb5 100755 --- a/Trigger/TrigFake/src/FakeLvl1RoIfromKine.cxx +++ b/Trigger/TrigFake/src/FakeLvl1RoIfromKine.cxx @@ -28,8 +28,8 @@ Modified : # include "CLHEP/Units/SystemOfUnits.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" #include "TrigSteeringEvent/TrigRoiDescriptor.h" diff --git a/Trigger/TrigFake/src/ZVertexFromKine.cxx b/Trigger/TrigFake/src/ZVertexFromKine.cxx index c67bd5873b9a87882bd6604f96ed5992119cd8b5..d1558205b8a7436b07bde4b70dc2d81d77e3210c 100755 --- a/Trigger/TrigFake/src/ZVertexFromKine.cxx +++ b/Trigger/TrigFake/src/ZVertexFromKine.cxx @@ -18,8 +18,8 @@ Modified : ********************************************************************/ -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" #include "GeneratorObjects/McEventCollection.h" #include "TrigInDetEvent/TrigVertexCollection.h" diff --git a/Trigger/TrigT1/TrigT1NSWSimTools/CMakeLists.txt b/Trigger/TrigT1/TrigT1NSWSimTools/CMakeLists.txt index f33073d6a21b6cfc14b311ea2acdb76d0cc2bd88..039d38b9c43a850a5cd7e7606a15be642ff7384d 100644 --- a/Trigger/TrigT1/TrigT1NSWSimTools/CMakeLists.txt +++ b/Trigger/TrigT1/TrigT1NSWSimTools/CMakeLists.txt @@ -24,12 +24,12 @@ atlas_depends_on_subdirs( PUBLIC MuonSpectrometer/MuonSimData MuonSpectrometer/MuonRDO Simulation/G4Sim/TrackRecord - Tools/PathResolver) + Tools/PathResolver + Generators/AtlasHepMC ) # External dependencies: find_package( Boost ) find_package( TBB ) -find_package( HepMC ) find_package( CLHEP ) find_package( Eigen ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint ) @@ -38,8 +38,8 @@ find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minui atlas_add_library( TrigT1NSWSimToolsLib src/*.cxx PUBLIC_HEADERS TrigT1NSWSimTools - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} ${Boost_LIBRARIES} ${TBB_LIBRARIES} ${HEPMC_LIBRARIES} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} ${Boost_LIBRARIES} ${TBB_LIBRARIES} AtlasHepMCLib SGTools GaudiKernel AthenaBaseComps AthenaKernel AGDDKernel GeoPrimitives Identifier EventInfo MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimEvent MuonSimData MuonRDO RegSelLUT PathResolver) @@ -48,8 +48,8 @@ atlas_add_library( TrigT1NSWSimToolsLib atlas_add_component( TrigT1NSWSimTools src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} ${Boost_LIBRARIES} ${TBB_LIBRARIES} ${HEPMC_LIBRARIES} + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} ${Boost_LIBRARIES} ${TBB_LIBRARIES} AtlasHepMCLib SGTools GaudiKernel AthenaBaseComps AthenaKernel AGDDKernel GeoPrimitives Identifier EventInfo MuonAGDDDescription MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonSimEvent MuonSimData MuonRDO RegSelLUT PathResolver) diff --git a/Trigger/TrigT1/TrigT1NSWSimTools/src/MMLoadVariables.cxx b/Trigger/TrigT1/TrigT1NSWSimTools/src/MMLoadVariables.cxx index a3c46268c25e211406ae13bdbbef2718b6378cb1..a0613dfcb3cbf9cd37ee3f3a4e21193a11a72a9e 100644 --- a/Trigger/TrigT1/TrigT1NSWSimTools/src/MMLoadVariables.cxx +++ b/Trigger/TrigT1/TrigT1NSWSimTools/src/MMLoadVariables.cxx @@ -11,7 +11,7 @@ #include "MuonSimEvent/MicromegasHitIdHelper.h" #include "MuonSimEvent/MM_SimIdToOfflineId.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "GeneratorObjects/McEventCollection.h" #include "TrackRecord/TrackRecordCollection.h" #include "MuonSimData/MuonSimDataCollection.h" diff --git a/Trigger/TrigT1/TrigT1RPCsteering/CMakeLists.txt b/Trigger/TrigT1/TrigT1RPCsteering/CMakeLists.txt index 41983a1afd9cef5a7ec0bbaa56b5fee401434a75..de0e7a17c787b4c25f5c1571b788643afbcaecf3 100644 --- a/Trigger/TrigT1/TrigT1RPCsteering/CMakeLists.txt +++ b/Trigger/TrigT1/TrigT1RPCsteering/CMakeLists.txt @@ -16,20 +16,20 @@ atlas_depends_on_subdirs( PUBLIC Trigger/TrigT1/TrigT1RPClogic PRIVATE Generators/GeneratorObjects + Generators/AtlasHepMC MuonSpectrometer/MuonDigitContainer MuonSpectrometer/MuonIdHelpers Trigger/TrigT1/TrigT1Interfaces Trigger/TrigT1/TrigT1RPChardware ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrigT1RPCsteering src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel RPCcablingInterfaceLib MuonReadoutGeometry TrigT1RPClogicLib GeneratorObjects MuonDigitContainer MuonIdHelpersLib TrigT1Interfaces TrigT1RPChardwareLib RPChardware ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel RPCcablingInterfaceLib MuonReadoutGeometry TrigT1RPClogicLib GeneratorObjects MuonDigitContainer MuonIdHelpersLib TrigT1Interfaces TrigT1RPChardwareLib RPChardware ) # Install files from the package: atlas_install_headers( TrigT1RPCsteering ) diff --git a/Trigger/TrigT1/TrigT1RPCsteering/src/TrigT1RPC.cxx b/Trigger/TrigT1/TrigT1RPCsteering/src/TrigT1RPC.cxx index aea4ad0461b8eebba1d935e9df1af54e0e0007bc..fdff0c9fbac5affd1499880bc45ac5a1ec00cb4f 100755 --- a/Trigger/TrigT1/TrigT1RPCsteering/src/TrigT1RPC.cxx +++ b/Trigger/TrigT1/TrigT1RPCsteering/src/TrigT1RPC.cxx @@ -5,7 +5,7 @@ #include "TrigT1RPCsteering/TrigT1RPC.h" #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenEvent.h" #include "MuonReadoutGeometry/RpcReadoutElement.h" diff --git a/Trigger/TrigT1/TrigT1ZDC/CMakeLists.txt b/Trigger/TrigT1/TrigT1ZDC/CMakeLists.txt index 6319a6cb32870e7284d3f702b9256a06d7a76e13..54f30ddebf1ceaf50a6e2789817eb0b043baae0a 100644 --- a/Trigger/TrigT1/TrigT1ZDC/CMakeLists.txt +++ b/Trigger/TrigT1/TrigT1ZDC/CMakeLists.txt @@ -12,18 +12,18 @@ atlas_depends_on_subdirs( PUBLIC Trigger/TrigConfiguration/TrigConfInterfaces PRIVATE Generators/GeneratorObjects + Generators/AtlasHepMC Trigger/TrigConfiguration/TrigConfL1Data Trigger/TrigT1/TrigT1Interfaces ) # External dependencies: -find_package( HepMC ) # Component(s) in the package: atlas_add_component( TrigT1ZDC src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthenaBaseComps GaudiKernel GeneratorObjects TrigConfL1Data TrigT1Interfaces ) + INCLUDE_DIRS + LINK_LIBRARIES AtlasHepMCLib AthenaBaseComps GaudiKernel GeneratorObjects TrigConfL1Data TrigT1Interfaces ) # Install files from the package: atlas_install_headers( TrigT1ZDC ) diff --git a/Trigger/TrigT1/TrigT1ZDC/src/TrigT1ZDC.cxx b/Trigger/TrigT1/TrigT1ZDC/src/TrigT1ZDC.cxx index 93bbd5a8ec51e573f291ef007f4e309424f01407..7be2bb3365c3e7e78f3a7fd6124ecae6c585515f 100644 --- a/Trigger/TrigT1/TrigT1ZDC/src/TrigT1ZDC.cxx +++ b/Trigger/TrigT1/TrigT1ZDC/src/TrigT1ZDC.cxx @@ -11,7 +11,7 @@ #include "GeneratorObjects/McEventCollection.h" #include "GaudiKernel/IPartPropSvc.h" #include "GaudiKernel/ITHistSvc.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <bitset> diff --git a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/CMakeLists.txt b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/CMakeLists.txt index d1c15606d1fd414c80aa9e4b8db47331e1b52e9d..24127ce1872d3d4385d2664177a785957776611d 100644 --- a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/CMakeLists.txt +++ b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/CMakeLists.txt @@ -11,27 +11,27 @@ atlas_depends_on_subdirs( PUBLIC Control/AthLinks Control/AthenaKernel Generators/GeneratorObjects + Generators/AtlasHepMC Trigger/TrigEvent/TrigInDetEvent Trigger/TrigEvent/TrigSteeringEvent PRIVATE GaudiKernel ) # External dependencies: -find_package( HepMC ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) # Component(s) in the package: atlas_add_library( TrigInDetTruthEvent src/*.cxx PUBLIC_HEADERS TrigInDetTruthEvent - INCLUDE_DIRS ${HEPMC_INCLUDE_DIRS} + INCLUDE_DIRS PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${HEPMC_LIBRARIES} AthContainers AthLinks AthenaKernel GeneratorObjects TrigInDetEvent TrigSteeringEvent + LINK_LIBRARIES AtlasHepMCLib AthContainers AthLinks AthenaKernel GeneratorObjects TrigInDetEvent TrigSteeringEvent PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} GaudiKernel ) atlas_add_dictionary( TrigInDetTruthEventDict TrigInDetTruthEvent/TrigInDetTruthEventDict.h TrigInDetTruthEvent/selection.xml - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} ${HEPMC_LIBRARIES} AthContainers AthLinks GeneratorObjects TrigInDetEvent TrigSteeringEvent AthenaKernel GaudiKernel TrigInDetTruthEvent ) + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AtlasHepMCLib AthContainers AthLinks GeneratorObjects TrigInDetEvent TrigSteeringEvent AthenaKernel GaudiKernel TrigInDetTruthEvent ) diff --git a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruth.h b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruth.h index 50ca026642dd7c0d34adce4fca8dd35f5dd19f8f..e0e9352c078805cf5b878c753a8021a5229f2191 100644 --- a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruth.h +++ b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruth.h @@ -27,8 +27,8 @@ #include "TrigInDetEvent/TrigInDetTrack.h" #include "TrigInDetTruthEvent/TrigIDHitStats.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/HepMcParticleLink.h" #include <iostream> diff --git a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruthMap.h b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruthMap.h index ef1161cd6cc820ebcb39be179bcec924190d2721..2907e1cd1bdaac737230c06c0b13178aba84e47c 100644 --- a/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruthMap.h +++ b/Trigger/TrigTruthEvent/TrigInDetTruthEvent/TrigInDetTruthEvent/TrigInDetTrackTruthMap.h @@ -30,7 +30,7 @@ #include "TrigInDetEvent/TrigInDetTrack.h" #include "TrigInDetEvent/TrigInDetTrackCollection.h" #include "TrigInDetTruthEvent/TrigInDetTrackTruth.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" #include <iostream> diff --git a/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthCnv_p1_test.cxx b/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthCnv_p1_test.cxx index d7ec5861b68b59e9d6289d4c5f1b940f4151d6f6..bcfa97974d199e6b4a024f552a4dcbc779b3c75a 100644 --- a/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthCnv_p1_test.cxx +++ b/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthCnv_p1_test.cxx @@ -20,8 +20,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const TrigIDHitStats& p1, const TrigIDHitStats& p2) diff --git a/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthMapCnv_p1_test.cxx b/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthMapCnv_p1_test.cxx index 117c831846609653241c8fdb2a97525aba92152e..9f35e407de0385d77b26128e71af4a17311de5e4 100644 --- a/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthMapCnv_p1_test.cxx +++ b/Trigger/TrigTruthEvent/TrigTruthEventTPCnv/test/TrigInDetTrackTruthMapCnv_p1_test.cxx @@ -21,8 +21,8 @@ #include <iostream> #include "GeneratorObjectsTPCnv/initMcEventCollection.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenEvent.h" void compare (const TrigIDHitStats& p1, diff --git a/graphics/VP1/VP1Systems/VP1MCSystems/CMakeLists.txt b/graphics/VP1/VP1Systems/VP1MCSystems/CMakeLists.txt index faf9e3cf09e5a04b45c42c1cfadddb0b9995ae3d..645c04e21f8a826ab39a3099edfe18208cd2104b 100644 --- a/graphics/VP1/VP1Systems/VP1MCSystems/CMakeLists.txt +++ b/graphics/VP1/VP1Systems/VP1MCSystems/CMakeLists.txt @@ -12,12 +12,12 @@ atlas_depends_on_subdirs( PUBLIC Control/AthenaKernel Control/StoreGate GaudiKernel + Generators/AtlasHepMC Generators/GeneratorObjects graphics/VP1/VP1Utils ) # External dependencies: find_package( CLHEP ) -find_package( HepMC ) find_package( HepPDT ) # Generate UI files automatically: @@ -33,8 +33,8 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) # Component(s) in the package: atlas_add_library( VP1MCSystems VP1MCSystems/*.h src/*.h src/*.cxx src/*.qrc PUBLIC_HEADERS VP1MCSystems - PRIVATE_INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${HEPPDT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} LINK_LIBRARIES VP1Base StoreGateLib SGtests - PRIVATE_LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaKernel GaudiKernel GeneratorObjects VP1Utils ) + PRIVATE_LINK_LIBRARIES ${HEPPDT_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel GaudiKernel GeneratorObjects VP1Utils ) diff --git a/graphics/VP1/VP1Systems/VP1MCSystems/src/VP1MCSystem.cxx b/graphics/VP1/VP1Systems/VP1MCSystems/src/VP1MCSystem.cxx index 485516780a35c69c4f080320028658f7aeb9e529..ee86f8c1fab17bbd6ba84a1cbc1570471a613f47 100755 --- a/graphics/VP1/VP1Systems/VP1MCSystems/src/VP1MCSystem.cxx +++ b/graphics/VP1/VP1Systems/VP1MCSystems/src/VP1MCSystem.cxx @@ -18,8 +18,8 @@ #include <QTreeWidget> #include <QTreeWidgetItem> -#include "HepMC/GenVertex.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" #include "CLHEP/Vector/ThreeVector.h" #include "StoreGate/DataHandle.h" #include "GeneratorObjects/McEventCollection.h" diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/CMakeLists.txt b/graphics/VP1/VP1Systems/VP1TrackSystems/CMakeLists.txt index d7dd67ae84d71ef2a373bce6b1883bd9cfbe0bb8..ac160920e0204f5fc0d48855438be80c607ec2a6 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/CMakeLists.txt +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/CMakeLists.txt @@ -60,12 +60,13 @@ atlas_depends_on_subdirs( Tracking/TrkFitter/TrkFitterInterfaces graphics/VP1/VP1HEPVis graphics/VP1/VP1Systems/VP1GuideLineSystems - graphics/VP1/VP1Systems/VP1PRDSystems ) + graphics/VP1/VP1Systems/VP1PRDSystems + Generators/AtlasHepMC + ) # External dependencies: find_package( CLHEP ) find_package( Coin3D ) -find_package( HepMC ) find_package( Qt5 COMPONENTS Core Gui Widgets ) find_package( GeoModelCore ) @@ -79,13 +80,13 @@ set( CMAKE_AUTOMOC TRUE ) atlas_add_library( VP1TrackSystems VP1TrackSystems/*.h src/*.cxx PUBLIC_HEADERS VP1TrackSystems PRIVATE_INCLUDE_DIRS ${COIN3D_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - ${HEPMC_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} LINK_LIBRARIES ${GEOMODELCORE_LIBRARIES} GeoPrimitives Identifier xAODTracking GaudiKernel GeneratorObjects TrkDetDescrInterfaces TrkSurfaces TrkEventPrimitives TrkParameters VP1Base VP1Utils StoreGateLib SGtests MuonIdHelpersLib MuonRecHelperToolsLib Qt5::Core Qt5::Gui PRIVATE_LINK_LIBRARIES ${COIN3D_LIBRARIES} ${CLHEP_LIBRARIES} - ${HEPMC_LIBRARIES} AthContainers AtlasDetDescr EventPrimitives + AtlasHepMCLib AthContainers AtlasDetDescr EventPrimitives ForwardRegion_SimEv InDetIdentifier InDetReadoutGeometry PixelReadoutGeometry SCT_ReadoutGeometry TRT_ReadoutGeometry InDetPrepRawData InDetRIO_OnTrack InDetSimEvent MuonReadoutGeometry MuonChamberT0s MuonPrepRawData MuonRIO_OnTrack MuonSegment MuonSimEvent Particle diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/AscObj_TruthPoint.h b/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/AscObj_TruthPoint.h index d8dd64db021c112e366926a781dd95284e028a4e..c18c7be39ab4dc00bc6f296b97e8499dbd191031 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/AscObj_TruthPoint.h +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/AscObj_TruthPoint.h @@ -20,7 +20,8 @@ #include "VP1TrackSystems/AssociatedObjectHandleBase.h" -namespace HepMC { class GenVertex; class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" +#include "AtlasHepMC/GenVertex_fwd.h" class SimHitHandleBase; class AscObj_TruthPoint : public AssociatedObjectHandleBase { diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/TrackHandle_TruthTrack.h b/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/TrackHandle_TruthTrack.h index 8e1dd05154bf61c5ce8c8d1078c8d4ed23f9906a..7a9108728c65f001e2ddf07437186678ab2b6427 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/TrackHandle_TruthTrack.h +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/VP1TrackSystems/TrackHandle_TruthTrack.h @@ -23,7 +23,7 @@ #include "GeoPrimitives/GeoPrimitives.h" -namespace HepMC { class GenParticle; } +#include "AtlasHepMC/GenParticle_fwd.h" class TrackHandle_TruthTrack : public TrackHandleBase { public: diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/AscObj_TruthPoint.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/AscObj_TruthPoint.cxx index 012211733f0b5484592349a0dfa7f3a83868a1fd..9372689c3f0e830631a87c6b71c1c861fe5f06e6 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/AscObj_TruthPoint.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/AscObj_TruthPoint.cxx @@ -15,8 +15,8 @@ #include "VP1TrackSystems/AscObj_TruthPoint.h" #include "VP1TrackSystems/SimHitHandleBase.h" #include "VP1Base/VP1Msg.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" // Eigen migration //#include "TrkEventPrimitives/GlobalPosition.h" diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_SimulationTracks.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_SimulationTracks.cxx index 138c49e52df1eda46e0371fddea808cfe46b4c46..6aa0e7b9ffafc9c826cd46d9e93ad53da9a4737c 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_SimulationTracks.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_SimulationTracks.cxx @@ -23,9 +23,9 @@ #include "VP1Utils/VP1JobConfigInfo.h" #include "VP1Utils/VP1ParticleData.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/McEventCollection.h" #include "TrackRecord/TrackRecordCollection.h" diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_TruthTracks.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_TruthTracks.cxx index c55c287f5a97c29bbfb1fd521d8fb1bac1b82226..da876623a4f351bf0387c13c7381c73b604f397f 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_TruthTracks.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackCollHandle_TruthTracks.cxx @@ -25,9 +25,9 @@ #include "VP1Utils/VP1JobConfigInfo.h" #include "VP1Utils/VP1ParticleData.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "GeneratorObjects/McEventCollection.h" #include "TrackRecord/TrackRecordCollection.h" diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_FatrasTruthTrack.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_FatrasTruthTrack.cxx index b4bf7493dd8ff30c4d7c60b89d77273599c04380..82c1079516030fb2b31be87e5871592bcd3d36a1 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_FatrasTruthTrack.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_FatrasTruthTrack.cxx @@ -15,7 +15,7 @@ // #include "VP1TrackSystems/TrackHandle_FatrasTruthTrack.h" // #include "FatrasEvent/TrackParticleState.h" // #include "FatrasEvent/TruthAssociation.h" -// #include "HepMC/GenParticle.h" +// #include "AtlasHepMC/GenParticle.h" // // //____________________________________________________________________ // class TrackHandle_FatrasTruthTrack::Imp { diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_SimulationTrack.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_SimulationTrack.cxx index 3ab9d2d76e24ffdf891e4fc83ba5d8691e1166f0..9569c6286af869d01032b2c95ba0d4d1b63ec61e 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_SimulationTrack.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_SimulationTrack.cxx @@ -17,14 +17,14 @@ #include "VP1Base/VP1Msg.h" #include "TrkTrack/Track.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Vector/LorentzVector.h" #include "TrkTrack/Track.h" #include "AthContainers/DataVector.h" #include "TrkParameters/TrackParameters.h" #include "TrkSurfaces/PlaneSurface.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //____________________________________________________________________ class TrackHandle_SimulationTrack::Imp { diff --git a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_TruthTrack.cxx b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_TruthTrack.cxx index 4376dc3d7eb489a46fb652fdee8cbed5bcb49e6b..361191f6e9cd36d323882a9fdece265ac58a4355 100644 --- a/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_TruthTrack.cxx +++ b/graphics/VP1/VP1Systems/VP1TrackSystems/src/TrackHandle_TruthTrack.cxx @@ -17,14 +17,14 @@ #include "VP1Base/VP1Msg.h" #include "TrkTrack/Track.h" -#include "HepMC/GenParticle.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenParticle.h" +#include "AtlasHepMC/GenVertex.h" #include "CLHEP/Vector/LorentzVector.h" #include "TrkTrack/Track.h" #include "AthContainers/DataVector.h" #include "TrkParameters/TrackParameters.h" #include "TrkSurfaces/PlaneSurface.h" -#include "HepMC/GenParticle.h" +#include "AtlasHepMC/GenParticle.h" //____________________________________________________________________ class TrackHandle_TruthTrack::Imp { diff --git a/graphics/VP1/VP1Systems/VP1VertexSystems/CMakeLists.txt b/graphics/VP1/VP1Systems/VP1VertexSystems/CMakeLists.txt index a56ba86f3543428c61003c2f278fbae1125f1f98..3410988d2512d0a8408447552259266042f0a28a 100644 --- a/graphics/VP1/VP1Systems/VP1VertexSystems/CMakeLists.txt +++ b/graphics/VP1/VP1Systems/VP1VertexSystems/CMakeLists.txt @@ -12,6 +12,7 @@ atlas_depends_on_subdirs( PUBLIC DetectorDescription/GeoPrimitives GaudiKernel Generators/GeneratorObjects + Generators/AtlasHepMC Tracking/TrkEvent/TrkParticleBase Tracking/TrkEvent/TrkTrack Tracking/TrkEvent/TrkTrackLink @@ -21,7 +22,6 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Coin3D ) find_package( Eigen ) -find_package( HepMC ) find_package( Qt5 COMPONENTS Core Gui Widgets ) # Generate UI files automatically: @@ -38,7 +38,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) # Component(s) in the package: atlas_add_library( VP1VertexSystems VP1VertexSystems/*.h src/*.h src/*.cxx src/*.qrc PUBLIC_HEADERS VP1VertexSystems - PRIVATE_INCLUDE_DIRS ${COIN3D_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} + PRIVATE_INCLUDE_DIRS ${COIN3D_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES VP1Base GL Qt5::Core Qt5::Gui - PRIVATE_LINK_LIBRARIES ${COIN3D_LIBRARIES} ${EIGEN_LIBRARIES} ${HEPMC_LIBRARIES} GeoPrimitives GaudiKernel GeneratorObjects TrkParticleBase TrkTrack VxVertex VP1Utils ) + PRIVATE_LINK_LIBRARIES ${COIN3D_LIBRARIES} ${EIGEN_LIBRARIES} AtlasHepMCLib GeoPrimitives GaudiKernel GeneratorObjects TrkParticleBase TrkTrack VxVertex VP1Utils ) diff --git a/graphics/VP1/VP1Systems/VP1VertexSystems/src/VP1TruthVertexCollection.cxx b/graphics/VP1/VP1Systems/VP1VertexSystems/src/VP1TruthVertexCollection.cxx index 6ee2deebf20b96d6f2c5b60fa0ab49ad4251259f..48f567607eee058a7c609f04ce3692a1bb2f5842 100644 --- a/graphics/VP1/VP1Systems/VP1VertexSystems/src/VP1TruthVertexCollection.cxx +++ b/graphics/VP1/VP1Systems/VP1VertexSystems/src/VP1TruthVertexCollection.cxx @@ -31,8 +31,8 @@ #include <QStringList> #include "GeneratorObjects/McEventCollection.h" -#include "HepMC/GenEvent.h" -#include "HepMC/GenVertex.h" +#include "AtlasHepMC/GenEvent.h" +#include "AtlasHepMC/GenVertex.h" //#include "CLHEP/Units/SystemOfUnits.h" #include "GaudiKernel/SystemOfUnits.h"