Variables
PandAna.cut.kcvn_training_cuts Namespace Reference

Variables

float MuonPurityValue = 0.5
 
float ElectronPurityValue = 0.4
 
float ProtonPurityValue = 0.35
 
float PionPurityValue = 0.35
 
float GammaPurityValue = 0.5
 
float NeutronPurityValue = 0.5
 
float PiZeroPurityValue = 0.5
 
tuple kMuonPurCut = (((kPngPDG == 13) | (kPngPDG == -13)) & (kPngPur >= MuonPurityValue) & (kPngLabel == 1))
 
tuple kElectronPurCut = (((kPngPDG == 11) | (kPngPDG == -11)) & (kPngPur >= ElectronPurityValue) & (kPngLabel == 0))
 
tuple kProtonPurCut = (((kPngPDG == 2212) | (kPngPDG == -2212)) & (kPngPur >= ProtonPurityValue) & (kPngLabel == 2))
 
tuple kPionPurCut = (((kPngPDG == 211) | (kPngPDG == -211)) & (kPngPur >= PionPurityValue) & (kPngLabel == 4))
 
tuple kGammaPurCut = (((kPngPDG == 22) | (kPngPDG == -22)) & (kPngPur >= GammaPurityValue) & (kPngLabel == 6))
 
tuple kNeutronPurCut = (((kPngPDG == 2112) | (kPngPDG == -2112)) & (kPngPur >= NeutronPurityValue) & (kPngLabel == 3))
 
tuple kPiZeroPurCut = (((kPngPDG == 111) | (kPngPDG == -111)) & (kPngPur >= PiZeroPurityValue) & (kPngLabel == 5))
 
 kPurityCuts = kMuonPurCut|kElectronPurCut|kProtonPurCut|kPionPurCut|kGammaPurCut|kNeutronPurCut|kPiZeroPurCut
 
int kProngHitXCut = kPngNCellX>2
 
int kProngHitYCut = kPngNCellY>2
 
 kAllProngCuts = kPurityCuts&kProngHitYCut&kProngHitXCut
 
int kInterCut = kSliceInter>-5
 
int kCosmicCut = kSliceInter>-1000
 
 kAllSliceCuts = kVeto&kInterCut&kCosmicCut
 

Variable Documentation

float PandAna.cut.kcvn_training_cuts.ElectronPurityValue = 0.4

Definition at line 7 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.GammaPurityValue = 0.5

Definition at line 10 of file kcvn_training_cuts.py.

PandAna.cut.kcvn_training_cuts.kAllProngCuts = kPurityCuts&kProngHitYCut&kProngHitXCut

Definition at line 30 of file kcvn_training_cuts.py.

PandAna.cut.kcvn_training_cuts.kAllSliceCuts = kVeto&kInterCut&kCosmicCut

Definition at line 38 of file kcvn_training_cuts.py.

int PandAna.cut.kcvn_training_cuts.kCosmicCut = kSliceInter>-1000

Definition at line 36 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kElectronPurCut = (((kPngPDG == 11) | (kPngPDG == -11)) & (kPngPur >= ElectronPurityValue) & (kPngLabel == 0))

Definition at line 18 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kGammaPurCut = (((kPngPDG == 22) | (kPngPDG == -22)) & (kPngPur >= GammaPurityValue) & (kPngLabel == 6))

Definition at line 21 of file kcvn_training_cuts.py.

int PandAna.cut.kcvn_training_cuts.kInterCut = kSliceInter>-5

Definition at line 34 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kMuonPurCut = (((kPngPDG == 13) | (kPngPDG == -13)) & (kPngPur >= MuonPurityValue) & (kPngLabel == 1))

Definition at line 17 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kNeutronPurCut = (((kPngPDG == 2112) | (kPngPDG == -2112)) & (kPngPur >= NeutronPurityValue) & (kPngLabel == 3))

Definition at line 22 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kPionPurCut = (((kPngPDG == 211) | (kPngPDG == -211)) & (kPngPur >= PionPurityValue) & (kPngLabel == 4))

Definition at line 20 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kPiZeroPurCut = (((kPngPDG == 111) | (kPngPDG == -111)) & (kPngPur >= PiZeroPurityValue) & (kPngLabel == 5))

Definition at line 23 of file kcvn_training_cuts.py.

int PandAna.cut.kcvn_training_cuts.kProngHitXCut = kPngNCellX>2

Definition at line 27 of file kcvn_training_cuts.py.

int PandAna.cut.kcvn_training_cuts.kProngHitYCut = kPngNCellY>2

Definition at line 28 of file kcvn_training_cuts.py.

tuple PandAna.cut.kcvn_training_cuts.kProtonPurCut = (((kPngPDG == 2212) | (kPngPDG == -2212)) & (kPngPur >= ProtonPurityValue) & (kPngLabel == 2))

Definition at line 19 of file kcvn_training_cuts.py.

Definition at line 25 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.MuonPurityValue = 0.5

Definition at line 6 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.NeutronPurityValue = 0.5

Definition at line 11 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.PionPurityValue = 0.35

Definition at line 9 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.PiZeroPurityValue = 0.5

Definition at line 12 of file kcvn_training_cuts.py.

float PandAna.cut.kcvn_training_cuts.ProtonPurityValue = 0.35

Definition at line 8 of file kcvn_training_cuts.py.