ATLAS Offline Software
TileAtlasFactory.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
14 #ifndef TileAtlasFactory_h
15 #define TileAtlasFactory_h 1
16 
17 #include "GeoModelKernel/GeoVDetectorFactory.h"
20 
21 class MsgStream;
22 class StoreGateSvc;
23 class GeoPhysVol;
24 
25 
26 class TileAtlasFactory : public GeoVDetectorFactory
27 {
28  public:
29 
32  const TileSwitches & switches,
33  MsgStream *log, bool fullGeo);
34 
36  const TileSwitches & switches,
37  const std::vector<std::string> & volumeNames,
38  std::vector<GeoPhysVol *> & volumePtrs,
39  const std::vector<double> & volumePositions,
40  MsgStream *log, bool fullGeo);
41 
44 
46  virtual void create(GeoPhysVol *world);
47 
49  virtual const TileDetDescrManager * getDetectorManager() const { return m_detectorManager; }
50 
57  void checking(const std::string& VolumeName, bool print, int level,
58  double X1, double X2, double Y1, double Y2, double Z);
59 
60  private:
61 
64 
67 
69  MsgStream *m_log;
70 
73 
75  std::vector<std::string> m_volumeNames;
76  std::vector<GeoPhysVol *> m_volumePtrs;
77  std::vector<double> m_volumePositions;
78 
80  bool m_verbose;
81 
83  bool m_fullGeo;
84 };
85 
86 #endif
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
TileAtlasFactory
Definition: TileAtlasFactory.h:27
TileAtlasFactory::create
virtual void create(GeoPhysVol *world)
Creation of Tile geometry.
Definition: TileAtlasFactory.cxx:100
TileAtlasFactory::TileAtlasFactory
TileAtlasFactory(StoreGateSvc *pDetStore, TileDetDescrManager *manager, const TileSwitches &switches, MsgStream *log, bool fullGeo)
Constructor.
Definition: TileAtlasFactory.cxx:57
TileAtlasFactory::m_detectorStore
StoreGateSvc * m_detectorStore
Detector pointer to Store Gate service.
Definition: TileAtlasFactory.h:63
TileDetDescrManager.h
TileAtlasFactory::m_verbose
bool m_verbose
Flag for activation verbose level for debugging.
Definition: TileAtlasFactory.h:80
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TileAtlasFactory::m_log
MsgStream * m_log
Get message SVC.
Definition: TileAtlasFactory.h:69
TileAtlasFactory::m_fullGeo
bool m_fullGeo
Geometry configuration: FULL, RECO.
Definition: TileAtlasFactory.h:83
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
TileAtlasFactory::~TileAtlasFactory
~TileAtlasFactory()
Destructor.
Definition: TileAtlasFactory.cxx:96
TileDetDescrManager
Definition: TileDetDescrManager.h:33
TileSwitches
Definition: TileSwitches.h:15
TileAtlasFactory::m_switches
TileSwitches m_switches
all switches
Definition: TileAtlasFactory.h:72
TileAtlasFactory::checking
void checking(const std::string &VolumeName, bool print, int level, double X1, double X2, double Y1, double Y2, double Z)
Function for checking empty volumes:
Definition: TileAtlasFactory.cxx:3391
TileAtlasFactory::m_volumeNames
std::vector< std::string > m_volumeNames
all additional variables which passed to constructor
Definition: TileAtlasFactory.h:75
TileAtlasFactory::m_detectorManager
TileDetDescrManager * m_detectorManager
Detector pointer to TileDetDescrManager.
Definition: TileAtlasFactory.h:66
TileSwitches.h
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
TileAtlasFactory::m_volumePtrs
std::vector< GeoPhysVol * > m_volumePtrs
Definition: TileAtlasFactory.h:76
TileAtlasFactory::getDetectorManager
virtual const TileDetDescrManager * getDetectorManager() const
Access function to TileDetDescr geometry data.
Definition: TileAtlasFactory.h:49
TileAtlasFactory::m_volumePositions
std::vector< double > m_volumePositions
Definition: TileAtlasFactory.h:77