51 #ifndef G4LossTableBuilder_h
52 #define G4LossTableBuilder_h 1
73 const std::vector<G4PhysicsTable*>&);
78 G4bool isIonisation =
false);
83 G4bool isIonisation =
false);
109 void InitialiseCouples();
119 std::vector<G4double>* theDensityFactor;
120 std::vector<G4int>* theDensityIdx;
121 std::vector<G4bool>* theFlag;
125 inline const std::vector<G4int>*
128 if(theDensityIdx->size() == 0) { InitialiseCouples(); }
129 return theDensityIdx;
132 inline const std::vector<G4double>*
135 if(theDensityIdx->size() == 0) { InitialiseCouples(); }
136 return theDensityFactor;
141 return (*theFlag)[idx];
151 isInitialized = flag;
void BuildRangeTable(const G4PhysicsTable *dedxTable, G4PhysicsTable *rangeTable, G4bool isIonisation=false)
const std::vector< G4double > * GetDensityFactors()
G4PhysicsTable * BuildTableForModel(G4PhysicsTable *table, G4VEmModel *model, const G4ParticleDefinition *, G4double emin, G4double emax, G4bool spline)
G4bool GetFlag(size_t idx) const
void SetInitialisationFlag(G4bool flag)
virtual ~G4LossTableBuilder()
void BuildInverseRangeTable(const G4PhysicsTable *rangeTable, G4PhysicsTable *invRangeTable, G4bool isIonisation=false)
static const G4double emax
void BuildDEDXTable(G4PhysicsTable *dedxTable, const std::vector< G4PhysicsTable * > &)
void InitialiseBaseMaterials(G4PhysicsTable *table)
const XML_Char XML_Content * model
void SetSplineFlag(G4bool flag)
const std::vector< G4int > * GetCoupleIndexes()