Public Member Functions | Protected Attributes | List of all members
flat::FlatNumuEnergy Class Reference

Flat encoding of SRNumuEnergy. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/FlatMaker/FlatNumuEnergy.h"

Public Member Functions

 FlatNumuEnergy (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatNumuEnergy ()
 
void Fill (const caf::SRNumuEnergy &sr)
 

Protected Attributes

float E
 
float calccE
 
float trkqeE
 
float trknonqeE
 
float trkccE
 
float shiftedtrkccE
 
float angleE
 
float angleerror
 
float recomuonE
 
float ucrecomuonE1trk
 
float ucrecomuonE
 
float recotrkcchadE
 
float hadcalE
 
float hadtrkE
 
float ndtrklenact
 
float ndtrklencat
 
float ndtrkcalactE
 
float ndtrkcaltranE
 
float ndtrkcalcatE
 
float ndhadcalactE
 
float ndhadcaltranE
 
float ndhadcalcatE
 
float ndhadtrkactE
 
float ndhadtrktranE
 
float ndhadtrkcatE
 
float ndtrktranx
 
float ndtrktrany
 
float lstmmuon
 
float lstmnu
 
float lstmmuon_opphorn
 
float lstmnu_opphorn
 
float regcvnhadE
 
float regcvnhadE_opphorn
 
FlatHadClust hadclust
 
FlatTrueNumuEnergy mc
 
FlatBPFEnergy bpfenergy
 

Detailed Description

Flat encoding of SRNumuEnergy.

Definition at line 23 of file FlatNumuEnergy.h.

Constructor & Destructor Documentation

flat::FlatNumuEnergy::FlatNumuEnergy ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 2588 of file FlatRecord.cxx.

References angleE, angleerror, compare_h5_caf::branch, calccE, E, hadcalE, hadtrkE, lstmmuon, lstmmuon_opphorn, lstmnu, lstmnu_opphorn, ndhadcalactE, ndhadcalcatE, ndhadcaltranE, ndhadtrkactE, ndhadtrkcatE, ndhadtrktranE, ndtrkcalactE, ndtrkcalcatE, ndtrkcaltranE, ndtrklenact, ndtrklencat, ndtrktranx, ndtrktrany, recomuonE, recotrkcchadE, regcvnhadE, regcvnhadE_opphorn, shiftedtrkccE, trkccE, trknonqeE, trkqeE, ucrecomuonE, and ucrecomuonE1trk.

2589  : hadclust(prefix+"hadclust.", tr, policy),
2590  mc(prefix+"mc.", tr, policy),
2591  bpfenergy(prefix+"bpfenergy.", tr, policy)
2592 {
2593  branch(tr, prefix+"E", &E, policy);
2594  branch(tr, prefix+"calccE", &calccE, policy);
2595  branch(tr, prefix+"trkqeE", &trkqeE, policy);
2596  branch(tr, prefix+"trknonqeE", &trknonqeE, policy);
2597  branch(tr, prefix+"trkccE", &trkccE, policy);
2598  branch(tr, prefix+"shiftedtrkccE", &shiftedtrkccE, policy);
2599  branch(tr, prefix+"angleE", &angleE, policy);
2600  branch(tr, prefix+"angleerror", &angleerror, policy);
2601  branch(tr, prefix+"recomuonE", &recomuonE, policy);
2602  branch(tr, prefix+"ucrecomuonE1trk", &ucrecomuonE1trk, policy);
2603  branch(tr, prefix+"ucrecomuonE", &ucrecomuonE, policy);
2604  branch(tr, prefix+"recotrkcchadE", &recotrkcchadE, policy);
2605  branch(tr, prefix+"hadcalE", &hadcalE, policy);
2606  branch(tr, prefix+"hadtrkE", &hadtrkE, policy);
2607  branch(tr, prefix+"ndtrklenact", &ndtrklenact, policy);
2608  branch(tr, prefix+"ndtrklencat", &ndtrklencat, policy);
2609  branch(tr, prefix+"ndtrkcalactE", &ndtrkcalactE, policy);
2610  branch(tr, prefix+"ndtrkcaltranE", &ndtrkcaltranE, policy);
2611  branch(tr, prefix+"ndtrkcalcatE", &ndtrkcalcatE, policy);
2612  branch(tr, prefix+"ndhadcalactE", &ndhadcalactE, policy);
2613  branch(tr, prefix+"ndhadcaltranE", &ndhadcaltranE, policy);
2614  branch(tr, prefix+"ndhadcalcatE", &ndhadcalcatE, policy);
2615  branch(tr, prefix+"ndhadtrkactE", &ndhadtrkactE, policy);
2616  branch(tr, prefix+"ndhadtrktranE", &ndhadtrktranE, policy);
2617  branch(tr, prefix+"ndhadtrkcatE", &ndhadtrkcatE, policy);
2618  branch(tr, prefix+"ndtrktranx", &ndtrktranx, policy);
2619  branch(tr, prefix+"ndtrktrany", &ndtrktrany, policy);
2620  branch(tr, prefix+"lstmmuon", &lstmmuon, policy);
2621  branch(tr, prefix+"lstmnu", &lstmnu, policy);
2622  branch(tr, prefix+"lstmmuon_opphorn", &lstmmuon_opphorn, policy);
2623  branch(tr, prefix+"lstmnu_opphorn", &lstmnu_opphorn, policy);
2624  branch(tr, prefix+"regcvnhadE", &regcvnhadE, policy);
2625  branch(tr, prefix+"regcvnhadE_opphorn", &regcvnhadE_opphorn, policy);
2626 }
FlatTrueNumuEnergy mc
FlatHadClust hadclust
const XML_Char * prefix
Definition: expat.h:380
FlatBPFEnergy bpfenergy
flat::FlatNumuEnergy::~FlatNumuEnergy ( )

Definition at line 2628 of file FlatRecord.cxx.

2629 {
2630 }

Member Function Documentation

void flat::FlatNumuEnergy::Fill ( const caf::SRNumuEnergy sr)

Definition at line 2632 of file FlatRecord.cxx.

References caf::SRNumuEnergy::angleE, angleE, caf::SRNumuEnergy::angleerror, angleerror, caf::SRNumuEnergy::bpfenergy, bpfenergy, caf::SRNumuEnergy::calccE, calccE, caf::SRNumuEnergy::E, E, flat::FlatTrueNumuEnergy::Fill(), flat::FlatBPFEnergy::Fill(), flat::FlatHadClust::Fill(), caf::SRNumuEnergy::hadcalE, hadcalE, caf::SRNumuEnergy::hadclust, hadclust, caf::SRNumuEnergy::hadtrkE, hadtrkE, caf::SRNumuEnergy::lstmmuon, lstmmuon, caf::SRNumuEnergy::lstmmuon_opphorn, lstmmuon_opphorn, caf::SRNumuEnergy::lstmnu, lstmnu, caf::SRNumuEnergy::lstmnu_opphorn, lstmnu_opphorn, caf::SRNumuEnergy::mc, mc, caf::SRNumuEnergy::ndhadcalactE, ndhadcalactE, caf::SRNumuEnergy::ndhadcalcatE, ndhadcalcatE, caf::SRNumuEnergy::ndhadcaltranE, ndhadcaltranE, caf::SRNumuEnergy::ndhadtrkactE, ndhadtrkactE, caf::SRNumuEnergy::ndhadtrkcatE, ndhadtrkcatE, caf::SRNumuEnergy::ndhadtrktranE, ndhadtrktranE, caf::SRNumuEnergy::ndtrkcalactE, ndtrkcalactE, caf::SRNumuEnergy::ndtrkcalcatE, ndtrkcalcatE, caf::SRNumuEnergy::ndtrkcaltranE, ndtrkcaltranE, caf::SRNumuEnergy::ndtrklenact, ndtrklenact, caf::SRNumuEnergy::ndtrklencat, ndtrklencat, caf::SRNumuEnergy::ndtrktranx, ndtrktranx, caf::SRNumuEnergy::ndtrktrany, ndtrktrany, caf::SRNumuEnergy::recomuonE, recomuonE, caf::SRNumuEnergy::recotrkcchadE, recotrkcchadE, caf::SRNumuEnergy::regcvnhadE, regcvnhadE, caf::SRNumuEnergy::regcvnhadE_opphorn, regcvnhadE_opphorn, caf::SRNumuEnergy::shiftedtrkccE, shiftedtrkccE, caf::SRNumuEnergy::trkccE, trkccE, caf::SRNumuEnergy::trknonqeE, trknonqeE, caf::SRNumuEnergy::trkqeE, trkqeE, caf::SRNumuEnergy::ucrecomuonE, ucrecomuonE, caf::SRNumuEnergy::ucrecomuonE1trk, and ucrecomuonE1trk.

2633 {
2634  E = sr.E;
2635  calccE = sr.calccE;
2636  trkqeE = sr.trkqeE;
2637  trknonqeE = sr.trknonqeE;
2638  trkccE = sr.trkccE;
2640  angleE = sr.angleE;
2641  angleerror = sr.angleerror;
2642  recomuonE = sr.recomuonE;
2644  ucrecomuonE = sr.ucrecomuonE;
2646  hadcalE = sr.hadcalE;
2647  hadtrkE = sr.hadtrkE;
2648  ndtrklenact = sr.ndtrklenact;
2649  ndtrklencat = sr.ndtrklencat;
2659  ndtrktranx = sr.ndtrktranx;
2660  ndtrktrany = sr.ndtrktrany;
2661  lstmmuon = sr.lstmmuon;
2662  lstmnu = sr.lstmnu;
2665  regcvnhadE = sr.regcvnhadE;
2667 
2668  hadclust.Fill(sr.hadclust);
2669  mc.Fill(sr.mc);
2670  bpfenergy.Fill(sr.bpfenergy);
2671 }
float lstmmuon_opphorn
lstmmuon trained with opposite horn current
Definition: SRNumuEnergy.h:58
float angleerror
1-sigma error from using quasielastic angle formula for neutrino energy
Definition: SRNumuEnergy.h:30
float ndhadcalactE
Near detector – hadronic calorimetric energy NOT on the muon track in active region [GeV]...
Definition: SRNumuEnergy.h:42
float ndtrklenact
Near detector – muon track length in active region [cm].
Definition: SRNumuEnergy.h:37
float ndtrkcaltranE
Near detector – muon calorimetric energy in transition plane [GeV].
Definition: SRNumuEnergy.h:40
SRHadClust hadclust
Cluster information for hits in slice but not on muon track (track with higest ReMId value) ...
Definition: SRNumuEnergy.h:50
float shiftedtrkccE
Track length cc neutrino energy GeV
Definition: SRNumuEnergy.h:28
float trknonqeE
Track length non-quasielastic neutrino energy [GeV].
Definition: SRNumuEnergy.h:26
float regcvnhadE
Hadronic Energy predicted by Regression CNN [GeV].
Definition: SRNumuEnergy.h:61
float ndtrkcalcatE
Near detector – muon calorimetric energy in muon catcher [GeV].
Definition: SRNumuEnergy.h:41
float calccE
Calorimetric charged current neutrino energy [GeV].
Definition: SRNumuEnergy.h:24
float ucrecomuonE1trk
Reconstructed muon energy for uncontained single track events at the FarDet from TMVA [GeV]...
Definition: SRNumuEnergy.h:32
FlatTrueNumuEnergy mc
float ndhadtrkactE
Near detector – hadronic calorimetric energy on the muon track in active region [GeV].
Definition: SRNumuEnergy.h:45
float trkccE
Track length cc neutrino energy [GeV].
Definition: SRNumuEnergy.h:27
float ndhadcalcatE
Near detector – hadronic calorimetric energy NOT on the muon track in muon catcher [GeV]...
Definition: SRNumuEnergy.h:44
float trkqeE
Track length quasielastic neutrino energy [GeV].
Definition: SRNumuEnergy.h:25
float hadtrkE
Hadronic calorimetric energy on the muon track[GeV].
Definition: SRNumuEnergy.h:36
float lstmmuon
Muon Energy predicted by LSTM EE [GeV].
Definition: SRNumuEnergy.h:55
float ndtrktranx
Near detector – if muon track crosses transition plane, the x location [cm].
Definition: SRNumuEnergy.h:48
void Fill(const caf::SRBPFEnergy &sr)
float ucrecomuonE
Reconstructed muon energy for uncontained non-single track events at the FarDet from TMVA [GeV]...
Definition: SRNumuEnergy.h:33
float angleE
Quasielastic angle formula neutrino energy [GeV].
Definition: SRNumuEnergy.h:29
SRTrueNumuEnergy mc
True information used for retuning numu energy fits.
Definition: SRNumuEnergy.h:51
FlatHadClust hadclust
SRBPFEnergy bpfenergy
BreakPointFitter energy estimator.
Definition: SRNumuEnergy.h:52
float lstmnu_opphorn
lstmnu trained with opposite horn current
Definition: SRNumuEnergy.h:59
float E
Neutrino energy, set to match trkccE [GeV].
Definition: SRNumuEnergy.h:23
FlatBPFEnergy bpfenergy
float ndhadcaltranE
Near detector – hadronic calorimetric energy NOT on the muon track in transition plane [GeV]...
Definition: SRNumuEnergy.h:43
float ndtrkcalactE
Near detector – muon calorimetric energy in active region [GeV].
Definition: SRNumuEnergy.h:39
float regcvnhadE_opphorn
regcvnhadE trained with opposite horn current
Definition: SRNumuEnergy.h:63
float ndtrklencat
Near detector – muon track length in muon catcher [cm].
Definition: SRNumuEnergy.h:38
void Fill(const caf::SRTrueNumuEnergy &sr)
float ndtrktrany
Near detector – if muon track crosses transition plane, the y location [cm].
Definition: SRNumuEnergy.h:49
float ndhadtrktranE
Near detector – hadronic calorimetric energy on the muon track in transition plane [GeV]...
Definition: SRNumuEnergy.h:46
float recotrkcchadE
Reconstructed hadronic energy for track cc neutrino energy estimator [GeV].
Definition: SRNumuEnergy.h:34
float lstmnu
NuMu Energy predicted by LSTM EE [GeV].
Definition: SRNumuEnergy.h:56
void Fill(const caf::SRHadClust &sr)
float ndhadtrkcatE
Near detector – hadronic calorimetric energy on the muon track in muon catcher [GeV].
Definition: SRNumuEnergy.h:47
float hadcalE
Hadronic calorimetric energy NOT on the muon track[GeV].
Definition: SRNumuEnergy.h:35
float recomuonE
Reconstructed muon energy for all neutrino energy estimators [GeV].
Definition: SRNumuEnergy.h:31

Member Data Documentation

float flat::FlatNumuEnergy::angleE
protected

Definition at line 38 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::angleerror
protected

Definition at line 39 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

FlatBPFEnergy flat::FlatNumuEnergy::bpfenergy
protected

Definition at line 68 of file FlatNumuEnergy.h.

Referenced by Fill().

float flat::FlatNumuEnergy::calccE
protected

Definition at line 33 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::E
protected

Definition at line 32 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::hadcalE
protected

Definition at line 44 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

FlatHadClust flat::FlatNumuEnergy::hadclust
protected

Definition at line 66 of file FlatNumuEnergy.h.

Referenced by Fill().

float flat::FlatNumuEnergy::hadtrkE
protected

Definition at line 45 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::lstmmuon
protected

Definition at line 59 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::lstmmuon_opphorn
protected

Definition at line 61 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::lstmnu
protected

Definition at line 60 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::lstmnu_opphorn
protected

Definition at line 62 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

FlatTrueNumuEnergy flat::FlatNumuEnergy::mc
protected

Definition at line 67 of file FlatNumuEnergy.h.

Referenced by Fill().

float flat::FlatNumuEnergy::ndhadcalactE
protected

Definition at line 51 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndhadcalcatE
protected

Definition at line 53 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndhadcaltranE
protected

Definition at line 52 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndhadtrkactE
protected

Definition at line 54 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndhadtrkcatE
protected

Definition at line 56 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndhadtrktranE
protected

Definition at line 55 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrkcalactE
protected

Definition at line 48 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrkcalcatE
protected

Definition at line 50 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrkcaltranE
protected

Definition at line 49 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrklenact
protected

Definition at line 46 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrklencat
protected

Definition at line 47 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrktranx
protected

Definition at line 57 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ndtrktrany
protected

Definition at line 58 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::recomuonE
protected

Definition at line 40 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::recotrkcchadE
protected

Definition at line 43 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::regcvnhadE
protected

Definition at line 63 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::regcvnhadE_opphorn
protected

Definition at line 64 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::shiftedtrkccE
protected

Definition at line 37 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::trkccE
protected

Definition at line 36 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::trknonqeE
protected

Definition at line 35 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::trkqeE
protected

Definition at line 34 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ucrecomuonE
protected

Definition at line 42 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().

float flat::FlatNumuEnergy::ucrecomuonE1trk
protected

Definition at line 41 of file FlatNumuEnergy.h.

Referenced by Fill(), and FlatNumuEnergy().


The documentation for this class was generated from the following files: