All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fiducial_volume.h
Go to the documentation of this file.
1 #include <vector>
2 
3 namespace single_photon
4 {
5  //ask YJ
6  void setTPCGeom(para_all& paras);
7 
8 
9  /* inside TPC or not? */
10  bool isInTPCActive(std::vector<double> & vec, para_all& paras);
11 
12 
13  /* returns minimum distance to the TPC active boundary; returns -999 if the point is not in TPC active volume */
14  double distToTPCActive(std::vector<double>&vec, para_all& paras);
15 
16 
17  /* returns minimum distance to the TPCActive boundary around the Cathode Plane Assemble; returns -999 if the point is not in TPC active volume */
18  double distToCPA(std::vector<double>&vec, para_all& paras);
19 
20 
21 
22  int distToSCB(double & dist, std::vector<double> &vec, para_all& paras);
23 
24 }
void setTPCGeom(para_all &paras)
int distToSCB(double &dist, std::vector< double > &vec, para_all &paras)
double distToCPA(std::vector< double > &vec, para_all &paras)
bool isInTPCActive(std::vector< double > &vec, para_all &paras)
constexpr double dist(const TReal *x, const TReal *y, const unsigned int dimension)
double distToTPCActive(std::vector< double > &vec, para_all &paras)