// ---------------------------------------------------- // This file belongs to the ray tracing framework // for the use with Cherenkov detectors // // created 2007 //----------------------------------------------------- #include "PndDrcOptMatLithotecQ0.h" #include //#include "PndDrcOptMatAbs.h" // //#include "TObject.h" //#include "TVector3.h" //#include "TRandom.h" // #include using std::cout; using std::cerr; //using std::cin; using std::endl; // //#include //using std::valarray; // //#include //using std::fstream; // //#include //using std::string; // //#include //using std::list; #include //---------------------------------------------------------------------- PndDrcOptMatLithotecQ0::PndDrcOptMatLithotecQ0() { fName = "Lithotec Q0"; fF1 = 28.17847; fE1 = 10.28086; fF2 = 207.5092; fE2 = 15.77682; } //---------------------------------------------------------------------- PndDrcOptMatLithotecQ0* PndDrcOptMatLithotecQ0::Clone() const { return new PndDrcOptMatLithotecQ0(*this); } //---------------------------------------------------------------------- void PndDrcOptMatLithotecQ0::Copy(const PndDrcOptMatLithotecQ0& mat) { fF1 = mat.fF1; fE1 = mat.fE1; fF2 = mat.fF2; fE2 = mat.fE2; fRan = mat.fRan; }//---------------------------------------------------------------------- PndDrcOptMatLithotecQ0::PndDrcOptMatLithotecQ0(const PndDrcOptMatLithotecQ0& mat) : PndDrcOptMatAbs(mat) { if (mat.fVerbosity>=1) cout<<" PndDrcOptMatLithotecQ0::PndDrcOptMatLithotecQ0" <<"(const PndDrcOptMatLithotecQ0&) " <=1) cout<<" PndDrcOptMatLithotecQ0::operator=" <<"(const PndDrcOptMatLithotecQ0&) " <((*this)) = mat; // assignment of base class part. Copy(mat); } return *this; } //---------------------------------------------------------------------- double PndDrcOptMatLithotecQ0::RefIndex(const double lambda) const { static const double kPi = 3.1415926535; static const double kHbarc = 197.3269602; // Mev fm if (lambda<0) return 1.47; // average value. //cout<<" PndDrcOptMatLithotecQ0::refIndex: lambda = "<trans) { return true; // absorbed } return false; // no absorption. }