Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EvaporationFactory Class Reference

#include <G4EvaporationFactory.hh>

Inheritance diagram for G4EvaporationFactory:
Collaboration diagram for G4EvaporationFactory:

Public Member Functions

 G4EvaporationFactory (G4VEvaporationChannel *photoEvaporation)
 
virtual ~G4EvaporationFactory ()
 
virtual std::vector
< G4VEvaporationChannel * > * 
GetChannel ()
 
- Public Member Functions inherited from G4VEvaporationFactory
 G4VEvaporationFactory (G4VEvaporationChannel *photoEvaporation)
 
virtual ~G4VEvaporationFactory ()
 

Additional Inherited Members

- Protected Attributes inherited from G4VEvaporationFactory
G4VEvaporationChannelthePhotonEvaporation
 

Detailed Description

Definition at line 43 of file G4EvaporationFactory.hh.

Constructor & Destructor Documentation

G4EvaporationFactory::G4EvaporationFactory ( G4VEvaporationChannel photoEvaporation)
explicit

Definition at line 47 of file G4EvaporationFactory.cc.

49 {}
G4VEvaporationFactory(G4VEvaporationChannel *photoEvaporation)
G4EvaporationFactory::~G4EvaporationFactory ( )
virtual

Definition at line 51 of file G4EvaporationFactory.cc.

52 {}

Member Function Documentation

std::vector< G4VEvaporationChannel * > * G4EvaporationFactory::GetChannel ( )
virtual

Implements G4VEvaporationFactory.

Definition at line 54 of file G4EvaporationFactory.cc.

55 {
56  std::vector<G4VEvaporationChannel*> * theChannel =
57  new std::vector<G4VEvaporationChannel*>;
58  theChannel->reserve(8);
59 
60  theChannel->push_back( thePhotonEvaporation ); // Photon Channel
61  theChannel->push_back( new G4CompetitiveFission() ); // Fission Channel
62 
63  theChannel->push_back( new G4NeutronEvaporationChannel() ); // n
64  theChannel->push_back( new G4ProtonEvaporationChannel() ); // p
65  theChannel->push_back( new G4DeuteronEvaporationChannel() ); // Deuteron
66  theChannel->push_back( new G4TritonEvaporationChannel() ); // Triton
67  theChannel->push_back( new G4He3EvaporationChannel() ); // He3
68  theChannel->push_back( new G4AlphaEvaporationChannel() ); // Alpha
69 
70  size_t nn = theChannel->size();
71  for(size_t i=1; i<nn; ++i) {
72  (*theChannel)[i]->SetPhotonEvaporation(thePhotonEvaporation);
73  }
74 
75  return theChannel;
76 
77 }
G4VEvaporationChannel * thePhotonEvaporation

The documentation for this class was generated from the following files: