Public Member Functions | Public Attributes | List of all members
caf::Proxy< caf::SRNueEnergy > Class Template Reference

Proxy for caf::SRNueEnergy. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/StandardRecord/Proxy/SRProxy.h"

Public Member Functions

 Proxy (TDirectory *d, TTree *tr, const std::string &name, const long &base, int offset)
 
 Proxy (const Proxy &)=delete
 
 Proxy (const Proxy &&)=delete
 
Proxyoperator= (const caf::SRNueEnergy &x)
 
void CheckEquals (const caf::SRNueEnergy &sr) const
 

Public Attributes

caf::Proxy< caf::SRSLidEnergylid
 
caf::Proxy< float > rawgevhad
 
caf::Proxy< float > rawgevshw
 
caf::Proxy< float > rawgevslice
 
caf::Proxy< float > regcvnEvtE
 
caf::Proxy< float > regcvnEvtE_opphorn
 

Detailed Description

template<>
class caf::Proxy< caf::SRNueEnergy >

Proxy for caf::SRNueEnergy.

Definition at line 33 of file SRProxy.h.

Constructor & Destructor Documentation

caf::Proxy< caf::SRNueEnergy >::Proxy ( TDirectory *  d,
TTree *  tr,
const std::string name,
const long &  base,
int  offset 
)

Definition at line 42 of file SRProxy.cxx.

42  :
43  lid(d, tr, Join(name, "lid"), base, offset),
44  rawgevhad(d, tr, Join(name, "rawgevhad"), base, offset),
45  rawgevshw(d, tr, Join(name, "rawgevshw"), base, offset),
46  rawgevslice(d, tr, Join(name, "rawgevslice"), base, offset),
47  regcvnEvtE(d, tr, Join(name, "regcvnEvtE"), base, offset),
48  regcvnEvtE_opphorn(d, tr, Join(name, "regcvnEvtE_opphorn"), base, offset)
49 {
50 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > regcvnEvtE
Definition: SRProxy.h:47
caf::Proxy< float > rawgevslice
Definition: SRProxy.h:46
caf::Proxy< caf::SRSLidEnergy > lid
Definition: SRProxy.h:43
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > regcvnEvtE_opphorn
Definition: SRProxy.h:48
Float_t d
Definition: plot.C:236
caf::Proxy< float > rawgevshw
Definition: SRProxy.h:45
caf::Proxy< float > rawgevhad
Definition: SRProxy.h:44
caf::Proxy< caf::SRNueEnergy >::Proxy ( const Proxy< caf::SRNueEnergy > &&  )
delete

Member Function Documentation

void caf::Proxy< caf::SRNueEnergy >::CheckEquals ( const caf::SRNueEnergy sr) const

Definition at line 63 of file SRProxy.cxx.

References caf::SRNueEnergy::lid, caf::SRNueEnergy::rawgevhad, caf::SRNueEnergy::rawgevshw, caf::SRNueEnergy::rawgevslice, caf::SRNueEnergy::regcvnEvtE, and caf::SRNueEnergy::regcvnEvtE_opphorn.

64 {
65  lid.CheckEquals(sr.lid);
71 }
caf::Proxy< float > regcvnEvtE
Definition: SRProxy.h:47
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
caf::Proxy< float > rawgevslice
Definition: SRProxy.h:46
caf::Proxy< caf::SRSLidEnergy > lid
Definition: SRProxy.h:43
void CheckEquals(const caf::SRSLidEnergy &sr) const
Definition: SRProxy.cxx:34
caf::Proxy< float > regcvnEvtE_opphorn
Definition: SRProxy.h:48
float regcvnEvtE
Regression CVN neutrino energy estimate [GeV].
Definition: SRNueEnergy.h:25
float rawgevshw
Uncorrected leading shower energy [GeV].
Definition: SRNueEnergy.h:19
caf::Proxy< float > rawgevshw
Definition: SRProxy.h:45
caf::Proxy< float > rawgevhad
Definition: SRProxy.h:44
SRSLidEnergy lid
Energy estimate from lid for slice pid (most energetic shower for now)
Definition: SRNueEnergy.h:23
void CheckEquals(const T &x) const

Definition at line 52 of file SRProxy.cxx.

References caf::SRNueEnergy::lid, caf::SRNueEnergy::rawgevhad, caf::SRNueEnergy::rawgevshw, caf::SRNueEnergy::rawgevslice, caf::SRNueEnergy::regcvnEvtE, and caf::SRNueEnergy::regcvnEvtE_opphorn.

53 {
54  lid = sr.lid;
55  rawgevhad = sr.rawgevhad;
56  rawgevshw = sr.rawgevshw;
57  rawgevslice = sr.rawgevslice;
58  regcvnEvtE = sr.regcvnEvtE;
59  regcvnEvtE_opphorn = sr.regcvnEvtE_opphorn;
60  return *this;
61 }
caf::Proxy< float > regcvnEvtE
Definition: SRProxy.h:47
caf::Proxy< float > rawgevslice
Definition: SRProxy.h:46
caf::Proxy< caf::SRSLidEnergy > lid
Definition: SRProxy.h:43
caf::Proxy< float > regcvnEvtE_opphorn
Definition: SRProxy.h:48
caf::StandardRecord * sr
caf::Proxy< float > rawgevshw
Definition: SRProxy.h:45
caf::Proxy< float > rawgevhad
Definition: SRProxy.h:44

Member Data Documentation

Definition at line 43 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRNueEnergy >::rawgevhad

Definition at line 44 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRNueEnergy >::rawgevshw

Definition at line 45 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRNueEnergy >::rawgevslice

Definition at line 46 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRNueEnergy >::regcvnEvtE

Definition at line 47 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRNueEnergy >::regcvnEvtE_opphorn

Definition at line 48 of file SRProxy.h.


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