예제 #1
0
        public void ConvertRaggedToFlatImpactParamsArray()
        {
            QGPSuppression suppression = new QGPSuppression(
                new FireballParam(), NumberCentralityBins, ImpactParamsAtBinBoundaries, CancellationToken);

            List <double> flatImpactParams = suppression.FlatImpactParamsAtBinBoundaries;

            AssertCorrectFlatImpactParamsArray(flatImpactParams);
        }
예제 #2
0
        protected BottomiumVector[][][] CalculateQGPSuppressionFactors(
            List <int> numberCentralityBins
            )
        {
            QGPSuppression qgpSuppression = new QGPSuppression(CreateFireballParam(),
                                                               numberCentralityBins, ImpactParamsAtBinBoundaries_fm, JobCancelToken);

            qgpSuppression.TrackStatus(StatusValues);

            return(qgpSuppression.CalculateQGPSuppressionFactors());
        }
예제 #3
0
        public void CalculateQGPSuppressionFactors_pPb()
        {
            QGPSuppression suppression = new QGPSuppression(
                CreateFireballParam_pPb(),
                new List <int> {
                7
            },
                new List <List <double> > {
                new List <double> {
                    0, 1.6, 2.4, 3.6, 4.4, 5.0, 5.6, 14.0
                }
            },
                CancellationToken);

            BottomiumVector[][][] suppressionFactors = suppression.CalculateQGPSuppressionFactors();

            AssertCorrectQGPSuppressionFactors_pPb(suppressionFactors);
        }
예제 #4
0
        public void CalculateQGPSuppressionFactors_PbPb()
        {
            QGPSuppression suppression = new QGPSuppression(
                CreateFireballParam_PbPb(),
                new List <int> {
                8
            },
                new List <List <double> > {
                new List <double> {
                    0, 3.2, 4.4, 6.8, 8.4, 9.6, 10.8, 12, 21.2
                }
            },
                CancellationToken);

            BottomiumVector[][][] suppressionFactors = suppression.CalculateQGPSuppressionFactors();

            AssertCorrectQGPSuppressionFactors_PbPb(suppressionFactors);
        }