#include <G4PolyconeGeoIDSvc.h>
- Todo:
- Author
- Elmar.Ritsch -at- cern.ch
Definition at line 39 of file G4PolyconeGeoIDSvc.h.
◆ G4PolyconeGeoIDSvc()
ISF::G4PolyconeGeoIDSvc::G4PolyconeGeoIDSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
◆ ~G4PolyconeGeoIDSvc()
ISF::G4PolyconeGeoIDSvc::~G4PolyconeGeoIDSvc |
( |
| ) |
|
◆ createVolume()
Retrieve and fill in the dimensions for the different AtlasRegion.
Definition at line 132 of file G4PolyconeGeoIDSvc.cxx.
139 <<
"' (GeoID="<< geoID <<
").");
145 const double phimin = 0.;
154 size_t curVolNumPoints = rz.size();
155 if ( !curVolNumPoints)
159 return StatusCode::FAILURE;
163 double *
z =
new double[curVolNumPoints];
164 double *
r =
new double[curVolNumPoints];
167 RZPairVector::const_iterator rzIt = rz.begin();
168 for (
size_t i=0;
i<curVolNumPoints; ++
i)
177 std::stringstream curName;
178 curName << volumeName;
180 m_volume[geoID] =
new G4Polycone( curName.str(), phimin, deltaphi, curVolNumPoints,
r,
z);
182 m_volume[geoID]->SetName( volumeName);
189 return StatusCode::SUCCESS;
◆ fillDimensions()
StatusCode ISF::G4PolyconeGeoIDSvc::fillDimensions |
( |
| ) |
|
|
private |
Retrieve and fill in the dimensions for the different AtlasRegion.
◆ identifyGeoID()
◆ identifyNextGeoID()
Find the AtlasRegion that the particle will enter with its next infinitesimal step along the given direction.
Definition at line 110 of file G4PolyconeGeoIDSvc.cxx.
◆ initialize()
StatusCode ISF::G4PolyconeGeoIDSvc::initialize |
( |
| ) |
|
◆ inside()
Checks if the given position (ISFParticle) is inside a given AtlasRegion.
Definition at line 73 of file G4PolyconeGeoIDSvc.cxx.
82 G4ThreeVector posG4(
pos.x(),
pos.y(),
pos.z() );
83 EInside g4Where = curVol->Inside( posG4 );
◆ pushDimension() [1/2]
◆ pushDimension() [2/2]
◆ m_envDefSvc
service providing the envelope dimensions for the different sub-detectors
Definition at line 74 of file G4PolyconeGeoIDSvc.h.
◆ m_typeConverter
◆ m_volume
The documentation for this class was generated from the following files: