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 {
22 public:
23 
24  CMSDummyDeexcitation():G4VPreCompoundModel(nullptr, "PRECO") {};
25 
26  ~CMSDummyDeexcitation() override {};
27 
28  G4HadFinalState* ApplyYourself(const G4HadProjectile&, G4Nucleus&) override { return nullptr; }
29 
30  G4ReactionProductVector* DeExcite(G4Fragment&) override { return new G4ReactionProductVector(); };
31 
32  void DeExciteModelDescription(std::ostream&) const override {}
33 
34 };
35 #endif
#define nullptr
G4HadFinalState * ApplyYourself(const G4HadProjectile &, G4Nucleus &) override
void DeExciteModelDescription(std::ostream &) const override
G4ReactionProductVector * DeExcite(G4Fragment &) override