9 #include "TGeoPhysicalConstants.h"
20 density = pMaterial->GetDensity();
23 TGeoMixture* pMaterialmix;
24 pMaterialmix = (TGeoMixture*)pMaterial;
41 os <<
"Beamline object name " << obj.
name <<
" at " << obj.
z_up <<
" <-- " << obj.
z0 <<
" --> " << obj.
z_down <<
"\n"
42 <<
" Z = " << obj.
Z <<
", A = " << obj.
A <<
", N = " << obj.
N <<
"\n"
43 <<
" Nuclear inc. len. = " << obj.
nucIntLen <<
", density = " << obj.
density <<
"\n"
56 gRandom->SetSeed(iseed);
double prob
beam attenuation factor by this object
double getZ()
get the expotential z distribution
double accumulatedProb
probability of having collision
double attenuationSelf
number of protons, nucleons, neutrons
bool inAcceptance(double x, double y)
check if the beam is in acceptance
double length
the z position of upstram/downstream face and center
double density
nuclear interaction length in cm
std::basic_ostream< E, T > & operator<<(std::basic_ostream< E, T > &os, shared_ptr< Y > const &p)
double attenuation
beam attenuation percentage by itself
bool operator<(const SQBeamlineObject &obj) const