4 // Author: I. Hrivnacova
8 // TG4ExtDecayer class implements the G4VExtDecayer abstract class
9 // with the AliDecayer.
10 // In case a particle has not defined any decay channel
11 // and has not pre-assigned decay products,
12 // the external decayer is called.
14 #ifndef TG4_EXT_DECAYER_H
15 #define TG4_EXT_DECAYER_H
17 #include "TG4Verbose.h"
19 #include <G4VExtDecayer.hh>
23 class TG4ParticlesManager;
26 class G4DecayProducts;
30 class TG4ExtDecayer : public G4VExtDecayer,
34 TG4ExtDecayer(AliDecayer* externalDecayer);
36 //TG4ExtDecayer(const TG4ExtDecayer& right);
37 virtual ~TG4ExtDecayer();
39 virtual G4DecayProducts* ImportDecayProducts(const G4Track& track);
42 TG4ExtDecayer(const TG4ExtDecayer& right);
45 TG4ExtDecayer& operator=(const TG4ExtDecayer& right);
48 TG4ParticlesManager* fParticlesManager; //particles manager
49 AliDecayer* fExternalDecayer; //the AliDecayer
50 TClonesArray* fDecayProductsArray;//array of decay products
53 #endif //TG4_EXT_DECAYER_H