CMS 3D CMS Logo

CMSDummyDeexcitation.h
Go to the documentation of this file.
1 #ifndef FastSimulation_MaterialEffects_CMSDummyDeexcitation_H
2 #define FastSimulation_MaterialEffects_CMSDummyDeexcitation_H
3 
12 #include "G4VPreCompoundModel.hh"
13 #include "G4ReactionProductVector.hh"
14 
15 class G4Fragment;
16 class G4HadFinalState;
17 class G4HadProjectile;
18 class G4Nucleus;
19 
20 class CMSDummyDeexcitation : public G4VPreCompoundModel {
21 public:
22  CMSDummyDeexcitation() : G4VPreCompoundModel(nullptr, "PRECO"){};
23 
24  ~CMSDummyDeexcitation() override{};
25 
26  G4HadFinalState* ApplyYourself(const G4HadProjectile&, G4Nucleus&) override { return nullptr; }
27 
28  G4ReactionProductVector* DeExcite(G4Fragment&) override { return new G4ReactionProductVector(); };
29 
30  void DeExciteModelDescription(std::ostream&) const override {}
31 };
32 #endif
void DeExciteModelDescription(std::ostream &) const override
G4HadFinalState * ApplyYourself(const G4HadProjectile &, G4Nucleus &) override
G4ReactionProductVector * DeExcite(G4Fragment &) override