ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDetDescr/MuonGeoModel/MuonGeoModel/MuonDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONGEOMODEL_MUONDETECTORTOOL_H
6#define MUONGEOMODEL_MUONDETECTORTOOL_H
7
8#include "GeoPrimitives/GeoPrimitives.h" // need to include Amg stuff first to avoid that another Eigen implementation is included first which breaks compilation
10#include "GeoModelKernel/GeoPhysVol.h"
11
12namespace MuonGM {
14}
15
16class MuonDetectorTool final : public GeoModelTool {
17
18 public:
19 // Standard Constructor
20 MuonDetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
21
22 // Standard Destructor
23 virtual ~MuonDetectorTool() override final;
24
25 // initialize - needed to retrieve the alignment Tool
26 virtual StatusCode initialize() override;
27
28 // build the geometry
29 virtual StatusCode create() override final;
30 StatusCode createFactory(MuonGM::MuonDetectorManager * &, GeoPhysVol* world ) const;
31
32 // Dereference tree tops and drop readout objects
33 virtual StatusCode clear() override final;
34
35 private:
36
37 Gaudi::Property<std::string> m_layout{this, "LayoutName", "R.08" };
38 Gaudi::Property<bool> m_accessCondDb{this,"UseConditionDb", true};
39 Gaudi::Property<bool> m_asciiCondData{this,"UseAsciiConditionData", false};
40
41 Gaudi::Property<bool> m_includeCutouts{this, "IncludeCutouts", false};
42 Gaudi::Property<bool> m_includeCutoutsBog{this, "IncludeCutoutsBog", false };
43 Gaudi::Property<bool> m_includeCtbBis{this, "IncludeCtbBis" , false };
44
45 Gaudi::Property<bool> m_dumpMemoryBreakDown{this, "DumpMemoryBreakDown", false};
46 Gaudi::Property<bool> m_enableFineClashFixing{this, "EnableFineClashFixing", false};
47 Gaudi::Property<bool> m_hasCSC{this,"HasCSC", true};
48 Gaudi::Property<bool> m_hasSTgc{this, "HasSTgc", true};
49 Gaudi::Property<bool> m_hasMM{this, "HasMM", true};
50
51 Gaudi::Property<bool> m_stationSelection{this, "StationSelection", false};
52 Gaudi::Property<std::vector<std::string>> m_selectedStations{this, "SelectedStations", {}};
53 Gaudi::Property<std::vector<int>> m_selectedStEta{this,"SelectedStJzz",{}};
54 Gaudi::Property<std::vector<int>> m_selectedStPhi{this,"SelectedStJff",{}};
55
56
57 Gaudi::Property<int> m_controlAlines{this, "ControlAlines", 111111, "allowed values are 0 - 111111"};
58 Gaudi::Property<bool> m_dumpAlines{this, "DumpAlines", false};
59 Gaudi::Property<std::string> m_altAsztFile{this, "AlternateASZTFile", "" };
60 Gaudi::Property<int> m_minimalGeoFlag{this, "MinimalGeoFlag", 0};
61
62 Gaudi::Property<bool> m_useCscIntAlines{this, "EnableCscInternalAlignment", false};
63 Gaudi::Property<int> m_controlCscIntAlines{this, "ControlCscInternalAlines", 111111 , "allowed values are 0 - 111111"};
64 Gaudi::Property<bool> m_dumpCscIntAlines{this, "DumpCscInternalAlines", false};
65 Gaudi::Property<bool> m_useCscIntAlinesFromGM{this, "UseIlinesFromGM", true};
66 Gaudi::Property<std::string> m_altCscIntAlinesFile{this, "AlternateCscIntAlignFile", ""};
67
68 Gaudi::Property<bool> m_beeNoShiftInDefault{this, "BEENoShift", false, "Turn off the initial 111 mm shift in BEE station (real data)"};
70};
71
72#endif // GEOMODELEXAMPLES_TOYDETECTORTOOL_H
Gaudi::Property< std::vector< int > > m_selectedStPhi
virtual StatusCode clear() override final
MuonDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor(s)
Gaudi::Property< std::vector< int > > m_selectedStEta
virtual StatusCode create() override final
Create the Detector Node corresponding to this tool.
Gaudi::Property< std::vector< std::string > > m_selectedStations
StatusCode createFactory(MuonGM::MuonDetectorManager *&, GeoPhysVol *world) const
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27