#include <Par01PionShowerModel.hh>
Definition at line 43 of file Par01PionShowerModel.hh.
◆ Par01PionShowerModel() [1/2]
Par01PionShowerModel::Par01PionShowerModel |
( |
G4String |
modelName, |
|
|
G4Region * |
envelope |
|
) |
| |
Definition at line 44 of file Par01PionShowerModel.cc.
G4StepPoint * fFakePreStepPoint
G4TouchableHandle fTouchableHandle
G4Navigator * fpNavigator
G4StepPoint * fFakePostStepPoint
G4VFastSimulationModel(const G4String &aName)
◆ Par01PionShowerModel() [2/2]
Par01PionShowerModel::Par01PionShowerModel |
( |
G4String |
modelName | ) |
|
Definition at line 55 of file Par01PionShowerModel.cc.
G4StepPoint * fFakePreStepPoint
G4TouchableHandle fTouchableHandle
G4Navigator * fpNavigator
G4StepPoint * fFakePostStepPoint
G4VFastSimulationModel(const G4String &aName)
◆ ~Par01PionShowerModel()
Par01PionShowerModel::~Par01PionShowerModel |
( |
| ) |
|
◆ AssignSpotAndCallHit()
void Par01PionShowerModel::AssignSpotAndCallHit |
( |
const Par01EnergySpot & |
eSpot | ) |
|
|
private |
Definition at line 171 of file Par01PionShowerModel.cc.
184 fFakeStep->GetPreStepPoint()->GetPhysicalVolume();
187 if( pCurrentVolume != 0 )
190 GetSensitiveDetector();
191 if( pSensitive != 0 )
void FillFakeStep(const Par01EnergySpot &eSpot)
G4bool Hit(G4Step *aStep)
G4LogicalVolume * GetLogicalVolume() const
◆ BuildDetectorResponse()
void Par01PionShowerModel::BuildDetectorResponse |
( |
| ) |
|
|
private |
Definition at line 154 of file Par01PionShowerModel.cc.
157 for (
size_t i = 0; i <
feSpotList.size(); i++)
std::vector< Par01EnergySpot > feSpotList
void AssignSpotAndCallHit(const Par01EnergySpot &eSpot)
◆ DoIt()
Implements G4VFastSimulationModel.
Definition at line 86 of file Par01PionShowerModel.cc.
void BuildDetectorResponse()
void Explode(const G4FastTrack &)
void ProposePrimaryTrackPathLength(G4double)
void ProposeTotalEnergyDeposited(G4double anEnergyPart)
const G4Track * GetPrimaryTrack() const
◆ Explode()
void Par01PionShowerModel::Explode |
( |
const G4FastTrack & |
fastTrack | ) |
|
|
private |
Definition at line 103 of file Par01PionShowerModel.cc.
120 TransformPoint(showerCenter);
126 yShower = zShower.
cross(xShower);
131 G4double deposit = Energy/double(nSpot);
140 for (
int i = 0; i < nSpot; i++)
145 ePoint = showerCenter +
147 r*std::cos(phi)*xShower + r*std::sin(phi)*yShower;
void SetPosition(const G4ThreeVector &point)
ThreeVector shoot(const G4int Ap, const G4int Af)
std::vector< Par01EnergySpot > feSpotList
const G4AffineTransform * GetInverseAffineTransformation() const
G4VSolid * GetEnvelopeSolid() const
Hep3Vector cross(const Hep3Vector &) const
G4ThreeVector GetPrimaryTrackLocalDirection() const
static const double twopi
Hep3Vector orthogonal() const
void SetEnergy(const G4double &E)
G4ThreeVector GetPrimaryTrackLocalPosition() const
const G4Track * GetPrimaryTrack() const
◆ FillFakeStep()
Definition at line 199 of file Par01PionShowerModel.cc.
208 GetNavigatorForTracking()->GetWorldVolume());
210 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
219 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
G4StepPoint * fFakePreStepPoint
G4TouchableHandle fTouchableHandle
CLHEP::Hep3Vector G4ThreeVector
G4Navigator * fpNavigator
static G4TransportationManager * GetTransportationManager()
G4ThreeVector GetPosition() const
G4double GetEnergy() const
◆ IsApplicable()
◆ ModelTrigger()
◆ feSpotList
◆ fFakePostStepPoint
G4StepPoint * Par01PionShowerModel::fFakePostStepPoint |
|
private |
◆ fFakePreStepPoint
G4StepPoint* Par01PionShowerModel::fFakePreStepPoint |
|
private |
◆ fFakeStep
G4Step* Par01PionShowerModel::fFakeStep |
|
private |
◆ fNaviSetup
G4bool Par01PionShowerModel::fNaviSetup |
|
private |
◆ fpNavigator
◆ fTouchableHandle
The documentation for this class was generated from the following files: