ATLAS Offline Software
SCT_ComponentFactory.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/SystemOfUnits.h"
7 #include "GeoModelRead/ReadGeoModel.h"
8 #include <sstream>
9 #include <string>
10 
12 
14 
16  InDetDD::SCT_DetectorManager* detectorManager,
17  SCT_GeometryManager* geometryManager,
18  SCT_MaterialManager* materials)
19  : m_detectorManager(detectorManager),
20  m_geometryManager(geometryManager),
21  m_materials(materials),
22  m_name(name)
23 {}
24 
26 {}
27 
28 std::string
30 {
31  std::ostringstream str;
32  str << i;
33  return str.str();
34 }
35 
36 double
38 {
39  return s_epsilon;
40 }
41 
42 
44  InDetDD::SCT_DetectorManager* detectorManager,
45  SCT_GeometryManager* geometryManager,
46  SCT_MaterialManager* materials,
47  GeoModelIO::ReadGeoModel* sqliteReader,
48  std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
49  std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX) :
50  SCT_ComponentFactory(name, detectorManager, geometryManager, materials),
51  m_logVolume(nullptr),
52  m_sqliteReader(sqliteReader),
53  m_mapFPV(mapFPV),
54  m_mapAX(mapAX)
55 {};
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_ComponentFactory
Definition: SCT_ComponentFactory.h:27
SCT_UniqueComponentFactory::SCT_UniqueComponentFactory
SCT_UniqueComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr, GeoModelIO::ReadGeoModel *sqliteReader=nullptr, std::shared_ptr< std::map< std::string, GeoFullPhysVol * >> mapFPV=nullptr, std::shared_ptr< std::map< std::string, GeoAlignableTransform * >> mapAX=nullptr)
Definition: SCT_ComponentFactory.cxx:43
SCT_ComponentFactory::epsilon
double epsilon() const
Definition: SCT_ComponentFactory.cxx:37
SCT_ComponentFactory.h
SCT_ComponentFactory::~SCT_ComponentFactory
virtual ~SCT_ComponentFactory()
Definition: SCT_ComponentFactory.cxx:25
lumiFormat.i
int i
Definition: lumiFormat.py:92
SCT_ComponentFactory::intToString
std::string intToString(int i) const
Definition: SCT_ComponentFactory.cxx:29
SCT_ComponentFactory::s_epsilon
static const double s_epsilon
Definition: SCT_ComponentFactory.h:50
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
SCT_ComponentFactory::SCT_ComponentFactory
SCT_ComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_ComponentFactory.cxx:15
str
Definition: BTagTrackIpAccessor.cxx:11
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25