120 TransformPoint(showerCenter);
125 xShower = zShower.orthogonal();
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;
157 for (
size_t i = 0; i <
feSpotList.size(); i++)
187 if( pCurrentVolume != 0 )
190 GetSensitiveDetector();
191 if( pSensitive != 0 )
208 GetNavigatorForTracking()->GetWorldVolume());
210 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
219 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
void SetPosition(const G4ThreeVector &point)
G4StepPoint * fFakePreStepPoint
void BuildDetectorResponse()
G4ThreeVector GetPrimaryTrackLocalPosition() const
ThreeVector shoot(const G4int Ap, const G4int Af)
G4double GetEnergy() const
const G4Track * GetPrimaryTrack() const
G4TouchableHandle fTouchableHandle
std::vector< Par01EnergySpot > feSpotList
G4ThreeVector GetPrimaryTrackLocalDirection() const
CLHEP::Hep3Vector G4ThreeVector
const G4AffineTransform * GetInverseAffineTransformation() const
Par01PionShowerModel(G4String, G4Region *)
G4StepPoint * GetPreStepPoint() const
virtual void DoIt(const G4FastTrack &, G4FastStep &)
G4double GetKineticEnergy() const
G4VPhysicalVolume * GetPhysicalVolume() const
void Explode(const G4FastTrack &)
static G4PionMinus * PionMinusDefinition()
void ProposePrimaryTrackPathLength(G4double)
void FillFakeStep(const Par01EnergySpot &eSpot)
static G4PionPlus * PionPlusDefinition()
G4bool Hit(G4Step *aStep)
G4Navigator * fpNavigator
G4ThreeVector GetPosition() const
G4VSolid * GetEnvelopeSolid() const
static G4TransportationManager * GetTransportationManager()
void AssignSpotAndCallHit(const Par01EnergySpot &eSpot)
const G4ThreeVector & GetMomentumDirection() const
G4LogicalVolume * GetLogicalVolume() const
virtual G4bool ModelTrigger(const G4FastTrack &)
G4StepPoint * GetPostStepPoint() const
void SetEnergy(const G4double &E)
void ProposeTotalEnergyDeposited(G4double anEnergyPart)
void SetTotalEnergyDeposit(G4double value)
G4StepPoint * fFakePostStepPoint
virtual G4bool IsApplicable(const G4ParticleDefinition &)
void SetTouchableHandle(const G4TouchableHandle &apValue)