/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtVectorParticle.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 1998      Caltech, UCSB
00010 //
00011 // Module: EvtGen/EvtVectorParticle.hh
00012 //
00013 // Description: Class to describe vector particles.
00014 //
00015 // Modification history:
00016 //
00017 //    DJL/RYD     September 25, 1996         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTVECTORPARTICLE_HH
00022 #define EVTVECTORPARTICLE_HH
00023 
00024 #include "EvtGenBase/EvtVector4R.hh"
00025 #include "EvtGenBase/EvtVector4C.hh"
00026 #include "EvtGenBase/EvtParticle.hh"
00027 
00028 class EvtId;
00029 
00030 class EvtVectorParticle: public EvtParticle {
00031 
00032 public:
00033 
00034   EvtVectorParticle() {}
00035   virtual ~EvtVectorParticle();
00036 
00037   void init(EvtId part_n,double e,double px,double py,double pz);
00038   void init(EvtId part_n,const EvtVector4R& p);
00039   EvtVector4C epsParent(int i) const   {return boostTo(_eps[i],this->getP4());}
00040   EvtVector4C eps(int i) const {return _eps[i];} 
00041   EvtSpinDensity rotateToHelicityBasis() const;
00042   EvtSpinDensity rotateToHelicityBasis(double alpha,
00043                                        double beta,
00044                                        double gamma) const;
00045  
00046 private:
00047   
00048   EvtVector4C _eps[3];
00049 
00050   EvtVectorParticle(const EvtVectorParticle& vector);
00051   EvtVectorParticle& operator=(const EvtVectorParticle& vector);
00052   
00053 };
00054 
00055 #endif
00056 

Generated on Tue Nov 29 23:12:16 2016 for BOSS_7.0.2 by  doxygen 1.4.7