

Public Member Functions | |
| BDSSampler (G4String name, G4double length) | |
| ~BDSSampler () | |
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 | |
| int | nThisSampler |
| id of sampler | |
Static Private Attributes | |
| static int | nSamplers = 0 |
| number of total Samplers | |
| static BDSSamplerSD * | SensitiveDetector = new BDSSamplerSD("BDSSampler","plane") |
| pointer to sensitive detector, only one for all samplers | |
Friends | |
| class | BDSBeamline |
Definition at line 14 of file BDSSampler.hh.
| void BDSSampler::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 50 of file BDSSampler.cc.
References BDSAcceleratorComponent::chordLength, BDSGeometryComponent::containerLogicalVolume, BDSGeometryComponent::containerSolid, BDSAcceleratorComponent::emptyMaterial, BDSMaterials::GetMaterial(), BDSAcceleratorComponent::GetName(), BDSGlobalConstants::GetSamplerDiameter(), BDSSDManager::Instance(), BDSExecOptions::Instance(), BDSGlobalConstants::Instance(), BDSMaterials::Instance(), and BDSAcceleratorComponent::name.
Here is the call graph for this function:

friend class BDSBeamline [friend] |
BDSBeamline needs to be able to create a single element to initialise coordinates but can't simply use the factory as it only works with an existing sequence from the parser. Need to make BDSBeamline a friend to call private initialise member
Definition at line 34 of file BDSSampler.hh.
1.4.7