Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-27 09:14:54

0001 // Class for the polarization vector of vector particles

0002 //

0003 // Author:       Daniel Winney (2019)

0004 // Affiliation:  Joint Physics Analysis Center (JPAC)

0005 // Email:        dwinney@iu.edu

0006 // ---------------------------------------------------------------------------

0007 
0008 #ifndef _POLVEC_
0009 #define _POLVEC_
0010 
0011 #include <iostream>
0012 #include "constants.hpp"
0013 #include "two_body_state.hpp"
0014 
0015 // ---------------------------------------------------------------------------

0016 // Polarization vectors for vector particles

0017 // in the s-channel center of mass frame

0018 // Vector particles are always particle 1

0019 // ---------------------------------------------------------------------------

0020 
0021 namespace jpacPhoto
0022 {
0023     class polarization_vector
0024     {
0025         public:
0026 
0027         // Constructor

0028         polarization_vector(two_body_state * xstate)
0029             : _state(xstate)
0030         {};
0031 
0032         // Destructor

0033         ~polarization_vector(){};
0034 
0035         // Components

0036         std::complex<double> component(int i, int lambda, double s, double theta);
0037         std::complex<double> conjugate_component(int i, int lambda, double s, double theta);
0038 
0039         private:
0040         
0041         two_body_state * _state;
0042     };
0043 };
0044 
0045 #endif