Browse Source

Added YAML configs for QnAnalysis framework

PeterParfenov 3 months ago
parent
commit
2d2b526a3f
1 changed files with 274 additions and 0 deletions
  1. 274 0
      qnanalysis_macros/models-correlation-plain.yml

+ 274 - 0
qnanalysis_macros/models-correlation-plain.yml

@@ -0,0 +1,274 @@
+# --- Set up u,Q vectors from QnAnalysisCorrect
+_detectors: &detectors_models
+  - name: u_hadrons_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_hadrons_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pr_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pr_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pip_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pip_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pim_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_pim_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_kap_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_kap_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_kam_L
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: u_kam_R
+    tags: [ un_vector ]
+    correction-step: plain
+  - name: Q_hadrons_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_hadrons_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pr_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pr_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pip_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pip_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pim_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_pim_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_kap_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_kap_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_kam_TPC_L
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_kam_TPC_R
+    tags: [ qn_TPC_vector ]
+    correction-step: plain
+  - name: Q_hadrons_FHCal_L
+    tags: [ qn_FHCal_vector ]
+    correction-step: plain
+  - name: Q_hadrons_FHCal_R
+    tags: [ qn_FHCal_vector ]
+    correction-step: plain
+  - name: Q_RP
+    correction-step: plain
+    tags: [ qn_FHCal_vector ]
+
+# --- Set up eventwise axes (like centrality)
+_axes:
+  - &bimp
+    name: Event_B
+    nb: 140
+    lo: 0.
+    hi: 14.
+
+# --- Set up components of the u,Q vectors (xn, yn) for vn using scalar product method and (cosn, sinn) for vn using event plane method
+_components:
+  - &v1_sp_components
+    [ x1,y1 ]
+  - &v1_ep_components
+    [ cos1,sin1 ]
+  - &v2_sp_components
+    [ x2,y2 ]
+  - &v2_ep_components
+    [ cos2,sin2 ]
+  - &v3_sp_components
+    [ x3,y3 ]
+  - &v3_ep_components
+    [ cos3,sin3 ]
+  - &v4_sp_components
+    [ x4,y4 ]
+  - &v4_ep_components
+    [ cos4,sin4 ]
+
+_correlations_models:
+  # <u1 x Q1> with scalar product method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v1/uQ/SP"
+    axes: [ *bimp ]
+  # <u1 x Q1> with event plane method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v1/uQ/EP"
+    axes: [ *bimp ]
+  # <u2 x Q2> with scalar product method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v2_sp_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_models
+        components: *v2_sp_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v2/uQ/SP"
+    axes: [ *bimp ]
+  # <u2 x Q2> with event plane method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v2_ep_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_models
+        components: *v2_ep_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v2/uQ/EP"
+    axes: [ *bimp ]
+  # <u2 x Q1 x Q1> with scalar product method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v2_sp_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+        weight: ones
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v2/uQQ/SP"
+    axes: [ *bimp ]
+  # <u2 x Q1 x Q1> with event plane method 
+  - args:
+      - query: { tags: { any-in: [ un_vector ] } }
+        query-list: *detectors_models
+        components: *v2_ep_components
+        correction-steps: [ plain ]
+        weight: sumw
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+        weight: ones
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_models
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+        weight: ones
+    n-samples: 50
+    weights-type: observable
+    folder: "/v2/uQQ/EP"
+    axes: [ *bimp ]
+  # <Q1 x Q1> for scalar product method
+  - args:
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_mc
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_mc
+        components: *v1_sp_components
+        correction-steps: [ plain ]
+    n-samples: 50
+    weights-type: reference
+    folder: "/v1/QQ/SP"
+    axes: [ *bimp ]
+  # <Q1 x Q1> for event plane method
+  - args:
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_mc
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+      - query: { tags: { any-in: [ qn_FHCal_vector ] } }
+        query-list: *detectors_mc
+        components: *v1_ep_components
+        correction-steps: [ plain ]
+    n-samples: 50
+    weights-type: reference
+    folder: "/v1/QQ/EP"
+    axes: [ *bimp ]
+  # <Q2 x Q2> for scalar product method
+  - args:
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_mc
+        components: *v2_sp_components
+        correction-steps: [ plain ]
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_mc
+        components: *v2_sp_components
+        correction-steps: [ plain ]
+    n-samples: 50
+    weights-type: reference
+    folder: "/v2/QQ/SP"
+    axes: [ *bimp ]
+  # <Q2 x Q2> for event plane method
+  - args:
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_mc
+        components: *v2_ep_components
+        correction-steps: [ plain ]
+      - query: { tags: { any-in: [ qn_TPC_vector ] } }
+        query-list: *detectors_mc
+        components: *v2_ep_components
+        correction-steps: [ plain ]
+    n-samples: 50
+    weights-type: reference
+    folder: "/v2/QQ/EP"
+    axes: [ *bimp ]