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