/******************************************************************************************** * Constructors ********************************************************************************************/ public TemperatureDecayWidthPrinter( string dataPathFile, List <BottomiumState> bottomiumStates, List <PotentialType> potentialTypes, DecayWidthType decayWidthType, double qgpFormationTemperature, int numberAveragingAngles ) { DataPathFile = dataPathFile; BottomiumStates = bottomiumStates; PotentialTypes = potentialTypes; DecayWidthType = decayWidthType; QGPFormationTemperature = qgpFormationTemperature; NumberAveragingAngles = numberAveragingAngles; }
/******************************************************************************************** * Constructors ********************************************************************************************/ public DecayWidthProvider( string dataPathFile, List <PotentialType> potentialTypes, DopplerShiftEvaluationType dopplerShiftEvaluationType, DecayWidthType decayWidthType, double qgpFormationTemperature, int numberAveragingAngles ) { DataPathFile = dataPathFile; PotentialTypes = potentialTypes; DopplerShiftEvaluationType = dopplerShiftEvaluationType; DecayWidthType = decayWidthType; QGPFormationTemperature = qgpFormationTemperature; NumberAveragingAngles = numberAveragingAngles; DecayWidthAveragers = InitializeDecayWidthAveragers(); }
private static string GetDecayWidthTypeGnuplotCode( DecayWidthType type ) { switch (type) { case DecayWidthType.GammaDamp: return("{/Symbol G}^{damp}_{nl}"); case DecayWidthType.GammaDiss: return("{/Symbol G}^{diss}_{nl}"); case DecayWidthType.GammaTot: return("{/Symbol G}^{tot}_{nl}"); default: throw new Exception("Invalid DecayWidthType."); } }
/******************************************************************************************** * Constructors ********************************************************************************************/ public QQDataProvider( string dataPathFile, List <PotentialType> potentialTypes, DopplerShiftEvaluationType dopplerShiftEvaluationType, ElectricDipoleAlignment electricDipoleAlignment, DecayWidthType decayWidthType, double qgpFormationTemperature, int numberAveragingAngles ) { DopplerShiftEvaluationType = dopplerShiftEvaluationType; ElectricDipoleAlignment = electricDipoleAlignment; DecayWidthType = decayWidthType; QGPFormationTemperature = qgpFormationTemperature; NumberAveragingAngles = numberAveragingAngles; DataSets = InitializeDataSets(dataPathFile, potentialTypes); DecayWidthAveragers = InitializeDecayWidthAveragers(); }
public double GetGamma( DecayWidthType type ) { switch (type) { case DecayWidthType.None: return(0); case DecayWidthType.GammaDamp: return(GammaDamp); case DecayWidthType.GammaDiss: return(GammaDiss); case DecayWidthType.GammaTot: return(GammaTot); default: throw new Exception("Invalid DecayWidthType."); } }