ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14#ifndef TileAtlasFactory_h
15#define TileAtlasFactory_h 1
16
17#include "GeoModelKernel/GeoVDetectorFactory.h"
20
21class MsgStream;
22class StoreGateSvc;
23class GeoPhysVol;
24
25
26class 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
81
84};
85
86#endif
void print(char *figname, TCanvas *c1)
The Athena Transient Store API.
std::vector< std::string > m_volumeNames
all additional variables which passed to constructor
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:
virtual const TileDetDescrManager * getDetectorManager() const
Access function to TileDetDescr geometry data.
std::vector< double > m_volumePositions
virtual void create(GeoPhysVol *world)
Creation of Tile geometry.
MsgStream * m_log
Get message SVC.
TileSwitches m_switches
all switches
bool m_verbose
Flag for activation verbose level for debugging.
TileAtlasFactory(StoreGateSvc *pDetStore, TileDetDescrManager *manager, const TileSwitches &switches, MsgStream *log, bool fullGeo)
Constructor.
TileDetDescrManager * m_detectorManager
Detector pointer to TileDetDescrManager.
StoreGateSvc * m_detectorStore
Detector pointer to Store Gate service.
std::vector< GeoPhysVol * > m_volumePtrs
bool m_fullGeo
Geometry configuration: FULL, RECO.
~TileAtlasFactory()
Destructor.