]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenBase/EvtTensorParticle.hh
Fix for definitions for CINT
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtTensorParticle.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
4 //      This software is part of the EvtGen package developed jointly
5 //      for the BaBar and CLEO collaborations.  If you use all or part
6 //      of it, please give an appropriate acknowledgement.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 //      Copyright (C) 1998      Caltech, UCSB
10 //
11 // Module: EvtGen/EvtTensorParticle.hh
12 //
13 // Description: Class to describe tensor ( spin 2 ) particles.
14 //
15 // Modification history:
16 //
17 //    DJL/RYD     Sept. 25, 1996       Module created
18 //
19 //------------------------------------------------------------------------
20
21 #ifndef EVTTENSORPARTICLE_HH
22 #define EVTTENSORPARTICLE_HH
23
24 #include "EvtGenBase/EvtTensor4C.hh"
25 #include "EvtGenBase/EvtParticle.hh"
26
27 class EvtTensorParticle: public EvtParticle {
28   
29 public:
30
31   EvtTensorParticle() {}
32   virtual ~EvtTensorParticle();
33
34   void init(EvtId part_n,double e,double px,double py,double pz);
35   void init(EvtId part_n,const EvtVector4R& p4);
36   void init(EvtId part_n,const EvtVector4R& p4,
37             const EvtTensor4C&,const EvtTensor4C&,const EvtTensor4C&,
38             const EvtTensor4C&,const EvtTensor4C&);
39   //Returns polarization tensors.
40   EvtTensor4C epsTensorParent(int i) const; 
41   EvtTensor4C epsTensor(int i) const; 
42
43   EvtSpinDensity rotateToHelicityBasis() const;
44   EvtSpinDensity rotateToHelicityBasis(double alpha,
45                                        double beta,
46                                        double gamma) const;
47
48   
49 private:
50   
51   EvtTensor4C eps[5];//eps1,eps2,eps3,eps4,eps5; 
52
53   EvtTensorParticle(const EvtTensorParticle& tensor);  
54   EvtTensorParticle& operator=(const EvtTensorParticle& tensor);  
55
56 };
57
58 #endif
59