ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasTools
G4AtlasTools
RegionCreator.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 G4ATLASTOOLS_REGIONCREATOR_H
6
#define G4ATLASTOOLS_REGIONCREATOR_H
7
8
// Base classes
9
#include "
G4AtlasInterfaces/IRegionCreator.h
"
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
12
#include "GaudiKernel/SystemOfUnits.h"
13
14
// STL library
15
#include <string>
16
24
25
class
RegionCreator
final :
public
extends<AthAlgTool, IRegionCreator> {
26
public
:
27
// Standard constructor and destructor
28
RegionCreator
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
29
~RegionCreator
() {}
30
31
virtual
StatusCode
initialize
()
override
;
32
33
void
Dump
()
override
;
34
35
void
Construct
()
override
;
36
37
private
:
38
Gaudi::Property<std::string>
m_regionName
{
this
,
"RegionName"
,
""
,
"Region name (same as the Tool name if not set)"
};
39
Gaudi::Property<double>
m_gammaCut
{
this
,
"GammaCut"
, 1.*Gaudi::Units::mm,
"Cut to be applied for gammas"
};
40
Gaudi::Property<double>
m_electronCut
{
this
,
"ElectronCut"
, 1.,
"Cut to be applied for electrons"
};
41
Gaudi::Property<double>
m_positronCut
{
this
,
"PositronCut"
, 1.,
"Cut to be applied for positrons"
};
42
Gaudi::Property<double>
m_protonCut
{
this
,
"ProtonCut"
, 1.,
"Cut to be applied for gammas"
};
43
Gaudi::Property<std::vector<std::string> >
m_logicalVolumes
{
this
,
"VolumeList"
, {},
"List of volumes to be included in this region"
};
44
BooleanProperty
m_dumpRegion
{
this
,
"DumpRegion"
,
false
,
""
};
45
};
46
47
#endif
AthAlgTool.h
IRegionCreator.h
RegionCreator::Construct
void Construct() override
Definition
RegionCreator.cxx:38
RegionCreator::m_regionName
Gaudi::Property< std::string > m_regionName
Definition
RegionCreator.h:38
RegionCreator::~RegionCreator
~RegionCreator()
Definition
RegionCreator.h:29
RegionCreator::m_electronCut
Gaudi::Property< double > m_electronCut
Definition
RegionCreator.h:40
RegionCreator::initialize
virtual StatusCode initialize() override
Definition
RegionCreator.cxx:21
RegionCreator::m_logicalVolumes
Gaudi::Property< std::vector< std::string > > m_logicalVolumes
Definition
RegionCreator.h:43
RegionCreator::m_protonCut
Gaudi::Property< double > m_protonCut
Definition
RegionCreator.h:42
RegionCreator::Dump
void Dump() override
Definition
RegionCreator.cxx:79
RegionCreator::m_gammaCut
Gaudi::Property< double > m_gammaCut
Definition
RegionCreator.h:39
RegionCreator::m_dumpRegion
BooleanProperty m_dumpRegion
Definition
RegionCreator.h:44
RegionCreator::RegionCreator
RegionCreator(const std::string &type, const std::string &name, const IInterface *parent)
Definition
RegionCreator.cxx:15
RegionCreator::m_positronCut
Gaudi::Property< double > m_positronCut
Definition
RegionCreator.h:41
type
Generated on
for ATLAS Offline Software by
1.17.0