]>
Commit | Line | Data |
---|---|---|
41229b87 | 1 | // $Id$ |
2 | // Category: physics | |
3 | // | |
499b353a | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class TG4ExtDecayer | |
7 | // ------------------- | |
41229b87 | 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. | |
13 | ||
c3ce5af1 | 14 | #ifndef TG4_EXT_DECAYER_H |
15 | #define TG4_EXT_DECAYER_H | |
41229b87 | 16 | |
ae3a9277 | 17 | #include "TG4Verbose.h" |
18 | ||
41229b87 | 19 | #include <G4VExtDecayer.hh> |
20 | #include <globals.hh> | |
21 | ||
22 | class AliDecayer; | |
23 | class TG4ParticlesManager; | |
24 | ||
25 | class G4Track; | |
26 | class G4DecayProducts; | |
27 | ||
28 | class TClonesArray; | |
29 | ||
ae3a9277 | 30 | class TG4ExtDecayer : public G4VExtDecayer, |
31 | public TG4Verbose | |
41229b87 | 32 | { |
33 | public: | |
34 | TG4ExtDecayer(AliDecayer* externalDecayer); | |
c3ce5af1 | 35 | // --> protected |
36 | //TG4ExtDecayer(const TG4ExtDecayer& right); | |
41229b87 | 37 | virtual ~TG4ExtDecayer(); |
38 | ||
39 | virtual G4DecayProducts* ImportDecayProducts(const G4Track& track); | |
40 | ||
c3ce5af1 | 41 | protected: |
42 | TG4ExtDecayer(const TG4ExtDecayer& right); | |
43 | ||
44 | // operators | |
45 | TG4ExtDecayer& operator=(const TG4ExtDecayer& right); | |
41229b87 | 46 | |
47 | private: | |
48 | TG4ParticlesManager* fParticlesManager; //particles manager | |
49 | AliDecayer* fExternalDecayer; //the AliDecayer | |
50 | TClonesArray* fDecayProductsArray;//array of decay products | |
41229b87 | 51 | }; |
52 | ||
c3ce5af1 | 53 | #endif //TG4_EXT_DECAYER_H |