ATLAS Offline Software
Loading...
Searching...
No Matches
EMECConstruction.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
12
13#ifndef LARGEOENDCAP_EMECCONSTRUCTION_H
14#define LARGEOENDCAP_EMECCONSTRUCTION_H
15
17#include<vector>
18#include <string>
19class GeoFullPhysVol;
20class GeoMaterial;
21
22namespace LArGeo {
23
28 : public AthMessaging
29 {
30 public:
31
32 EMECConstruction(bool is_tb = false, bool has_inner = true, bool has_outer = true);
34
35 // Get the envelope containing this detector.
36 virtual GeoIntrusivePtr<GeoFullPhysVol> GetEnvelope(bool bPos = true);
37
38 // Set fullGeo flag
39 void setFullGeo(bool flag);
40
41 void setInnerVariant(const std::string &v){ m_innerWheelVariant = v; }
42 void setOuterVariant(const std::string &v){ m_outerWheelVariant = v; }
43
44 private:
45 bool m_fullGeo; // true->FULL, false->RECO
46
47 bool m_isTB;
50
53
54 static void place_custom_solids(
55 GeoIntrusivePtr<GeoFullPhysVol>fullPV,
56 std::vector<std::string> &absorbers,
57 std::vector<std::string> &electrodes,
58 int multilayered_absorbers,
59 const GeoMaterial *Absorber, const GeoMaterial *Electrode,
60 const GeoMaterial *Glue, const GeoMaterial *Lead
61 );
62
63 };
64
65} // namespace LArGeo
66
67#endif // __EMECConstruction_H__
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
void setOuterVariant(const std::string &v)
EMECConstruction(bool is_tb=false, bool has_inner=true, bool has_outer=true)
virtual GeoIntrusivePtr< GeoFullPhysVol > GetEnvelope(bool bPos=true)
void setInnerVariant(const std::string &v)
static void place_custom_solids(GeoIntrusivePtr< GeoFullPhysVol >fullPV, std::vector< std::string > &absorbers, std::vector< std::string > &electrodes, int multilayered_absorbers, const GeoMaterial *Absorber, const GeoMaterial *Electrode, const GeoMaterial *Glue, const GeoMaterial *Lead)