26#ifndef G4SPBaryonTable_h
27#define G4SPBaryonTable_h
39 std::size_t
length() {
return theBaryons.size();}
44 std::vector<G4SPBaryon *> theBaryons;
51 for(
unsigned int i=0; i<theBaryons.size(); i++)
53 if(theBaryons[i]->GetDefinition()==aDefinition)
55 result = theBaryons[i];
void insert(G4SPBaryon *aBaryon)
const G4SPBaryon * GetBaryon(G4ParticleDefinition *aDefinition)
void operator()(G4SPBaryon *aS)