Skip to content
Snippets Groups Projects
Commit 980a4fd7 authored by Dave Casper's avatar Dave Casper
Browse files

Merge branch 'master' into 'master'

Conform with ATLAS changes

See merge request !36
parents 9f4ac684 5a7fdc02
No related branches found
No related tags found
1 merge request!36Conform with ATLAS changes
Pipeline #1233675 passed
Showing
with 10 additions and 42 deletions
...@@ -13,7 +13,6 @@ atlas_depends_on_subdirs( PRIVATE ...@@ -13,7 +13,6 @@ atlas_depends_on_subdirs( PRIVATE
find_package( six ) find_package( six )
# Install files from the package: # Install files from the package:
atlas_install_headers( CalypsoCommon )
atlas_install_python_modules( python/*.py python/Utils ) atlas_install_python_modules( python/*.py python/Utils )
#atlas_install_joboptions( share/Preparation.py share/Execution.py share/Atlas.UnixStandardJob.py test/*.py #atlas_install_joboptions( share/Preparation.py share/Execution.py share/Atlas.UnixStandardJob.py test/*.py
# share/zeroJO.py share/Atlas_Gen.UnixStandardJob.py share/MemTraceInclude.py share/runbatch.py) # share/zeroJO.py share/Atlas_Gen.UnixStandardJob.py share/MemTraceInclude.py share/runbatch.py)
......
...@@ -3,16 +3,15 @@ ...@@ -3,16 +3,15 @@
# #
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from FaserSCT_GeoModel.FaserSCT_GeoModelConfig import FaserSCT_GeometryCfg
def SctGeometryCfg (flags): def SctGeometryCfg (flags):
acc = ComponentAccumulator() acc = ComponentAccumulator()
from FaserSCT_GeoModel.FaserSCT_GeoModelConfig import FaserSCT_GeometryCfg
acc.merge(FaserSCT_GeometryCfg( flags )) acc.merge(FaserSCT_GeometryCfg( flags ))
return acc return acc
if __name__ == "__main__": if __name__ == "__main__":
import os
from AthenaCommon.Logging import log from AthenaCommon.Logging import log
from AthenaCommon.Constants import DEBUG from AthenaCommon.Constants import DEBUG
from AthenaCommon.Configurable import Configurable from AthenaCommon.Configurable import Configurable
......
...@@ -7,7 +7,6 @@ atlas_subdir( GeoModelSvc ) ...@@ -7,7 +7,6 @@ atlas_subdir( GeoModelSvc )
# Declare the package's dependencies: # Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE atlas_depends_on_subdirs( PRIVATE
Control/CxxUtils
Control/AthenaBaseComps Control/AthenaBaseComps
Control/AthenaKernel Control/AthenaKernel
Control/SGTools Control/SGTools
...@@ -39,6 +38,5 @@ atlas_add_component( GeoModelSvc ...@@ -39,6 +38,5 @@ atlas_add_component( GeoModelSvc
LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} ${GEOMODEL_LIBRARIES} AthenaBaseComps CxxUtils AthenaKernel SGTools StoreGateLib SGtests GeoModelUtilities GeoModelFaserUtilities GeoModelDBManager GeoWrite EventInfo GaudiKernel ) LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} ${GEOMODEL_LIBRARIES} AthenaBaseComps CxxUtils AthenaKernel SGTools StoreGateLib SGtests GeoModelUtilities GeoModelFaserUtilities GeoModelDBManager GeoWrite EventInfo GaudiKernel )
# Install files from the package: # Install files from the package:
atlas_install_headers( GeoModelSvc )
#atlas_install_joboptions( share/*.py ) #atlas_install_joboptions( share/*.py )
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "GaudiKernel/ISvcLocator.h" #include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/IConversionSvc.h" #include "GaudiKernel/IConversionSvc.h"
#include "GaudiKernel/SystemOfUnits.h" #include "GaudiKernel/SystemOfUnits.h"
#include "CxxUtils/make_unique.h"
#include "RDBAccessSvc/IRDBAccessSvc.h" #include "RDBAccessSvc/IRDBAccessSvc.h"
#include "RDBAccessSvc/IRDBRecordset.h" #include "RDBAccessSvc/IRDBRecordset.h"
...@@ -337,7 +336,7 @@ StatusCode GeoModelSvc::geoInit() ...@@ -337,7 +336,7 @@ StatusCode GeoModelSvc::geoInit()
int mem,cpu; int mem,cpu;
std::unique_ptr<std::ofstream> geoModelStats; std::unique_ptr<std::ofstream> geoModelStats;
if(m_statisticsToFile) { if(m_statisticsToFile) {
geoModelStats = CxxUtils::make_unique<std::ofstream>("GeoModelStatistics"); geoModelStats = std::make_unique<std::ofstream>("GeoModelStatistics");
*geoModelStats << "Detector Configuration flag = " << m_FaserVersion << std::endl; *geoModelStats << "Detector Configuration flag = " << m_FaserVersion << std::endl;
} }
......
...@@ -8,7 +8,6 @@ atlas_subdir( IdDictDetDescrCnv ) ...@@ -8,7 +8,6 @@ atlas_subdir( IdDictDetDescrCnv )
# Declare the package's dependencies: # Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE atlas_depends_on_subdirs( PRIVATE
Control/AthenaBaseComps Control/AthenaBaseComps
Control/CxxUtils
Control/StoreGate Control/StoreGate
Control/AthenaKernel Control/AthenaKernel
Database/RDBAccessSvc Database/RDBAccessSvc
...@@ -33,5 +32,4 @@ atlas_add_component( IdDictDetDescrCnv ...@@ -33,5 +32,4 @@ atlas_add_component( IdDictDetDescrCnv
LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} AthenaBaseComps CxxUtils AthenaKernel StoreGateLib SGtests FaserDetDescr DetDescrCnvSvcLib GeoModelUtilities GeoModelFaserUtilities IdDictDetDescr IdDictParser Identifier GaudiKernel ) LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} AthenaBaseComps CxxUtils AthenaKernel StoreGateLib SGtests FaserDetDescr DetDescrCnvSvcLib GeoModelUtilities GeoModelFaserUtilities IdDictDetDescr IdDictParser Identifier GaudiKernel )
# Install files from the package: # Install files from the package:
atlas_install_headers( IdDictDetDescrCnv )
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "IdDictDetDescr/IdDictManager.h" #include "IdDictDetDescr/IdDictManager.h"
#include "FaserDetDescr/FaserDetectorID.h" #include "FaserDetDescr/FaserDetectorID.h"
#include "CxxUtils/make_unique.h"
//<<<<<< PRIVATE DEFINES >>>>>> //<<<<<< PRIVATE DEFINES >>>>>>
//<<<<<< PRIVATE CONSTANTS >>>>>> //<<<<<< PRIVATE CONSTANTS >>>>>>
...@@ -132,7 +131,7 @@ FaserIDDetDescrCnv::createObj(IOpaqueAddress* pAddr, DataObject*& pObj) ...@@ -132,7 +131,7 @@ FaserIDDetDescrCnv::createObj(IOpaqueAddress* pAddr, DataObject*& pObj)
// create the helper // create the helper
auto faser_id = CxxUtils::make_unique<FaserDetectorID>(); auto faser_id = std::make_unique<FaserDetectorID>();
faser_id->setMessageSvc(msgSvc()); faser_id->setMessageSvc(msgSvc());
if (idDictMgr->initializeHelper(*faser_id)) { if (idDictMgr->initializeHelper(*faser_id)) {
......
...@@ -24,7 +24,7 @@ VetoSensorSDTool::VetoSensorSDTool(const std::string& type, const std::string& n ...@@ -24,7 +24,7 @@ VetoSensorSDTool::VetoSensorSDTool(const std::string& type, const std::string& n
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4VSensitiveDetector* VetoSensorSDTool::makeSD() G4VSensitiveDetector* VetoSensorSDTool::makeSD() const
{ {
ATH_MSG_DEBUG( "Creating Veto SD: " << name() ); ATH_MSG_DEBUG( "Creating Veto SD: " << name() );
return new VetoSensorSD(name(), m_outputCollectionNames[0]); return new VetoSensorSD(name(), m_outputCollectionNames[0]);
......
...@@ -30,7 +30,7 @@ class VetoSensorSDTool : public SensitiveDetectorBase ...@@ -30,7 +30,7 @@ class VetoSensorSDTool : public SensitiveDetectorBase
protected: protected:
// Make me an SD! // Make me an SD!
G4VSensitiveDetector* makeSD() override final; G4VSensitiveDetector* makeSD() const override final;
}; };
#endif //VETOG4_SD_VETOSENSORSDTOOL_H #endif //VETOG4_SD_VETOSENSORSDTOOL_H
################################################################################
# Package: G4FaserInterfaces
################################################################################
# Declare the package name:
atlas_subdir( G4FaserInterfaces )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel )
# External dependencies:
find_package( CLHEP )
find_package( Geant4 )
find_package( XercesC )
# Component(s) in the package:
atlas_add_library( G4FaserInterfaces
PUBLIC_HEADERS G4FaserInterfaces
INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} GaudiKernel )
...@@ -32,7 +32,7 @@ find_package( GeoModel ) ...@@ -32,7 +32,7 @@ find_package( GeoModel )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( Geo2G4Lib atlas_add_library( Geo2G4Lib
src/*.cxx src/*.cxx
PUBLIC_HEADERS Geo2G4 NO_PUBLIC_HEADERS
INCLUDE_DIRS ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} INCLUDE_DIRS ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEOMODEL_INCLUDE_DIRS} PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${GEOMODEL_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
......
...@@ -24,7 +24,7 @@ FaserSctSensorSDTool::FaserSctSensorSDTool(const std::string& type, const std::s ...@@ -24,7 +24,7 @@ FaserSctSensorSDTool::FaserSctSensorSDTool(const std::string& type, const std::s
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4VSensitiveDetector* FaserSctSensorSDTool::makeSD() G4VSensitiveDetector* FaserSctSensorSDTool::makeSD() const
{ {
ATH_MSG_DEBUG( "Creating FaserSCT SD: " << name() ); ATH_MSG_DEBUG( "Creating FaserSCT SD: " << name() );
return new FaserSctSensorSD(name(), m_outputCollectionNames[0]); return new FaserSctSensorSD(name(), m_outputCollectionNames[0]);
......
...@@ -30,7 +30,7 @@ class FaserSctSensorSDTool : public SensitiveDetectorBase ...@@ -30,7 +30,7 @@ class FaserSctSensorSDTool : public SensitiveDetectorBase
protected: protected:
// Make me an SD! // Make me an SD!
G4VSensitiveDetector* makeSD() override final; G4VSensitiveDetector* makeSD() const override final;
}; };
#endif //FASERSCT_G4_SD_FASERSCTSENSORSDTOOL_H #endif //FASERSCT_G4_SD_FASERSCTSENSORSDTOOL_H
...@@ -28,7 +28,6 @@ atlas_add_component( VTI12Algs ...@@ -28,7 +28,6 @@ atlas_add_component( VTI12Algs
PRIVATE_LINK_LIBRARIES VTI12Gui VP1UtilsBase ) PRIVATE_LINK_LIBRARIES VTI12Gui VP1UtilsBase )
# Install files from the package: # Install files from the package:
atlas_install_headers( VTI12Algs )
atlas_install_python_modules( python/*.py ) atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
atlas_install_scripts( share/vti12 ) atlas_install_scripts( share/vti12 )
......
...@@ -27,7 +27,7 @@ set( CMAKE_AUTOMOC TRUE ) ...@@ -27,7 +27,7 @@ set( CMAKE_AUTOMOC TRUE )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( VTI12GuideLineSystems VTI12GuideLineSystems/*.h src/*.cxx atlas_add_library( VTI12GuideLineSystems VTI12GuideLineSystems/*.h src/*.cxx
PUBLIC_HEADERS VP1GuideLineSystems NO_PUBLIC_HEADERS
INCLUDE_DIRS ${COIN3D_INCLUDE_DIRS} INCLUDE_DIRS ${COIN3D_INCLUDE_DIRS}
LINK_LIBRARIES ${COIN3D_LIBRARIES} GeoPrimitives VP1Base VTI12Utils LINK_LIBRARIES ${COIN3D_LIBRARIES} GeoPrimitives VP1Base VTI12Utils
Qt5::Core Qt5::Gui Qt5::Core Qt5::Gui
......
...@@ -55,7 +55,7 @@ void SbPolyhedrizeAction::handleShift(const GeoShapeShift *shift) ...@@ -55,7 +55,7 @@ void SbPolyhedrizeAction::handleShift(const GeoShapeShift *shift)
#include <VP1HEPVis/SbRotation.h> //using doubles instead of floats. #include <VP1HEPVis/SbRotation.h> //using doubles instead of floats.
HEPVis::SbRotation rot(rotation(0,0),rotation(1,0),rotation(2,0),0, HEPVis::SbRotation rot(rotation(0,0),rotation(1,0),rotation(2,0),0,
rotation(0,1),rotation(1,1),rotation(2,1),0, rotation(0,1),rotation(1,1),rotation(2,1),0,
rotation(0,2),rotation(1,2),rotation(2.2),0, rotation(0,2),rotation(1,2),rotation(2,2),0,
0,0,0,1); 0,0,0,1);
//--- //---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment