1 //--------------------------------------------------------------------------
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.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtScalarParticle.hh
13 // Description:Class to describe all spin 0 particles.
15 // Modification history:
17 // DJL/RYD September 25, 1996 Module created
19 //------------------------------------------------------------------------
21 #ifndef EVTSCALARPARTICLE_HH
22 #define EVTSCALARPARTICLE_HH
24 #include "EvtGenBase/EvtParticle.hh"
28 class EvtScalarParticle: public EvtParticle {
32 EvtScalarParticle() {}
33 virtual ~EvtScalarParticle();
35 void init(EvtId part_n,double e,double px,double py,double pz);
36 void init(EvtId part_n,const EvtVector4R& p);
38 EvtSpinDensity rotateToHelicityBasis() const;
39 EvtSpinDensity rotateToHelicityBasis(double alpha,
45 EvtScalarParticle(const EvtScalarParticle& scalar);
46 EvtScalarParticle& operator=(const EvtScalarParticle& scalar);