Definition at line 51 of file ParamSim_module.cc.
gar::CAFHelper::CAFHelper |
( |
const geo::GeometryCore * |
fGeo, |
|
|
CLHEP::HepRandomEngine & |
engine |
|
) |
| |
Definition at line 120 of file ParamSim_module.cc.
CLHEP::HepRandomEngine & fEngine
double fECALEndcapOuterRadius
double fECALEndcapInnerRadius
double fECALBarrelOuterRadius
double fECALBarrelInnerRadius
gar::CAFHelper::~CAFHelper |
( |
| ) |
|
float gar::CAFHelper::GaussianSmearing |
( |
const float |
mean, |
|
|
const float |
sigma |
|
) |
| |
|
inline |
Definition at line 114 of file ParamSim_module.cc.
115 CLHEP::RandGauss GausRand(
fEngine);
116 return GausRand.fire(
mean, sigma);;
CLHEP::HepRandomEngine & fEngine
double mean(sqlite3 *db, std::string const &table_name, std::string const &column_name)
float gar::CAFHelper::GetRamdomNumber |
( |
| ) |
|
|
inline |
Definition at line 108 of file ParamSim_module.cc.
109 CLHEP::RandFlat FlatRand(
fEngine);
110 return FlatRand.fire();;
CLHEP::HepRandomEngine & fEngine
bool gar::CAFHelper::hasDecayedInCalo |
( |
const TVector3 & |
point | ) |
|
|
inline |
bool gar::CAFHelper::isBarrel |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 230 of file ParamSim_module.cc.
234 float r_point = std::sqrt( point.Y()*point.Y() + point.Z()*point.Z() );
235 float theta_point = std::atan(r_point /
std::abs(point.X()) );
237 if( theta_point > theta ) isBarrel =
true;
bool isBarrel(const TVector3 &point)
double fECALBarrelInnerRadius
bool gar::CAFHelper::isEndcap |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 242 of file ParamSim_module.cc.
245 if( !
isBarrel(point) ) isEndcap =
true;
bool isBarrel(const TVector3 &point)
bool isEndcap(const TVector3 &point)
bool gar::CAFHelper::isThroughCalo |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 218 of file ParamSim_module.cc.
bool PointInTPC(const TVector3 &point)
bool PointStopBetween(const TVector3 &point)
bool PointInCalo(const TVector3 &point)
bool gar::CAFHelper::PointInCalo |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 188 of file ParamSim_module.cc.
192 bool isInCalo =
false;
193 float r_point = std::sqrt( point.Y()*point.Y() + point.Z()*point.Z() );
double fECALEndcapOuterRadius
double fECALBarrelOuterRadius
double fECALBarrelInnerRadius
bool gar::CAFHelper::PointInFiducial |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 157 of file ParamSim_module.cc.
162 bool isInFiducial =
true;
164 float r_point = std::sqrt( point.Y()*point.Y() + point.Z()*point.Z() );
const double fTPCFidRadius
const double fTPCFidLength
bool gar::CAFHelper::PointInTPC |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 172 of file ParamSim_module.cc.
180 float r_point = std::sqrt( point.Y()*point.Y() + point.Z()*point.Z() );
bool PointInFiducial(const TVector3 &point)
bool gar::CAFHelper::PointStopBetween |
( |
const TVector3 & |
point | ) |
|
|
inline |
Definition at line 203 of file ParamSim_module.cc.
207 bool isStopBetween =
false;
208 float r_point = std::sqrt( point.Y()*point.Y() + point.Z()*point.Z() );
214 return isStopBetween;
double fECALEndcapOuterRadius
void gar::CAFHelper::PrintParameters |
( |
| ) |
|
|
private |
Definition at line 142 of file ParamSim_module.cc.
144 std::cout <<
" ==== CAFHelper Parameters ==== " <<
std::endl;
153 std::cout <<
" ==== CAFHelper Parameters ==== " <<
std::endl;
double fECALEndcapOuterRadius
double fECALEndcapInnerRadius
QTextStream & endl(QTextStream &s)
double fECALBarrelOuterRadius
double fECALBarrelInnerRadius
double gar::CAFHelper::fECALBarrelInnerRadius |
|
private |
double gar::CAFHelper::fECALBarrelOuterRadius |
|
private |
double gar::CAFHelper::fECALEndcapInnerRadius |
|
private |
double gar::CAFHelper::fECALEndcapOuterRadius |
|
private |
double gar::CAFHelper::fECALEndX |
|
private |
double gar::CAFHelper::fECALStartX |
|
private |
CLHEP::HepRandomEngine& gar::CAFHelper::fEngine |
|
private |
const double gar::CAFHelper::fTPCFidLength = 215. |
|
private |
const double gar::CAFHelper::fTPCFidRadius = 222.5 |
|
private |
double gar::CAFHelper::fTPCLength |
|
private |
double gar::CAFHelper::fTPCRadius |
|
private |
The documentation for this class was generated from the following file: