File size: 2,431 Bytes
e75a247
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
treename: Delphes;1
selection:
   ### use `&`, `|`, `~` for logical operations on numpy arrays
   ### can use functions from `math`, `np` (numpy), and `awkward` in the expression
   #(jet_tightId==1) & (jet_no<2) & (fj_pt>200) & (fj_pt<2500) & (((sample_isQCD==0) & (fj_isQCD==0)) | ((sample_isQCD==1) & (fj_isQCD==1))) & (event_no%7!=0)
   #(recojet_e>=5)

test_time_selection:
   ### selection to apply at test time (i.e., when running w/ --predict)
   #(jet_tightId==1) & (jet_no<2) & (fj_pt>200) & (fj_pt<2500) & (((sample_isQCD==0) & (fj_isQCD==0)) | ((sample_isQCD==1) & (fj_isQCD==1))) & (event_no%7==0)
   #(recojet_e<5)

new_variables:
   ### [format] name: formula
   ### can use functions from `math`, `np` (numpy), and `awkward` in the expression
   #pfcand_mask: awkward.JaggedArray.ones_like(pfcand_etarel)
   #sv_mask: awkward.JaggedArray.ones_like(sv_etarel)
   #pfcand_mask: awkward.JaggedArray.ones_like(pfcand_e)

preprocess:
  ### method: [manual, auto] - whether to use manually specified parameters for variable standardization
  ### [note]: `[var]_mask` will not be transformed even if `method=auto`

inputs:
  n_CH:
    pad_mode: wrap
    length: 1
    vars:
      - [ EFlowTrack_size, null ]
  n_NH:
    pad_mode: wrap
    length: 1
    vars:
      - [ EFlowNeutralHadron_size, null ]
  n_photon:
    pad_mode: wrap
    length: 1
    vars:
      - [ EFlowPhoton_size, null ]
  CH:
    pad_mode: wrap
    length: 1500
    vars:
       - [EFlowTrack.Eta, null]
       - [EFlowTrack.Phi, null]
       - [EFlowTrack.PT, null]
       - [EFlowTrack.Mass, null]
       - [EFlowTrack.Charge, null]
  NH:
    pad_mode: wrap
    length: 1500
    vars:
       - [EFlowNeutralHadron.Eta, null]
       - [EFlowNeutralHadron.Phi, null]
       - [EFlowNeutralHadron.ET, null]
  EFlowPhoton:
    pad_mode: wrap
    length: 1500
    vars:
       - [EFlowPhoton.Eta, null]
       - [EFlowPhoton.Phi, null]
       - [EFlowPhoton.ET, null]
  GenParticles:
      pad_mode: wrap
      length: 7500
      vars:
        - [Particle.Eta, null]
        - [Particle.Phi, null]
        - [Particle.PT, null]
        - [Particle.Charge, null]
        - [Particle.Mass, null]
        - [Particle.PID, null]
        - [Particle.Status, null]
  NParticles:
      pad_mode: wrap
      length: 1
      vars:
          - [Particle_size, null]
observers:
   #- recojet_e
   #- recojet_theta
   #- recojet_phi
   #- recojet_m
   #- n_pfcand