120 tmax = 1.0 * (std::log(y) +
C);
134 xShower = zShower.orthogonal();
135 yShower = zShower.cross(xShower);
141 G4double deposit = Energy/double(nSpots);
148 for (
int i = 0; i < nSpots; i++)
160 if (xr < 0.9) r = xr/0.9*Rm;
161 else r = ((xr - 0.9)/0.1*2.5 + 1.0)*Rm;
167 r*std::cos(phi)*xShower + r*std::sin(phi)*yShower;
181 for (
size_t i = 0; i <
feSpotList.size(); i++)
210 if( pCurrentVolume != 0 )
213 GetSensitiveDetector();
214 if( pSensitive != 0 )
231 GetNavigatorForTracking()->GetWorldVolume());
233 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
242 LocateGlobalPointAndUpdateTouchableHandle(eSpot.
GetPosition(),
void SetPosition(const G4ThreeVector &point)
G4ParticleDefinition * GetDefinition() const
static G4Electron * ElectronDefinition()
virtual G4bool IsApplicable(const G4ParticleDefinition &)
ThreeVector shoot(const G4int Ap, const G4int Af)
G4double GetEnergy() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
const G4Track * GetPrimaryTrack() const
void Explode(const G4FastTrack &)
CLHEP::Hep3Vector G4ThreeVector
void FillFakeStep(const Par01EnergySpot &eSpot)
const G4ThreeVector & GetPosition() const
virtual G4bool ModelTrigger(const G4FastTrack &)
void AssignSpotAndCallHit(const Par01EnergySpot &eSpot)
static G4NistManager * Instance()
Par01EMShowerModel(G4String, G4Region *)
G4StepPoint * GetPreStepPoint() const
G4double GetKineticEnergy() const
G4VPhysicalVolume * GetPhysicalVolume() const
void ProposePrimaryTrackPathLength(G4double)
G4StepPoint * fFakePostStepPoint
static const double twopi
G4bool Hit(G4Step *aStep)
G4double GetRadlen() const
G4ThreeVector GetPosition() const
G4Navigator * fpNavigator
static G4TransportationManager * GetTransportationManager()
static G4Positron * PositronDefinition()
const G4ThreeVector & GetMomentumDirection() const
G4LogicalVolume * GetLogicalVolume() const
G4StepPoint * GetPostStepPoint() const
void SetEnergy(const G4double &E)
void ProposeTotalEnergyDeposited(G4double anEnergyPart)
void SetTotalEnergyDeposit(G4double value)
void SetTouchableHandle(const G4TouchableHandle &apValue)
virtual void DoIt(const G4FastTrack &, G4FastStep &)
G4TouchableHandle fTouchableHandle
std::vector< Par01EnergySpot > feSpotList
void BuildDetectorResponse()
G4StepPoint * fFakePreStepPoint
static G4Gamma * GammaDefinition()