50 #ifndef G4AdjointCSManager_h
51 #define G4AdjointCSManager_h 1
144 G4bool IsScatProjToProjCase,
145 std::vector<G4double>&
146 AdjointCS_for_each_element);
154 G4bool IsScatProjToProjCase);
181 std::vector<G4AdjointCSMatrix*>
185 G4int nbin_pro_decade);
187 std::vector<G4AdjointCSMatrix*>
190 G4int nbin_pro_decade);
G4bool CrossSectionMatrixesAreBuilt
G4double ComputeAdjointCS(G4Material *aMaterial, G4VEmAdjointModel *aModel, G4double PrimEnergy, G4double Tcut, G4bool IsScatProjToProjCase, std::vector< G4double > &AdjointCS_for_each_element)
std::vector< G4PhysicsTable * > listSigmaTableForAdjointModelScatProjToProj
void BuildTotalSigmaTables()
G4double GetAdjointSigma(G4double Ekin_nuc, size_t index_model, G4bool is_scat_proj_to_proj, const G4MaterialCutsCouple *aCouple)
std::vector< G4PhysicsTable * > theTotalForwardSigmaTableVector
G4double LastCSCorrectionFactor
G4bool TotalSigmaTableAreBuilt
std::vector< std::vector< G4VEnergyLossProcess * > * > listOfForwardEnergyLossProcess
std::vector< std::vector< G4double > > EkinofFwdSigmaMax
G4bool forward_CS_is_used
G4double lastPrimaryEnergy
std::vector< std::vector< G4double > > lastAdjointCSVsModelsAndElements
void DefineCurrentMaterial(const G4MaterialCutsCouple *couple)
void SetNbins(G4int aInt)
std::vector< std::vector< G4VEmProcess * > * > listOfForwardEmProcess
G4ParticleDefinition * GetForwardParticleEquivalent(G4ParticleDefinition *theAdjPartDef)
void RegisterEnergyLossProcess(G4VEnergyLossProcess *aProcess, G4ParticleDefinition *aPartDef)
G4double GetCrossSectionCorrection(G4ParticleDefinition *aPartDef, G4double PreStepEkin, const G4MaterialCutsCouple *aCouple, G4bool &fwd_is_used, G4double &fwd_TotCS)
G4ParticleDefinition * GetAdjointParticleEquivalent(G4ParticleDefinition *theFwdPartDef)
G4MaterialCutsCouple * currentCouple
G4double GetTotalAdjointCS(G4ParticleDefinition *aPartDef, G4double Ekin, const G4MaterialCutsCouple *aCouple)
G4Material * currentMaterial
std::vector< G4PhysicsTable * > listSigmaTableForAdjointModelProdToProj
std::vector< std::vector< G4AdjointCSMatrix * > > theAdjointCSMatricesForScatProjToProj
void GetMaxFwdTotalCS(G4ParticleDefinition *aPartDef, const G4MaterialCutsCouple *aCouple, G4double &e_sigma_max, G4double &sigma_max)
G4Material * lastMaterial
std::vector< G4AdjointCSMatrix * > BuildCrossSectionsMatricesForAGivenModelAndMaterial(G4VEmAdjointModel *aModel, G4Material *aMaterial, G4int nbin_pro_decade)
std::vector< G4PhysicsTable * > theTotalAdjointSigmaTableVector
void SetIon(G4ParticleDefinition *adjIon, G4ParticleDefinition *fwdIon)
G4double GetPostStepWeightCorrection()
void DefineCurrentParticle(const G4ParticleDefinition *aPartDef)
std::vector< G4ParticleDefinition * > theListOfAdjointParticlesInAction
G4ParticleDefinition * currentParticleDef
double A(double temperature)
void SetTmax(G4double aVal)
static G4ThreadLocal G4AdjointCSManager * theInstance
std::vector< std::vector< G4AdjointCSMatrix * > > theAdjointCSMatricesForProdToProj
G4ParticleDefinition * theFwdIon
void RegisterAdjointParticle(G4ParticleDefinition *aPartDef)
void SetTmin(G4double aVal)
std::vector< std::vector< G4double > > EminForAdjSigmaTables
static G4AdjointCSManager * GetAdjointCSManager()
std::vector< size_t > listOfIndexOfAdjointEMModelInAction
std::vector< G4bool > listOfIsScatProjToProjCase
G4double GetTotalForwardCS(G4ParticleDefinition *aPartDef, G4double Ekin, const G4MaterialCutsCouple *aCouple)
G4ParticleDefinition * lastPartDefForCS
size_t RegisterEmAdjointModel(G4VEmAdjointModel *)
size_t currentParticleIndex
G4Element * SampleElementFromCSMatrices(G4Material *aMaterial, G4VEmAdjointModel *aModel, G4double PrimEnergy, G4double Tcut, G4bool IsScatProjToProjCase)
std::vector< std::vector< G4double > > EkinofAdjSigmaMax
G4double ComputeTotalAdjointCS(const G4MaterialCutsCouple *aMatCutCouple, G4ParticleDefinition *aPart, G4double PrimEnergy)
G4ParticleDefinition * theAdjIon
void BuildCrossSectionMatrices()
std::vector< G4AdjointCSMatrix * > BuildCrossSectionsMatricesForAGivenModelAndElement(G4VEmAdjointModel *aModel, G4int Z, G4int A, G4int nbin_pro_decade)
void SetFwdCrossSectionMode(G4bool aBool)
void RegisterEmProcess(G4VEmProcess *aProcess, G4ParticleDefinition *aPartDef)
void GetEminForTotalCS(G4ParticleDefinition *aPartDef, const G4MaterialCutsCouple *aCouple, G4double &emin_adj, G4double &emin_fwd)
void GetMaxAdjTotalCS(G4ParticleDefinition *aPartDef, const G4MaterialCutsCouple *aCouple, G4double &e_sigma_max, G4double &sigma_max)
G4double GetContinuousWeightCorrection(G4ParticleDefinition *aPartDef, G4double PreStepEkin, G4double AfterStepEkin, const G4MaterialCutsCouple *aCouple, G4double step_length)
std::vector< G4VEmAdjointModel * > listOfAdjointEMModel
std::vector< std::vector< G4double > > EminForFwdSigmaTables