Geant4  10.00.p02
Par01PionShowerModel Class Reference

#include <Par01PionShowerModel.hh>

+ Inheritance diagram for Par01PionShowerModel:
+ Collaboration diagram for Par01PionShowerModel:

Public Member Functions

 Par01PionShowerModel (G4String, G4Region *)
 
 Par01PionShowerModel (G4String)
 
 ~Par01PionShowerModel ()
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual G4bool ModelTrigger (const G4FastTrack &)
 
virtual void DoIt (const G4FastTrack &, G4FastStep &)
 
- Public Member Functions inherited from G4VFastSimulationModel
 G4VFastSimulationModel (const G4String &aName)
 
 G4VFastSimulationModel (const G4String &aName, G4Envelope *, G4bool IsUnique=FALSE)
 
virtual ~G4VFastSimulationModel ()
 
virtual G4bool AtRestModelTrigger (const G4FastTrack &)
 
virtual void AtRestDoIt (const G4FastTrack &, G4FastStep &)
 
const G4String GetName () const
 
G4bool operator== (const G4VFastSimulationModel &) const
 

Private Member Functions

void AssignSpotAndCallHit (const Par01EnergySpot &eSpot)
 
void FillFakeStep (const Par01EnergySpot &eSpot)
 
void Explode (const G4FastTrack &)
 
void BuildDetectorResponse ()
 

Private Attributes

G4StepfFakeStep
 
G4StepPointfFakePreStepPoint
 
G4StepPointfFakePostStepPoint
 
G4TouchableHandle fTouchableHandle
 
G4NavigatorfpNavigator
 
G4bool fNaviSetup
 
std::vector< Par01EnergySpotfeSpotList
 

Detailed Description

Definition at line 43 of file Par01PionShowerModel.hh.

Constructor & Destructor Documentation

Par01PionShowerModel::Par01PionShowerModel ( G4String  modelName,
G4Region envelope 
)

Definition at line 44 of file Par01PionShowerModel.cc.

References fFakePostStepPoint, fFakePreStepPoint, fFakeStep, fNaviSetup, fpNavigator, fTouchableHandle, G4Step::GetPostStepPoint(), and G4Step::GetPreStepPoint().

+ Here is the call graph for this function:

Par01PionShowerModel::Par01PionShowerModel ( G4String  modelName)

Definition at line 55 of file Par01PionShowerModel.cc.

References fFakePostStepPoint, fFakePreStepPoint, fFakeStep, fNaviSetup, fpNavigator, fTouchableHandle, G4Step::GetPostStepPoint(), and G4Step::GetPreStepPoint().

+ Here is the call graph for this function:

Par01PionShowerModel::~Par01PionShowerModel ( )

Definition at line 66 of file Par01PionShowerModel.cc.

References fFakeStep, and fpNavigator.

Member Function Documentation

void Par01PionShowerModel::AssignSpotAndCallHit ( const Par01EnergySpot eSpot)
private

Definition at line 171 of file Par01PionShowerModel.cc.

References fFakeStep, FillFakeStep(), G4VPhysicalVolume::GetLogicalVolume(), G4StepPoint::GetPhysicalVolume(), G4Step::GetPreStepPoint(), and G4VSensitiveDetector::Hit().

Referenced by BuildDetectorResponse().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par01PionShowerModel::BuildDetectorResponse ( )
private

Definition at line 154 of file Par01PionShowerModel.cc.

References AssignSpotAndCallHit(), feSpotList, and red.

Referenced by DoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par01PionShowerModel::DoIt ( const G4FastTrack fastTrack,
G4FastStep fastStep 
)
virtual

Implements G4VFastSimulationModel.

Definition at line 86 of file Par01PionShowerModel.cc.

References BuildDetectorResponse(), Explode(), G4Track::GetKineticEnergy(), G4FastTrack::GetPrimaryTrack(), G4FastStep::KillPrimaryTrack(), G4FastStep::ProposePrimaryTrackPathLength(), and G4FastStep::ProposeTotalEnergyDeposited().

+ Here is the call graph for this function:

void Par01PionShowerModel::Explode ( const G4FastTrack fastTrack)
private

Definition at line 103 of file Par01PionShowerModel.cc.

References cm, feSpotList, G4UniformRand, G4FastTrack::GetEnvelopeSolid(), G4FastTrack::GetInverseAffineTransformation(), G4Track::GetKineticEnergy(), G4Track::GetMomentumDirection(), G4FastTrack::GetPrimaryTrack(), G4FastTrack::GetPrimaryTrackLocalDirection(), G4FastTrack::GetPrimaryTrackLocalPosition(), Par01EnergySpot::SetEnergy(), Par01EnergySpot::SetPosition(), G4INCL::DeJongSpin::shoot(), and z.

Referenced by DoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par01PionShowerModel::FillFakeStep ( const Par01EnergySpot eSpot)
private

Definition at line 199 of file Par01PionShowerModel.cc.

References fFakePreStepPoint, fFakeStep, fNaviSetup, fpNavigator, fTouchableHandle, Par01EnergySpot::GetEnergy(), Par01EnergySpot::GetPosition(), G4TransportationManager::GetTransportationManager(), G4Step::SetTotalEnergyDeposit(), and G4StepPoint::SetTouchableHandle().

Referenced by AssignSpotAndCallHit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool Par01PionShowerModel::IsApplicable ( const G4ParticleDefinition particleType)
virtual

Implements G4VFastSimulationModel.

Definition at line 72 of file Par01PionShowerModel.cc.

References G4PionMinus::PionMinusDefinition(), and G4PionPlus::PionPlusDefinition().

+ Here is the call graph for this function:

G4bool Par01PionShowerModel::ModelTrigger ( const G4FastTrack )
virtual

Implements G4VFastSimulationModel.

Definition at line 79 of file Par01PionShowerModel.cc.

Member Data Documentation

std::vector<Par01EnergySpot> Par01PionShowerModel::feSpotList
private

Definition at line 78 of file Par01PionShowerModel.hh.

Referenced by BuildDetectorResponse(), and Explode().

G4StepPoint * Par01PionShowerModel::fFakePostStepPoint
private

Definition at line 73 of file Par01PionShowerModel.hh.

Referenced by Par01PionShowerModel().

G4StepPoint* Par01PionShowerModel::fFakePreStepPoint
private

Definition at line 73 of file Par01PionShowerModel.hh.

Referenced by FillFakeStep(), and Par01PionShowerModel().

G4Step* Par01PionShowerModel::fFakeStep
private
G4bool Par01PionShowerModel::fNaviSetup
private

Definition at line 76 of file Par01PionShowerModel.hh.

Referenced by FillFakeStep(), and Par01PionShowerModel().

G4Navigator* Par01PionShowerModel::fpNavigator
private
G4TouchableHandle Par01PionShowerModel::fTouchableHandle
private

Definition at line 74 of file Par01PionShowerModel.hh.

Referenced by FillFakeStep(), and Par01PionShowerModel().


The documentation for this class was generated from the following files: