Go to the documentation of this file.
   40     cerr << 
"FATAL ERROR. Could not open detector file '" << detectorFile << 
"'." << endl ;
 
   72   for (
int i=1 ; i< nFloors ; i++) {
 
   91   for (
int i = 1 ; i<nFloors+1 ; i++){
 
  107     tuple < double , double , double > t (depth , q.
getMean() , q.
getSTDev()) ;
 
  109     t0_vs_depth[i-1] = t ;
 
  115   for (
auto & t: t0_vs_depth){
 
  139   const JVector3D dist(pmt1_pos - pmt2_pos) ;
 
  160   for(
int i=1 ; i < nFloors ; i++){
 
  164     for(
int j=0 ; 
j < nPMTs ; 
j++){
 
  
void Print_Detector(JDetector &detector, int strNr)
Prints the t0 of all the PMTs in a DU.
 
double getZ() const
Get z position.
 
void load(const JString &file_name, JDetector &detector)
Load detector from input file.
 
double getT0() const
Get time offset.
 
vector< double > getDetFile_t0_differences(int strNr, JDetector detector, int ref_pmt, int tgt_pmt)
Loops over the floors in the string chosen by the user.
 
vector< tuple< double, double, double > > get_t0_offsets_vs_depth(int strNr, const JDetector &detector)
 
int getNumberOfFloors(const JDetector &detector)
Get number of floors.
 
Logical location of module.
 
double get_PMT_distance(JPMT src_pmt, JPMT tgt_pmt)
Calculate the distance between two JPMTs in the detector.
 
Data structure for vector in three dimensions.
 
const JPMT & getPMT(const int index) const
Get PMT.
 
Data structure for position in three dimensions.
 
Data structure for a composite optical module.
 
Data structure for PMT geometry and calibration.
 
int getNumberOfPMTs(const JModule &module)
Get number of PMTs.
 
Router for direct addressing of module data in detector data structure.
 
const JPosition3D & getPosition() const
Get position.
 
JDetector loadDetector(string detectorFile)
Loads the content of a detector file in a JDetector object.
 
double getLength() const
Get length.
 
Auxiliary classes and methods for detector calibration.