Skip to content
Snippets Groups Projects
Commit abe9020e authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

clean code, update copyright

parent 4e4b69f0
No related branches found
No related tags found
4 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!49298Adding a new TileDetectorFactoryLite to build Tile geo from SQLite
/* /*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/ */
/*
* Updates:
* - 2021, Riccardo Maria BIANCHI <riccardo.maria.bianchi@cern.ch>
* * Added TileDetectorFactoryLite to load the Tile geomnetry from SQLite
*/
#include "TileGeoModel/TileDetectorTool.h" #include "TileGeoModel/TileDetectorTool.h"
#include "TileDetectorFactory.h" #include "TileDetectorFactory.h"
#include "TileAtlasFactory.h" #include "TileAtlasFactory.h"
...@@ -117,7 +123,6 @@ StatusCode TileDetectorTool::create() ...@@ -117,7 +123,6 @@ StatusCode TileDetectorTool::create()
// Get the SQLite reader, if specified in the jobOption // Get the SQLite reader, if specified in the jobOption
GeoModelIO::ReadGeoModel* sqliteReader = geoDbTag->getSqliteReader(); GeoModelIO::ReadGeoModel* sqliteReader = geoDbTag->getSqliteReader();
std::cout << "sqliteReader: " << sqliteReader << std::endl;
if (0==dbManager->GetNumberOfEnv() && m_useNewFactory) { if (0==dbManager->GetNumberOfEnv() && m_useNewFactory) {
ATH_MSG_WARNING("New TileAtlasFactory can not be used because TileGlobals do not exist in Database"); ATH_MSG_WARNING("New TileAtlasFactory can not be used because TileGlobals do not exist in Database");
ATH_MSG_WARNING("Use old TileDetectorFactory instead"); ATH_MSG_WARNING("Use old TileDetectorFactory instead");
...@@ -149,23 +154,6 @@ StatusCode TileDetectorTool::create() ...@@ -149,23 +154,6 @@ StatusCode TileDetectorTool::create()
} }
// build the geometry from the Oracle-based GeometryDB // build the geometry from the Oracle-based GeometryDB
else { else {
/*
if(m_testBeam)
{
TileTBFactory theTileTBFactory(detStore().operator->(),m_manager,m_addPlates,m_uShape,m_glue,m_csTube,&log);
theTileTBFactory.create(world);
}
else if (m_useNewFactory)
{
TileAtlasFactory theTileFactory(detStore().operator->(),m_manager,m_addPlates,m_uShape,m_glue,m_csTube,&log,m_geometryConfig=="FULL");
theTileFactory.create(world);
}
else
{
TileDetectorFactory theTileFactory(detStore().operator->(),m_manager,m_addPlates,m_uShape,m_glue,m_csTube,&log);
theTileFactory.create(world);
}
*/
if(m_switches.testBeam) if(m_switches.testBeam)
{ {
TileTBFactory theTileTBFactory(detStore().operator->(),m_manager,m_switches,&log); TileTBFactory theTileTBFactory(detStore().operator->(),m_manager,m_switches,&log);
......
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