Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:09:57

0001 #ifndef ATOOLS_Phys_Simple_Polarisation_Info_H
0002 #define ATOOLS_Phys_Simple_Polarisation_Info_H
0003 
0004 #include <iostream>
0005 
0006 namespace ATOOLS {
0007 
0008   class Simple_Polarisation_Info {
0009   protected:
0010     char   m_pol_type;
0011     double m_angle;
0012     int    m_info;
0013   public:
0014     Simple_Polarisation_Info() :
0015       m_pol_type(' '), m_angle(0.), m_info(0) {};
0016     Simple_Polarisation_Info(int info, double angle) :
0017       m_pol_type('l'), m_angle(angle), m_info(info) 
0018     {
0019       if (m_info==0) m_pol_type=' ';
0020     };
0021     double Angle()  const { return m_angle;}
0022     int    Info()   const { return m_info;}
0023     char   GetPol() const { return m_pol_type;}
0024   };
0025 
0026   std::ostream& operator<< (std::ostream& s, const Simple_Polarisation_Info & polinfo);
0027 
0028 }
0029 
0030 #endif