8 #ifndef __SQBEAMLINEOBJECT_H__
9 #define __SQBEAMLINEOBJECT_H__
13 #include <TGeoMaterial.h>
double prob
beam attenuation factor by this object
double protonPerc()
sum of all the previous/upstream probs
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
friend std::ostream & operator<<(std::ostream &os, const SQBeamlineObject &obj)
double attenuation
beam attenuation percentage by itself
bool operator<(const SQBeamlineObject &obj) const
double radiusX
length of the stuff