29#ifndef G4ParticleHPDeExGammas_h
30#define G4ParticleHPDeExGammas_h 1
57 void Init(std::istream & aDataFile);
61 if(aLevel>nLevels-1 || aLevel<0)
return nullptr;
68 for(
unsigned int i=0; i<theResult->size(); ++i)
71 *theCurrent = *(theResult->operator[](i));
72 delete theResult->operator[](i);
74 G4double theta = std::acos(costheta);
78 G4ThreeVector temp(en*sinth*std::cos(phi), en*sinth*std::sin(phi), en*costheta );
80 result->push_back(theCurrent);
88 if(i>nLevels-1)
return nullptr;
96 if(aLevel>nLevels-1 || aLevel<0)
return 0;
102 G4int * levelStart =
nullptr;
103 G4int * levelSize =
nullptr;
std::vector< G4DynamicParticle * > G4DynamicParticleVector
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4ParticleHPLevel * GetLevel(G4int i)
G4ReactionProductVector * GetDecayGammas(G4int aLevel)
~G4ParticleHPDeExGammas()
G4int GetNumberOfLevels()
G4double GetLevelEnergy(G4int aLevel)
void Init(std::istream &aDataFile)
G4double GetLevelEnergy()
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4double GetTotalMomentum() const