Public Member Functions | |
BDSSamplerCylinder (G4String aName, G4double aLength, G4double aRadius) | |
~BDSSamplerCylinder () | |
Static Public Member Functions | |
static int | GetNSamplers () |
static void | AddExternalSampler (G4String outputName) |
static BDSSamplerSD * | GetSensitiveDetector () |
access for external classes to sensitive detector | |
Static Public Attributes | |
static std::vector< G4String > | outputNames |
names of samplers for output | |
Private Member Functions | |
virtual void | BuildContainerLogicalVolume () |
Private Attributes | |
G4double | itsRadius |
int | nThisSampler |
id of sampler | |
Static Private Attributes | |
static int | nSamplers = 0 |
number of total Samplers | |
static BDSSamplerSD * | SensitiveDetector = new BDSSamplerSD("BDSSamplerCylinder","cylinder") |
pointer to sensitive detector, only one for all cylindrical samplers |
Definition at line 14 of file BDSSamplerCylinder.hh.
void BDSSamplerCylinder::BuildContainerLogicalVolume | ( | ) | [private, virtual] |
Build the container solid and logical volume that all parts of the component will contained within - must be provided by derived class.
Implements BDSAcceleratorComponent.
Definition at line 49 of file BDSSamplerCylinder.cc.
References BDSAcceleratorComponent::chordLength, BDSGeometryComponent::containerLogicalVolume, BDSGeometryComponent::containerSolid, BDSAcceleratorComponent::emptyMaterial, BDSGlobalConstants::Instance(), itsRadius, BDSAcceleratorComponent::name, and SensitiveDetector.
Here is the call graph for this function: