Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:04:25

0001 #ifndef SimG4Core_CustomPhysics_DECAY3BODY_H
0002 #define SimG4Core_CustomPhysics_DECAY3BODY_H
0003 
0004 #include "G4LorentzVector.hh"
0005 
0006 class Decay3Body {
0007 public:
0008   Decay3Body();
0009   ~Decay3Body();
0010 
0011   void doDecay(const G4LorentzVector& mother,
0012                G4LorentzVector& daughter1,
0013                G4LorentzVector& daughter2,
0014                G4LorentzVector& daughter3);
0015 
0016 private:
0017   inline double sqr(double a);
0018 };
0019 
0020 #endif