ebe_scripts/average_event_spvn_h5_minimumbias.py
def calculate_vn_arrays_for_rn_ratios(data):
    """
        this function compute the complex pT-integrated Vn vector
        in different pT ranges for a single event
        it returns a 2d matrix vn_arrays[pT_idx, n_order_idx]
    """
    pT_boundaries = [0.3, 0.5, 0.75, 1.0, 1.5, 2.0, 2.5, 3.0]
    npT = 50
    vn_arrays = []
    for ipT in range(len(pT_boundaries)-1):
        pT_low = pT_boundaries[ipT]
        pT_high = pT_boundaries[ipT + 1]
        pT_mid = (pT_low + pT_high)/2.
        vn_array = calcualte_inte_vn(pT_low, pT_high, data)
        vn_array.insert(0, pT_mid)
        vn_arrays.append(vn_array)
    return(vn_arrays)

        this function compute the complex pT-integrated Vn vector
        in different pT ranges for a single event
        it returns a 2d matrix vn_arrays[pT_idx, n_order_idx]
    
this function compute the complex pT-integrated Vn vector
in different pT ranges for a single event
it returns a 2d matrix vn_arrays[pT_idx, n_order_idx]
this function compute the complex pT - integrated Vn vector in different pT ranges for a single event it returns a 2d matrix vn_arrays [ pT_idx n_order_idx ]
def calculate_vn_arrays_for_rn_ratios(data):
    pT_boundaries = [0.3, 0.5, 0.75, 1.0, 1.5, 2.0, 2.5, 3.0]
    npT = 50
    vn_arrays = []
    for ipT in range(len(pT_boundaries)-1):
        pT_low = pT_boundaries[ipT]
        pT_high = pT_boundaries[ipT + 1]
        pT_mid = (pT_low + pT_high)/2.
        vn_array = calcualte_inte_vn(pT_low, pT_high, data)
        vn_array.insert(0, pT_mid)
        vn_arrays.append(vn_array)
    return(vn_arrays)
def calculate_vn_arrays_for_rn_ratios ( data ) : pT_boundaries = [ 0.3 , 0.5 , 0.75 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 ] npT = 50 vn_arrays = [ ] for ipT in range ( len ( pT_boundaries ) - 1 ) : pT_low = pT_boundaries [ ipT ] pT_high = pT_boundaries [ ipT + 1 ] pT_mid = ( pT_low + pT_high ) / 2. vn_array = calcualte_inte_vn ( pT_low , pT_high , data ) vn_array . insert ( 0 , pT_mid ) vn_arrays . append ( vn_array ) return ( vn_arrays )
this function compute the complex pT-integrated Vn vector
in different pT ranges for a single event
it returns a 2d matrix vn_arrays[pT_idx, n_order_idx]
this function compute the complex pT - integrated Vn vector in different pT ranges for a single event it returns a 2d matrix vn_arrays [ pT_idx n_order_idx ]
"""
        this function compute the complex pT-integrated Vn vector
        in different pT ranges for a single event
        it returns a 2d matrix vn_arrays[pT_idx, n_order_idx]
    """
data