Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:03:43

0001 
0002 #include <TObject.h>
0003 #include <TVector3.h>
0004 #include <TRef.h>
0005 
0006 #ifndef _REFRACTION_POINT_
0007 #define _REFRACTION_POINT_
0008 
0009 #include "CherenkovRadiator.h"
0010 
0011 class RefractionPoint: public TObject {
0012  public:
0013   RefractionPoint()/*: m_Mirror(0), m_VolumeCopy(0)*/ { m_Radiators[0] = 0; m_Radiators[1] = 0; };
0014  RefractionPoint(CherenkovRadiator *rfrom, CherenkovRadiator *rto, /*unsigned vcopy*/
0015          const TVector3 &position, const TVector3 &mfrom, const TVector3 &mto):
0016   //m_Mirror(mirror), m_VolumeCopy(vcopy), 
0017   m_Position(position) {//, m_Momenta(momentum) {
0018   m_Radiators[0] = rfrom; m_Radiators[1] = rto; 
0019   m_Momenta  [0] = mfrom; m_Momenta  [1] = mto;
0020 };
0021   ~RefractionPoint() {};
0022 
0023   //private:
0024   TRef m_Radiators[2];
0025   //unsigned m_VolumeCopy;
0026   TVector3 m_Position, m_Momenta[2];
0027 
0028 #ifndef DISABLE_ROOT_IO
0029   ClassDef(RefractionPoint, 1);
0030 #endif
0031 };
0032 
0033 #endif