ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12#include "GaudiKernel/SystemOfUnits.h"
13
14// STL library
15#include <string>
16
24
25class RegionCreator final : public extends<AthAlgTool, IRegionCreator> {
26public:
27 // Standard constructor and destructor
28 RegionCreator(const std::string& type, const std::string& name, const IInterface *parent);
30
31 virtual StatusCode initialize() override;
32
33 void Dump() override;
34
35 void Construct() override;
36
37private:
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
void Construct() override
Gaudi::Property< std::string > m_regionName
Gaudi::Property< double > m_electronCut
virtual StatusCode initialize() override
Gaudi::Property< std::vector< std::string > > m_logicalVolumes
Gaudi::Property< double > m_protonCut
void Dump() override
Gaudi::Property< double > m_gammaCut
BooleanProperty m_dumpRegion
RegionCreator(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< double > m_positronCut