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

Flat encoding of SRNueEnergy. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float rawgevshw
float rawgevhad
float rawgevslice
float regcvnEvtE
float regcvnEvtE_opphorn
FlatSLidEnergy lid

Detailed Description

Flat encoding of SRNueEnergy.

Definition at line 21 of file FlatNueEnergy.h.

Constructor & Destructor Documentation

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

Definition at line 2776 of file FlatRecord.cxx.

References compare_h5_caf::branch, rawgevhad, rawgevshw, rawgevslice, regcvnEvtE, and regcvnEvtE_opphorn.

2777  : lid(prefix+"lid.", tr, policy)
2778 {
2779  branch(tr, prefix+"rawgevshw", &rawgevshw, policy);
2780  branch(tr, prefix+"rawgevhad", &rawgevhad, policy);
2781  branch(tr, prefix+"rawgevslice", &rawgevslice, policy);
2782  branch(tr, prefix+"regcvnEvtE", &regcvnEvtE, policy);
2783  branch(tr, prefix+"regcvnEvtE_opphorn", &regcvnEvtE_opphorn, policy);
2784 }
const XML_Char * prefix
Definition: expat.h:380
FlatSLidEnergy lid
Definition: FlatNueEnergy.h:36
flat::FlatNueEnergy::~FlatNueEnergy ( )

Definition at line 2786 of file FlatRecord.cxx.

2787 {
2788 }

Member Function Documentation

void flat::FlatNueEnergy::Fill ( const caf::SRNueEnergy sr)

Definition at line 2790 of file FlatRecord.cxx.

References flat::FlatSLidEnergy::Fill(), caf::SRNueEnergy::lid, lid, caf::SRNueEnergy::rawgevhad, rawgevhad, caf::SRNueEnergy::rawgevshw, rawgevshw, caf::SRNueEnergy::rawgevslice, rawgevslice, caf::SRNueEnergy::regcvnEvtE, regcvnEvtE, caf::SRNueEnergy::regcvnEvtE_opphorn, and regcvnEvtE_opphorn.

Referenced by flat::FlatEnergyBranch::Fill().

2791 {
2792  rawgevshw = sr.rawgevshw;
2793  rawgevhad = sr.rawgevhad;
2794  rawgevslice = sr.rawgevslice;
2795  regcvnEvtE = sr.regcvnEvtE;
2798  lid.Fill(sr.lid);
2799 }
float rawgevhad
Uncorrected hadronic energy [GeV].
Definition: SRNueEnergy.h:20
float rawgevslice
Uncorrected slice energy [GeV].
Definition: SRNueEnergy.h:21
float regcvnEvtE_opphorn
regcvnEvtE trained with opposite horn current
Definition: SRNueEnergy.h:27
void Fill(const caf::SRSLidEnergy &sr)
float regcvnEvtE
Regression CVN neutrino energy estimate [GeV].
Definition: SRNueEnergy.h:25
float rawgevshw
Uncorrected leading shower energy [GeV].
Definition: SRNueEnergy.h:19
SRSLidEnergy lid
Energy estimate from lid for slice pid (most energetic shower for now)
Definition: SRNueEnergy.h:23
FlatSLidEnergy lid
Definition: FlatNueEnergy.h:36

Member Data Documentation

FlatSLidEnergy flat::FlatNueEnergy::lid

Definition at line 36 of file FlatNueEnergy.h.

Referenced by Fill().

float flat::FlatNueEnergy::rawgevhad

Definition at line 31 of file FlatNueEnergy.h.

Referenced by Fill(), and FlatNueEnergy().

float flat::FlatNueEnergy::rawgevshw

Definition at line 30 of file FlatNueEnergy.h.

Referenced by Fill(), and FlatNueEnergy().

float flat::FlatNueEnergy::rawgevslice

Definition at line 32 of file FlatNueEnergy.h.

Referenced by Fill(), and FlatNueEnergy().

float flat::FlatNueEnergy::regcvnEvtE

Definition at line 33 of file FlatNueEnergy.h.

Referenced by Fill(), and FlatNueEnergy().

float flat::FlatNueEnergy::regcvnEvtE_opphorn

Definition at line 34 of file FlatNueEnergy.h.

Referenced by Fill(), and FlatNueEnergy().

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