70 G4double Edep = astep->GetTotalEnergyDeposit();
73 G4Track* aTrack = astep->GetTrack();
83 if(strcmp(physVol->
GetName(),
"FCALEmModulePhysical")== 0 ||
84 strcmp(physVol->
GetName(),
"F1LArGapPhysical") == 0)
89 if( (strcmp(physVol->
GetName(),
"FCALHadModulePhysical") == 0) ||
90 (strcmp(physVol->
GetName(),
"CuPlateAPhysical") == 0) ||
91 (strcmp(physVol->
GetName(),
"CuPlateBPhysical") == 0) ||
92 (strcmp(physVol->
GetName(),
"WAbsorberPhysical") == 0) ||
93 (strcmp(physVol->
GetName(),
"F2RodPhysical") == 0) ||
94 (strcmp(physVol->
GetName(),
"F2LArGapPhysical") == 0) )
101 G4int TrackID = aTrack->GetTrackID();
102 G4int ParentID = aTrack->GetParentID();
115 if(TrackID==1 && ParentID==0 && (aTrack->GetCurrentStepNumber()) == 1)
139 G4String Material = aTrack->GetMaterial()->GetName();
142 if(TrackID != 1 && ParentID == 1 && (strcmp(Material,
"Air")==0) && (TrackPos.
z() > 135.*
cm))
186 if(aTrack->GetNextVolume() == 0) {
221 for(
G4int i=0; i<6000; i++)
223 for(
G4int j=0; j<11; j++)
240 if(strcmp(FCAL,
"FCALEm") == 0) {
243 if(strcmp(FCAL,
"FCALHad") == 0) {
virtual void UserSteppingAction(const G4Step *)
CLHEP::Hep3Vector G4ThreeVector
virtual ~FCALSteppingAction()
G4double OutOfWorldTracksData[6000][11]
G4double DistOfClosestApproach
G4double GetTotalMomentum() const
G4ThreeVector SecondaryDirection
G4double GetSecondaries(G4int, G4int)
G4double GetTotalEnergy() const
G4ThreeVector SecondaryVertex
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
G4int GetPDGEncoding() const
G4ThreeVector VectorProduct
G4double VectorProductMagnitude
G4ThreeVector VectorProductNorm
G4double GetOutOfWorldTracks(G4int, G4int)
G4double GetEdepFCAL(G4String)
const G4String & GetName() const
G4ThreeVector PrimaryDirection
G4ThreeVector PrimaryVertex
G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4double Secondaries[6000][11]