|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef IENVELOPEDEFSVC_H
9 #define IENVELOPEDEFSVC_H
12 #include "GaudiKernel/IInterface.h"
63 int numPosPairs = srcRZ.size();
65 dstRZ.resize(2*numPosPairs);
68 for (
int curNum = 0; curNum<numPosPairs; curNum++) {
69 double curR = srcRZ[curNum].first;
70 double curZ = srcRZ[curNum].second;
76 dstRZ[numPosPairs-curNum-1] =
RZPair(curR, -curZ);
78 dstRZ[numPosPairs+curNum] =
RZPair(curR, curZ);
84 #endif // IENVELOPEDEFSVC_H
virtual ~IEnvelopeDefSvc()
virtual distructor
DeclareInterfaceID(IEnvelopeDefSvc, 1, 0)
std::vector< RZPair > RZPairVector
std::pair< double, double > RZPair
const RZPairVector & getBeamPipeRZBoundary() const
wrapper methods
const RZPairVector & getCavernRZBoundary() const
virtual const RZPairVector & getRPositiveZBoundary(AtlasDetDescr::AtlasRegion region) const =0
return a vector of (r,z) pairs, defining the envelope in the z>0 region
void mirrorRZ(const RZPairVector &srcRZ, RZPairVector &dstRZ) const
mirror the given srcRZ RZPairVector in the XY-plane to describe all corner points in (r,...
const RZPairVector & getMuonRZBoundary() const
const RZPairVector & getInDetRZBoundary() const
virtual const RZPairVector & getRZBoundary(AtlasDetDescr::AtlasRegion region) const =0
return a vector of (r,z) pairs, defining the respective envelope
Define macros for attributes used to control the static checker.
const RZPairVector & getCaloRZBoundary() const