SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
LCExtendedDecay.hh
Go to the documentation of this file.
1 #ifndef SLIC_LCEXTENDEDDECAY_HH_
2 #define SLIC_LCEXTENDEDDECAY_HH_ 1
3 
4 #include "G4UnknownDecay.hh"
5 
6 namespace slic {
7 
12 class LCExtendedDecay: public G4UnknownDecay {
13  public:
14 
19  G4UnknownDecay("LCExtendedDecay") {
20  ;
21  }
22 
27  G4bool IsApplicable(const G4ParticleDefinition &pdef) {
28  return (pdef.GetParticleType() == "extended");
29  }
30 };
31 }
32 
33 #endif
This class triggers decays for the extended particle set from HepPDT.
G4bool IsApplicable(const G4ParticleDefinition &pdef)