StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtPhotonParticle.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/EvtPhotonParticle.hh
12 //
13 // Description:Class to describe photons
14 //
15 // Modification history:
16 //
17 // DJL/RYD Sept. 25, 1996 Module created
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef EVTPHOTONPARTICLE_HH
22 #define EVTPHOTONPARTICLE_HH
23 
24 #include "EvtGenBase/EvtVector4C.hh"
25 #include "EvtGenBase/EvtParticle.hh"
26 class EvtId;
27 
28 //Class to handle massless spin 1 particles.
29 
31 
32 public:
33 
35  virtual ~EvtPhotonParticle();
36 
37  void init(EvtId part_n,double e,double px,double py,double pz);
38  void init(EvtId part_n,const EvtVector4R& p4);
39 
40  //Return polarization vectors
42  EvtVector4C epsPhoton(int i);
43 
46  double beta,
47  double gamma) const;
48 
49 private:
50 
51  EvtVector4C eps1,eps2;
52  int _evalBasis;
53 
54  EvtPhotonParticle(const EvtPhotonParticle& photon);
55  EvtPhotonParticle& operator=(const EvtPhotonParticle& photon);
56 
57 };
58 
59 #endif
60 
EvtVector4C epsPhoton(int i)
EvtSpinDensity rotateToHelicityBasis() const
EvtVector4C epsParentPhoton(int i)
Definition: EvtId.hh:27