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
CMSDummyDeexcitation::CMSDummyDeexcitation
CMSDummyDeexcitation()
Definition: CMSDummyDeexcitation.h:22
CMSDummyDeexcitation::DeExciteModelDescription
void DeExciteModelDescription(std::ostream &) const override
Definition: CMSDummyDeexcitation.h:30
CMSDummyDeexcitation::ApplyYourself
G4HadFinalState * ApplyYourself(const G4HadProjectile &, G4Nucleus &) override
Definition: CMSDummyDeexcitation.h:26
CMSDummyDeexcitation::~CMSDummyDeexcitation
~CMSDummyDeexcitation() override
Definition: CMSDummyDeexcitation.h:24
CMSDummyDeexcitation::DeExcite
G4ReactionProductVector * DeExcite(G4Fragment &) override
Definition: CMSDummyDeexcitation.h:28
CMSDummyDeexcitation
Definition: CMSDummyDeexcitation.h:20