Example #1
0
        /********************************************************************************************
        * Constructors
        ********************************************************************************************/

        public CollisionalElectromagneticField(
            FireballParam param
            )
        {
            NucleusPositionA = param.NucleusPositionA;
            NucleusPositionB = param.NucleusPositionB;

            Nucleus.CreateNucleusPair(param, out Nucleus nucleusA, out Nucleus nucleusB);

            NucleusEMFA = new NucleusElectromagneticField(
                param.EMFCalculationMethod,
                param.PartonPeakRapidity,
                nucleusA,
                param.EMFQuadratureOrder);

            NucleusEMFB = new NucleusElectromagneticField(
                param.EMFCalculationMethod,
                -param.PartonPeakRapidity,
                nucleusB,
                param.EMFQuadratureOrder);

            LCFFieldAverager = new LCFFieldAverager(param);
        }
Example #2
0
 private void InitNucleusAB()
 {
     Nucleus.CreateNucleusPair(Param, out NucleusA, out NucleusB);
 }