FillTrainingTrees.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "StandardRecord/Proxy/CopyRecord.h"
8 
9 #include "CAFAna/Core/Var.h"
10 #include "CAFAna/Vars/Vars.h"
11 #include "CAFAna/Vars/TruthVars.h"
12 #include "CAFAna/Vars/NusVars.h"
13 #include "CAFAna/Cuts/NusCuts20.h"
14 
15 #include "TFile.h"
16 #include "TTree.h"
17 
18 caf::StandardRecord* sr = nullptr;
19 
20 int run;
21 int subrun;
22 int evt;
23 short subevt;
24 int iscc;
26 int nprongs;
34 float vtxx;
35 float vtxy;
36 float vtxz;
37 int shwhitx;
38 int shwhity;
46 float showergap;
47 float showercale;
51 float partptp;
56 
57 void SetupRecTree(TTree* recTree);
58 
59 void SetupOutTree(TTree* outTree);
60 
61 void FillTree(TTree* recTree, TTree* outTree, bool isData);
62 
63 
float distallpngbottom
void FillTree(TTree *recTree, TTree *outTree, bool isData)
int ncontplanes
int nprongs
int subrun
void SetupOutTree(TTree *outTree)
float showerwidth
float vtxx
int nmiphits
float distallpngeast
float distallpngfront
float distallpngtop
float shwhitratio
int shwhity
int iscc
void SetupRecTree(TTree *recTree)
int nshowers
float partptp
int shwhitasymm
int evt
float closestslicetime
int run
float vtxy
caf::StandardRecord * sr
float nhitsperplane
float showerdirycosine
float showergap
int vtxisvalid
float CVNnc_looseptp
float vtxz
The StandardRecord is the primary top-level object in the Common Analysis File trees.
int shwhittot
int shwhitx
float CVNcos_looseptp
float distallpngback
float showercale
float closestslicemindist
float nhitsperslice
short subevt
float showerlength
float distallpngwest