ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Core
ISF_Services
src
ATLFAST_EnvelopeDefSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ATLFAST_EnvelopeDefSvc.h, (c) ATLAS Detector software
8
#ifndef ISF_SERVICES_ATLFAST_ENVELOPEDEFSVC_H
9
#define ISF_SERVICES_ATLFAST_ENVELOPEDEFSVC_H
10
11
// STL includes
12
#include <string>
13
#include <vector>
14
#include <utility>
15
16
// GaudiKernel & Athena
17
#include "
AthenaBaseComps/AthService.h
"
18
19
// interface header file
20
#include "
SubDetectorEnvelopes/IEnvelopeDefSvc.h
"
21
22
namespace
ISF
{
23
24
class
ATLFAST_EnvelopeDefSvc
:
public
extends<AthService, IEnvelopeDefSvc> {
25
26
public
:
28
ATLFAST_EnvelopeDefSvc
(
const
std::string& name, ISvcLocator* svc);
29
31
~ATLFAST_EnvelopeDefSvc
();
32
34
StatusCode
initialize
();
36
StatusCode
finalize
();
37
39
const
RZPairVector
&
getRZBoundary
(
AtlasDetDescr::AtlasRegion
region )
const
;
40
42
const
RZPairVector
&
getRPositiveZBoundary
(
AtlasDetDescr::AtlasRegion
region )
const
;
43
44
private
:
46
RZPairVector
getShiftedBoundary
(
AtlasDetDescr::AtlasRegion
region,
double
shiftFromZ,
double
shiftToZ )
const
;
47
49
ServiceHandle<IEnvelopeDefSvc>
m_isfEnvDefSvc
;
50
52
double
m_tolerance
;
53
55
double
m_idMaxExtentZ
;
56
58
RZPairVector
m_rzBeamPipe
;
59
RZPairVector
m_rzInDet
;
60
RZPairVector
m_rzCalo
;
63
RZPairVector
m_rposzBeamPipe
;
64
RZPairVector
m_rposzInDet
;
65
RZPairVector
m_rposzCalo
;
66
67
};
68
69
70
}
// namespace ISF
71
72
#endif
// ISF_SERVICES_ATLFAST_ENVELOPEDEFSVC_H
73
AthService.h
IEnvelopeDefSvc.h
RZPairVector
std::vector< RZPair > RZPairVector
Definition
RZPair.h:18
ISF::ATLFAST_EnvelopeDefSvc::m_rzBeamPipe
RZPairVector m_rzBeamPipe
internal (r,z) representation for BeamPipe, InnerDetector and calo volumes
Definition
ATLFAST_EnvelopeDefSvc.h:58
ISF::ATLFAST_EnvelopeDefSvc::getRZBoundary
const RZPairVector & getRZBoundary(AtlasDetDescr::AtlasRegion region) const
return a vector of (r,z) pairs, defining the respective envelope
Definition
ATLFAST_EnvelopeDefSvc.cxx:121
ISF::ATLFAST_EnvelopeDefSvc::m_rposzInDet
RZPairVector m_rposzInDet
Definition
ATLFAST_EnvelopeDefSvc.h:64
ISF::ATLFAST_EnvelopeDefSvc::finalize
StatusCode finalize()
AthService finalize method.
Definition
ATLFAST_EnvelopeDefSvc.cxx:114
ISF::ATLFAST_EnvelopeDefSvc::m_isfEnvDefSvc
ServiceHandle< IEnvelopeDefSvc > m_isfEnvDefSvc
ServiceHandle to the standard ISF envelope definition service.
Definition
ATLFAST_EnvelopeDefSvc.h:49
ISF::ATLFAST_EnvelopeDefSvc::m_rposzCalo
RZPairVector m_rposzCalo
Definition
ATLFAST_EnvelopeDefSvc.h:65
ISF::ATLFAST_EnvelopeDefSvc::m_rzInDet
RZPairVector m_rzInDet
Definition
ATLFAST_EnvelopeDefSvc.h:59
ISF::ATLFAST_EnvelopeDefSvc::~ATLFAST_EnvelopeDefSvc
~ATLFAST_EnvelopeDefSvc()
Destructor.
Definition
ATLFAST_EnvelopeDefSvc.cxx:43
ISF::ATLFAST_EnvelopeDefSvc::initialize
StatusCode initialize()
AthService initialize method.
Definition
ATLFAST_EnvelopeDefSvc.cxx:51
ISF::ATLFAST_EnvelopeDefSvc::ATLFAST_EnvelopeDefSvc
ATLFAST_EnvelopeDefSvc(const std::string &name, ISvcLocator *svc)
public AthService constructor
Definition
ATLFAST_EnvelopeDefSvc.cxx:19
ISF::ATLFAST_EnvelopeDefSvc::getRPositiveZBoundary
const RZPairVector & getRPositiveZBoundary(AtlasDetDescr::AtlasRegion region) const
return a vector of (r,z) pairs, defining the envelope on the z>0 region
Definition
ATLFAST_EnvelopeDefSvc.cxx:133
ISF::ATLFAST_EnvelopeDefSvc::getShiftedBoundary
RZPairVector getShiftedBoundary(AtlasDetDescr::AtlasRegion region, double shiftFromZ, double shiftToZ) const
return boundary with shifted z values
Definition
ATLFAST_EnvelopeDefSvc.cxx:144
ISF::ATLFAST_EnvelopeDefSvc::m_tolerance
double m_tolerance
internal tolerance on coordinates
Definition
ATLFAST_EnvelopeDefSvc.h:52
ISF::ATLFAST_EnvelopeDefSvc::m_rposzBeamPipe
RZPairVector m_rposzBeamPipe
internal (r,z) representation for the positive z-side only, one RZPairVector for BeamPipe and InnerDe...
Definition
ATLFAST_EnvelopeDefSvc.h:63
ISF::ATLFAST_EnvelopeDefSvc::m_idMaxExtentZ
double m_idMaxExtentZ
maximum desired extent (halfz) of the modified inner detector volume
Definition
ATLFAST_EnvelopeDefSvc.h:55
ISF::ATLFAST_EnvelopeDefSvc::m_rzCalo
RZPairVector m_rzCalo
Definition
ATLFAST_EnvelopeDefSvc.h:60
ServiceHandle
Definition
ClusterMakerTool.h:36
AtlasDetDescr::AtlasRegion
AtlasRegion
A simple enum of ATLAS regions and sub-detectors.
Definition
AtlasRegion.h:21
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
Generated on
for ATLAS Offline Software by
1.17.0