#include <Utils.h>
Public Member Functions | |
Utils () | |
Utils (const Utils &)=default | |
~Utils () | |
void | SetSeed (int seed) |
void | SetOrigin (double *origin) |
bool | PointInFiducial (const TVector3 &point) |
bool | PointInTPC (const TVector3 &point) |
bool | PointInCalo (const TVector3 &point) |
bool | PointStopBetween (const TVector3 &point) |
bool | isThroughCalo (const TVector3 &point) |
bool | hasDecayedInCalo (const TVector3 &point) |
bool | isBarrel (const TVector3 &point) |
bool | isEndcap (const TVector3 &point) |
bool | isBackscatter (const TVector3 &spoint, const TVector3 &epoint) |
bool | isBremsstrahlung (const TVector3 &spoint, const int &pdg, const int &motherpdg) |
float | GetRamdomNumber () |
float | GaussianSmearing (const float &mean, const float &sigma) |
double * | GetOrigin () |
Private Attributes | |
double | _origin [3] |
coordinates of the origin More... | |
unsigned long int | _seed |
seed More... | |
TRandom3 * | _rando |
random generator More... | |
double | _TPCFidRadius = 222.5 |
double | _TPCFidLength = 215. |
double | _TPCRadius = 273. |
double | _TPCLength = 259. |
double | _ECALInnerRadius = 278.02 |
double | _ECALOuterRadius = 322.25 |
double | _ECALEndX = 374.4 |
double | _ECALStartX = _ECALEndX - (_ECALOuterRadius - _ECALInnerRadius) |
|
default |
Utils::~Utils | ( | ) |
|
inline |
Definition at line 58 of file Utils.h.
bool Utils::isBackscatter | ( | const TVector3 & | spoint, |
const TVector3 & | epoint | ||
) |
Definition at line 114 of file Utils.cpp.
bool Utils::isBarrel | ( | const TVector3 & | point | ) |
Definition at line 96 of file Utils.cpp.
bool Utils::isBremsstrahlung | ( | const TVector3 & | spoint, |
const int & | pdg, | ||
const int & | motherpdg | ||
) |
Definition at line 130 of file Utils.cpp.
bool Utils::PointInCalo | ( | const TVector3 & | point | ) |
Definition at line 58 of file Utils.cpp.
bool Utils::PointStopBetween | ( | const TVector3 & | point | ) |
Definition at line 72 of file Utils.cpp.
void Utils::SetOrigin | ( | double * | origin | ) |
Definition at line 22 of file Utils.cpp.
|
private |