30 G4cout <<
"Hit in a sensitive layer!!!!! " << G4endl;
31 G4Track* currentTrack = aStep->GetTrack();
32 const G4AffineTransform trans = currentTrack->GetTouchable()->GetHistory()->GetTopTransform();
33 G4StepPoint* postStep=aStep->GetPostStepPoint();
34 G4StepPoint* preStep=aStep->GetPreStepPoint();
35 const G4Step* post_Step=aStep->GetTrack()->GetStep();
43 int pdgCode=currentTrack->GetDefinition()->GetPDGEncoding();
45 float globalTime=postStep->GetGlobalTime();
46 float globalpreTime=preStep->GetGlobalTime();
47 float eKin=postStep->GetKineticEnergy();
50 float depositEnergy=post_Step->GetTotalEnergyDeposit();
56 m_GenericMuonHitCollection->Emplace( 0 ,globalTime,globalpreTime,position,local_position,preposition,local_preposition,pdgCode,eKin,direction,depositEnergy,
StepLength,trHelp.GenerateParticleLink());