#include <G4Absorber.hh>
Definition at line 34 of file G4Absorber.hh.
◆ G4Absorber() [1/2]
G4Absorber::G4Absorber |
( |
G4double |
cutOnP | ) |
|
Definition at line 38 of file G4Absorber.cc.
G4KineticTrackVector * theAbsorbers
G4KineticTrackVector * theProducts
◆ ~G4Absorber()
G4Absorber::~G4Absorber |
( |
| ) |
|
Definition at line 46 of file G4Absorber.cc.
G4KineticTrackVector * theAbsorbers
G4KineticTrackVector * theProducts
◆ G4Absorber() [2/2]
G4Absorber::G4Absorber |
( |
const G4Absorber & |
right | ) |
|
|
private |
◆ Absorb()
Definition at line 72 of file G4Absorber.cc.
G4bool FindAbsorbers(G4KineticTrack &kt, G4KineticTrackVector &tgt)
G4bool FindProducts(G4KineticTrack &kt)
◆ FindAbsorbers()
Definition at line 80 of file G4Absorber.cc.
98 std::vector<G4KineticTrack *>::iterator iter;
99 for(iter = tgt.begin(); iter != tgt.end(); ++iter)
126 if((charge0+charge1+charge < 0.) ||
127 (charge0+charge1+charge) > 2*
eplus)
154 if((charge0+charge1+charge < 0.) ||
155 (charge0+charge1+charge) > 2*
eplus)
164 if((kt1 == NULL) || (kt2 == NULL))
const G4ParticleDefinition * GetDefinition() const
const G4ThreeVector & GetPosition() const
G4KineticTrackVector * theAbsorbers
static const double eplus
G4double GetPDGCharge() const
static const G4double pos
◆ FindProducts()
Definition at line 174 of file G4Absorber.cc.
191 else if(charge == -
eplus)
216 G4double squareP = (e0*e0*e0*e0-2*e0*e0*(ms1*ms1+ms2*ms2)+
217 (ms2*ms2-ms1*ms1)*(ms2*ms2-ms1*ms1))/(4*e0*e0);
221 mom1CMS = std::sqrt(squareP)*mom1CMS;
223 G4LorentzVector final4Mom2CMS((-1)*mom1CMS, std::sqrt(squareP+ms2*ms2));
const G4ParticleDefinition * GetDefinition() const
const G4ThreeVector & GetPosition() const
G4ThreeVector GetRandomDirection()
static G4Proton * Proton()
static G4Neutron * Neutron()
G4double GetPDGMass() const
Hep3Vector boostVector() const
static const double eplus
G4double GetPDGCharge() const
G4KineticTrackVector * theProducts
const G4LorentzVector & Get4Momentum() const
◆ GetAbsorbers()
Definition at line 66 of file G4Absorber.hh.
G4KineticTrackVector * theAbsorbers
◆ GetProducts()
Definition at line 71 of file G4Absorber.hh.
G4KineticTrackVector * theProducts
◆ GetRandomDirection()
Definition at line 286 of file G4Absorber.cc.
289 theta = std::acos(theta);
291 G4ThreeVector direction(std::sin(theta)*std::cos(phi), std::sin(theta)*std::sin(phi), std::cos(theta));
◆ operator!=()
int G4Absorber::operator!= |
( |
const G4Absorber & |
right | ) |
const |
|
private |
◆ operator=()
◆ operator==()
int G4Absorber::operator== |
( |
const G4Absorber & |
right | ) |
const |
|
private |
◆ WillBeAbsorbed()
Definition at line 53 of file G4Absorber.cc.
const G4ParticleDefinition * GetDefinition() const
static G4PionPlus * PionPlus()
static G4PionZero * PionZero()
static G4PionMinus * PionMinus()
G4double GetActualMass() const
const G4LorentzVector & Get4Momentum() const
◆ theAbsorbers
◆ theCutOnP
◆ theProducts
The documentation for this class was generated from the following files: