ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
G4MesonAbsorption () | |
virtual | ~G4MesonAbsorption () |
virtual const std::vector < G4CollisionInitialState * > & | GetCollisions (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates, G4double aCurrentTime) |
virtual G4KineticTrackVector * | GetFinalState (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets) |
G4CollisionInitialState * | GetCollision (G4KineticTrack *projectile, std::vector< G4KineticTrack * > targets) |
Public Member Functions inherited from G4BCAction | |
G4BCAction () | |
virtual | ~G4BCAction () |
Private Member Functions | |
G4MesonAbsorption (const G4MesonAbsorption &) | |
G4MesonAbsorption & | operator= (const G4MesonAbsorption &) |
G4double | GetTimeToAbsorption (const G4KineticTrack &trk1, const G4KineticTrack &trk2) |
void | FindAndFillCluster (G4KineticTrackVector &result, G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates) |
G4double | AbsorptionCrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) |
Private Attributes | |
std::vector < G4CollisionInitialState * > | theCollisions |
Definition at line 34 of file G4MesonAbsorption.hh.
View newest version in sPHENIX GitHub at line 34 of file G4MesonAbsorption.hh
|
inline |
Definition at line 37 of file G4MesonAbsorption.hh.
View newest version in sPHENIX GitHub at line 37 of file G4MesonAbsorption.hh
|
inlinevirtual |
Definition at line 38 of file G4MesonAbsorption.hh.
View newest version in sPHENIX GitHub at line 38 of file G4MesonAbsorption.hh
|
private |
|
private |
Definition at line 306 of file G4MesonAbsorption.cc.
View newest version in sPHENIX GitHub at line 306 of file G4MesonAbsorption.cc
References G4KineticTrack::Get4Momentum(), G4KineticTrack::GetDefinition(), it, CLHEP::HepLorentzVector::mag(), MeV, millibarn, G4PionMinus::PionMinusDefinition(), G4PionPlus::PionPlusDefinition(), t, CLHEP::HepLorentzVector::t(), x1, x2, y1, and y2.
Referenced by GetTimeToAbsorption().
|
private |
Definition at line 74 of file G4MesonAbsorption.cc.
View newest version in sPHENIX GitHub at line 74 of file G4MesonAbsorption.cc
References DBL_MAX, G4lrint(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), and min.
Referenced by GetCollisions().
G4CollisionInitialState* G4MesonAbsorption::GetCollision | ( | G4KineticTrack * | projectile, |
std::vector< G4KineticTrack * > | targets | ||
) |
|
virtual |
Implements G4BCAction.
Definition at line 44 of file G4MesonAbsorption.cc.
View newest version in sPHENIX GitHub at line 44 of file G4MesonAbsorption.cc
References DBL_MAX, FindAndFillCluster(), GetTimeToAbsorption(), and theCollisions.
|
virtual |
Implements G4BCAction.
Definition at line 104 of file G4MesonAbsorption.cc.
View newest version in sPHENIX GitHub at line 104 of file G4MesonAbsorption.cc
References d1, d2, f1, f2, G4endl, G4lrint(), G4UniformRand, G4KineticTrack::Get4Momentum(), G4ParticleDefinition::GetBaryonNumber(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), CLHEP::HepLorentzRotation::inverse(), CLHEP::Hep3Vector::mag2(), G4Neutron::NeutronDefinition(), CLHEP::HepLorentzVector::phi(), phi, pi, G4Proton::ProtonDefinition(), CLHEP::HepLorentzVector::rotateY(), CLHEP::HepLorentzVector::rotateZ(), sqr(), CLHEP::HepLorentzVector::t(), and CLHEP::HepLorentzVector::theta().
|
private |
Definition at line 238 of file G4MesonAbsorption.cc.
View newest version in sPHENIX GitHub at line 238 of file G4MesonAbsorption.cc
References kdfinder::abs(), AbsorptionCrossSection(), source.hepunit::c_light, DBL_MAX, CLHEP::HepLorentzVector::e(), eV, G4cout, G4endl, G4KineticTrack::Get4Momentum(), G4KineticTrack::GetActualMass(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), G4KineticTrack::GetTrackingMomentum(), GeV, CLHEP::HepLorentzVector::mag(), CLHEP::HepLorentzVector::mag2(), millibarn, mom, G4Neutron::Neutron(), pi, G4PionMinus::PionMinusDefinition(), G4PionPlus::PionPlusDefinition(), pos(), Acts::VectorHelpers::time(), and CLHEP::HepLorentzVector::vect().
Referenced by GetCollisions().
|
private |
|
private |
Definition at line 65 of file G4MesonAbsorption.hh.
View newest version in sPHENIX GitHub at line 65 of file G4MesonAbsorption.hh
Referenced by GetCollisions().