ATLAS Offline Software
Loading...
Searching...
No Matches
DetectorFieldManagerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef G4ATLASTOOLS_DetectorFieldManagerTool_H
6#define G4ATLASTOOLS_DetectorFieldManagerTool_H
7
8// Local includes
10
19{
20
21 public:
22
24 DetectorFieldManagerTool( const std::string& type, const std::string& name,
25 const IInterface* parent );
26
29
31 StatusCode initializeField() override final;
32
34
36 Gaudi::Property<std::vector<std::string> > m_logVolumeList{this, "LogicalVolumes", {}, "List of logical volumes to which the field will be applied"};
37 Gaudi::Property<std::vector<std::string> > m_physVolumeList{this, "PhysicalVolumes", {}, "List of physical volumes to which the field will be applied"};
38
40 Gaudi::Property<bool> m_muonOnlyField{this, "MuonOnlyField", false, "Only muons experience the magnetic field"};
41};
42
43#endif // G4ATLASTOOLS_DetectorFieldManagerTool_H
#define protected
Gaudi::Property< std::vector< std::string > > m_physVolumeList
Gaudi::Property< std::vector< std::string > > m_logVolumeList
List of volumes to assign this field configuration to.
DetectorFieldManagerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
~DetectorFieldManagerTool()
Empty destructor.
StatusCode initializeField() override final
Initialize a field manager.
Gaudi::Property< bool > m_muonOnlyField
Option for muons feeling the B-field only.
G4FieldManagerToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.