#include "THKCherenkov2D.h" #include using std::cout; using std::endl; ClassImp(THKCherenkov2D) void THKCherenkov2D::SetValues(double Start[3],double Momentum,double Theta,double Phi) { for(int i=0;i<3;i++) { start[i]=Start[i]; } momentum=Momentum; theta=Theta; phi=Phi; } void THKCherenkov2D::Describe(Picker* p) { p->Output(Form("Cherenkov ring from %s : \n Momentum: %f, \n Theta: %f, \n Phi: %f \n Vertex (%10.5G,%10.5G,%10.5G) ",GetTitle(),momentum,theta,phi,start[0],start[1],start[2])); }