CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/SimG4Core/CustomPhysics/interface/Decay3Body.h

Go to the documentation of this file.
00001 #ifndef DECAY3BODY_H
00002 #define DECAY3BODY_H
00003 
00004 #include "G4LorentzVector.hh"
00005 
00006 class Decay3Body {
00007   public:
00008     Decay3Body();
00009     ~Decay3Body();
00010 
00011     void doDecay(const G4LorentzVector & mother,
00012                        G4LorentzVector & daughter1,
00013                        G4LorentzVector & daughter2,
00014                        G4LorentzVector & daughter3);
00015 
00016   private:
00017     inline double sqr(double a);
00018 };
00019 
00020 #endif