Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SQBeamlineObject Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/generators/E906LegacyGen/SQBeamlineObject.h>

Public Member Functions

 SQBeamlineObject ()
 
 SQBeamlineObject (const TGeoMaterial *pMaterial)
 
double getZ ()
 get the expotential z distribution More...
 
bool inAcceptance (double x, double y)
 check if the beam is in acceptance More...
 
bool operator< (const SQBeamlineObject &obj) const
 
double protonPerc ()
 sum of all the previous/upstream probs More...
 

Public Attributes

TString name
 
double z_up
 
double z_down
 
double z0
 
double length
 the z position of upstram/downstream face and center More...
 
double radiusX
 length of the stuff More...
 
double radiusY
 radiusX More...
 
double nucIntLen
 radiusY More...
 
double density
 nuclear interaction length in cm More...
 
double Z
 density in g/cm3 More...
 
double A
 
double N
 
double attenuationSelf
 number of protons, nucleons, neutrons More...
 
double attenuation
 beam attenuation percentage by itself More...
 
double prob
 beam attenuation factor by this object More...
 
double accumulatedProb
 probability of having collision More...
 

Friends

std::ostream & operator<< (std::ostream &os, const SQBeamlineObject &obj)
 

Detailed Description

Definition at line 16 of file SQBeamlineObject.h.

Constructor & Destructor Documentation

SQBeamlineObject::SQBeamlineObject ( )

Definition at line 14 of file SQBeamlineObject.C.

SQBeamlineObject::SQBeamlineObject ( const TGeoMaterial *  pMaterial)

Definition at line 16 of file SQBeamlineObject.C.

References A, density, N, nucIntLen, and Z.

Member Function Documentation

double SQBeamlineObject::getZ ( )

get the expotential z distribution

Definition at line 51 of file SQBeamlineObject.C.

References attenuationSelf, nucIntLen, and z_up.

bool SQBeamlineObject::inAcceptance ( double  x,
double  y 
)

check if the beam is in acceptance

Definition at line 62 of file SQBeamlineObject.C.

bool SQBeamlineObject::operator< ( const SQBeamlineObject obj) const

Definition at line 33 of file SQBeamlineObject.C.

References z0.

double SQBeamlineObject::protonPerc ( )
inline

sum of all the previous/upstream probs

Definition at line 51 of file SQBeamlineObject.h.

References A, and Z.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SQBeamlineObject obj 
)
friend

Definition at line 38 of file SQBeamlineObject.C.

Member Data Documentation

double SQBeamlineObject::A
double SQBeamlineObject::accumulatedProb

probability of having collision

Definition at line 49 of file SQBeamlineObject.h.

Referenced by operator<<().

double SQBeamlineObject::attenuation

beam attenuation percentage by itself

Definition at line 47 of file SQBeamlineObject.h.

Referenced by operator<<().

double SQBeamlineObject::attenuationSelf

number of protons, nucleons, neutrons

Definition at line 46 of file SQBeamlineObject.h.

Referenced by getZ(), and operator<<().

double SQBeamlineObject::density

nuclear interaction length in cm

Definition at line 42 of file SQBeamlineObject.h.

Referenced by operator<<(), SQBeamlineObject(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::length

the z position of upstram/downstream face and center

Definition at line 36 of file SQBeamlineObject.h.

Referenced by operator<<(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::N

Definition at line 43 of file SQBeamlineObject.h.

Referenced by operator<<(), SQBeamlineObject(), and SQPrimaryVertexGen::traverse().

TString SQBeamlineObject::name

Definition at line 32 of file SQBeamlineObject.h.

Referenced by operator<<(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::nucIntLen

radiusY

Definition at line 41 of file SQBeamlineObject.h.

Referenced by getZ(), operator<<(), SQBeamlineObject(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::prob

beam attenuation factor by this object

Definition at line 48 of file SQBeamlineObject.h.

Referenced by operator<<().

double SQBeamlineObject::radiusX

length of the stuff

Definition at line 37 of file SQBeamlineObject.h.

Referenced by SQPrimaryVertexGen::traverse().

double SQBeamlineObject::radiusY

radiusX

Definition at line 38 of file SQBeamlineObject.h.

Referenced by SQPrimaryVertexGen::traverse().

double SQBeamlineObject::Z

density in g/cm3

Definition at line 43 of file SQBeamlineObject.h.

Referenced by operator<<(), protonPerc(), SQBeamlineObject(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::z0

Definition at line 35 of file SQBeamlineObject.h.

Referenced by operator<(), operator<<(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::z_down

Definition at line 35 of file SQBeamlineObject.h.

Referenced by operator<<(), and SQPrimaryVertexGen::traverse().

double SQBeamlineObject::z_up

Definition at line 35 of file SQBeamlineObject.h.

Referenced by getZ(), operator<<(), and SQPrimaryVertexGen::traverse().


The documentation for this class was generated from the following files: