1 #ifndef __DOMCROSSING__ 
    2 #define __DOMCROSSING__ 
   35         using namespace JGEOMETRY3D;
 
   48         const double hitdist = (p0-crossing).getLength();
 
   50         const double dist = sqrt(z*z+R*R);
 
   52         if(hitdist<__Rdom&&dscat>=dist) 
return true;
 
bool operator()(const double theta, const double phi, const double z, const double R, const double dscat)
 
Data structure for vector in three dimensions. 
 
double getY() const 
Get y position. 
 
Class to check whether a photon emitted from a position along the z-axis crosses a DOM (approximated ...
 
then JCookie sh JDataQuality D $DETECTOR_ID R
 
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
then usage $script[energy[distance[z of PMT]]] fi case set_variable z
 
double getX() const 
Get x position. 
 
double getDot(const JVector3D &vector) const 
Get dot product. 
 
double getZ() const 
Get z position. 
 
DomCrossing(const double Rdom)