ATLAS Offline Software
GenericTubeMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef InDetGeoModelUtils_GenericTubeMaker_h
6 #define InDetGeoModelUtils_GenericTubeMaker_h
7 
9 #include <string>
10 
11 class GeoVPhysVol;
12 class GeoPhysVol;
13 class GeoFullPhysVol;
14 class GeoShape;
15 class IRDBRecord;
16 
25 
26 namespace InDetDD {
27 
29 {
30 public:
32  const TubeVolData & volData() const {return m_volData;}
33  std::string name() const;
34  std::string materialName() const;
35  const GeoShape * buildShape();
36  void placeVolume(GeoPhysVol * parent, GeoVPhysVol * child, double zParent = 0);
37  void placeVolume(GeoFullPhysVol * fullparent, GeoVPhysVol * child, double zParent = 0);
38  void placeVolTwoSide(GeoPhysVol * parentPos, GeoPhysVol * parentNeg, GeoVPhysVol * child, double zParent = 0);
39  void placeVolTwoSide(GeoFullPhysVol * fullparentPos, GeoFullPhysVol * fullparentNeg, GeoVPhysVol * child, double zParent = 0);
40 
41 
42 private:
43 
44  void placeVolume(GeoPhysVol * parent, GeoFullPhysVol * fullparent, GeoVPhysVol * child, double zParent);
45  void placeVolTwoSide(GeoPhysVol * parentPos, GeoPhysVol * parentNeg,
46  GeoFullPhysVol * fullparentPos, GeoFullPhysVol * fullparentNeg,
47  GeoVPhysVol * child, double zParent);
48 
51 };
52 
53 } // end namespace
54 
55 #endif // InDetGeoModelUtils_GenericTubeMaker_h
InDetDD::GenericTubeMaker::m_volData
TubeVolData m_volData
Definition: GenericTubeMaker.h:50
InDetDD::GenericTubeMaker::buildShape
const GeoShape * buildShape()
Definition: GenericTubeMaker.cxx:37
InDetDD::GenericTubeMaker::m_record
const IRDBRecord * m_record
Definition: GenericTubeMaker.h:49
InDetDD::GenericTubeMaker::placeVolTwoSide
void placeVolTwoSide(GeoPhysVol *parentPos, GeoPhysVol *parentNeg, GeoVPhysVol *child, double zParent=0)
Definition: GenericTubeMaker.cxx:85
InDetDD::GenericTubeMaker
Definition: GenericTubeMaker.h:29
InDetDD::GenericTubeMaker::GenericTubeMaker
GenericTubeMaker(const IRDBRecord *)
Definition: GenericTubeMaker.cxx:21
InDetDD::GenericTubeMaker::materialName
std::string materialName() const
Definition: GenericTubeMaker.cxx:27
InDetDD::GenericTubeMaker::name
std::string name() const
Definition: GenericTubeMaker.cxx:32
test_pyathena.parent
parent
Definition: test_pyathena.py:15
InDetDD::GenericTubeMaker::volData
const TubeVolData & volData() const
Definition: GenericTubeMaker.h:32
InDetDD::TubeVolData
Helper class to read in generic TUBE, TUBS, CONS or PCON type volumes.
Definition: TubeVolData.h:17
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
IRDBRecord
IRDBRecord is one record in the IRDBRecordset object.
Definition: IRDBRecord.h:27
InDetDD::GenericTubeMaker::placeVolume
void placeVolume(GeoPhysVol *parent, GeoVPhysVol *child, double zParent=0)
Definition: GenericTubeMaker.cxx:75
TubeVolData.h