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

Proxy for caf::SRCVNResult. 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::SRCVNResult &x)
 
void CheckEquals (const caf::SRCVNResult &sr) const
 

Public Attributes

caf::Proxy< unsigned intargmax
 
caf::Proxy< float > cosmicid
 
caf::Proxy< float > maxval
 
caf::Proxy< float > ncid
 
caf::Proxy< unsigned intnoutput
 
caf::Proxy< float > nueid
 
caf::Proxy< float > numuid
 
caf::Proxy< float > nutauid
 
caf::Proxy< std::vector< float > > output
 

Detailed Description

template<>
class caf::Proxy< caf::SRCVNResult >

Proxy for caf::SRCVNResult.

Definition at line 891 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1740 of file SRProxy.cxx.

1740  :
1741  argmax(d, tr, Join(name, "argmax"), base, offset),
1742  cosmicid(d, tr, Join(name, "cosmicid"), base, offset),
1743  maxval(d, tr, Join(name, "maxval"), base, offset),
1744  ncid(d, tr, Join(name, "ncid"), base, offset),
1745  noutput(d, tr, Join(name, "noutput"), base, offset),
1746  nueid(d, tr, Join(name, "nueid"), base, offset),
1747  numuid(d, tr, Join(name, "numuid"), base, offset),
1748  nutauid(d, tr, Join(name, "nutauid"), base, offset),
1749  output(d, tr, Join(name, "output"), base, offset)
1750 {
1751 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > ncid
Definition: SRProxy.h:904
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< float > maxval
Definition: SRProxy.h:903
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > nutauid
Definition: SRProxy.h:908
caf::Proxy< unsigned int > noutput
Definition: SRProxy.h:905
caf::Proxy< float > nueid
Definition: SRProxy.h:906
Float_t d
Definition: plot.C:236
caf::Proxy< std::vector< float > > output
Definition: SRProxy.h:909
caf::Proxy< unsigned int > argmax
Definition: SRProxy.h:901
caf::Proxy< float > numuid
Definition: SRProxy.h:907
caf::Proxy< float > cosmicid
Definition: SRProxy.h:902
caf::Proxy< caf::SRCVNResult >::Proxy ( const Proxy< caf::SRCVNResult > &&  )
delete

Member Function Documentation

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

Definition at line 1767 of file SRProxy.cxx.

References caf::SRCVNResult::argmax, caf::SRCVNResult::cosmicid, ana::cosmicid, caf::SRCVNResult::maxval, caf::SRCVNResult::ncid, caf::SRCVNResult::noutput, caf::SRCVNResult::nueid, SliceLID::nueid(), caf::SRCVNResult::numuid, SliceLID::numuid(), caf::SRCVNResult::nutauid, SliceLID::nutauid(), caf::SRCVNResult::output, and output.

1768 {
1772  ncid.CheckEquals(sr.ncid);
1774  nueid.CheckEquals(sr.nueid);
1778 }
float ncid
Likelihood Neutral Current.
Definition: SRCVNResult.h:23
Definition: FillPIDs.h:18
float maxval
Maximum value among net outputs.
Definition: SRCVNResult.h:25
float nutauid
Likelihood Charge Current NuTau.
Definition: SRCVNResult.h:22
float nueid
Likelihood Charge Current NuE.
Definition: SRCVNResult.h:21
caf::Proxy< float > maxval
Definition: SRProxy.h:903
unsigned int noutput
Number of entries in output vector.
Definition: SRCVNResult.h:27
caf::Proxy< float > nutauid
Definition: SRProxy.h:908
float cosmicid
Likelihood Cosmic Interaction.
Definition: SRCVNResult.h:24
caf::Proxy< unsigned int > noutput
Definition: SRProxy.h:905
caf::Proxy< float > nueid
Definition: SRProxy.h:906
std::vector< float > output
List of net output nodes.
Definition: SRCVNResult.h:19
caf::Proxy< std::vector< float > > output
Definition: SRProxy.h:909
float numuid
Likelihood Charge Current NuMu.
Definition: SRCVNResult.h:20
caf::Proxy< unsigned int > argmax
Definition: SRProxy.h:901
unsigned int argmax
Index of maximum value.
Definition: SRCVNResult.h:26
caf::Proxy< float > numuid
Definition: SRProxy.h:907
caf::Proxy< float > cosmicid
Definition: SRProxy.h:902
void CheckEquals(const T &x) const

Definition at line 1753 of file SRProxy.cxx.

References caf::SRCVNResult::argmax, caf::SRCVNResult::cosmicid, ana::cosmicid, caf::SRCVNResult::maxval, caf::SRCVNResult::ncid, caf::SRCVNResult::noutput, caf::SRCVNResult::nueid, SliceLID::nueid(), caf::SRCVNResult::numuid, SliceLID::numuid(), caf::SRCVNResult::nutauid, SliceLID::nutauid(), caf::SRCVNResult::output, and output.

1754 {
1755  argmax = sr.argmax;
1756  cosmicid = sr.cosmicid;
1757  maxval = sr.maxval;
1758  ncid = sr.ncid;
1759  noutput = sr.noutput;
1760  nueid = sr.nueid;
1761  numuid = sr.numuid;
1762  nutauid = sr.nutauid;
1763  output = sr.output;
1764  return *this;
1765 }
Definition: FillPIDs.h:18
caf::Proxy< float > maxval
Definition: SRProxy.h:903
caf::Proxy< float > nutauid
Definition: SRProxy.h:908
caf::Proxy< unsigned int > noutput
Definition: SRProxy.h:905
caf::Proxy< float > nueid
Definition: SRProxy.h:906
caf::StandardRecord * sr
caf::Proxy< std::vector< float > > output
Definition: SRProxy.h:909
caf::Proxy< unsigned int > argmax
Definition: SRProxy.h:901
caf::Proxy< float > numuid
Definition: SRProxy.h:907
caf::Proxy< float > cosmicid
Definition: SRProxy.h:902

Member Data Documentation

caf::Proxy<unsigned int> caf::Proxy< caf::SRCVNResult >::argmax

Definition at line 901 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRCVNResult >::cosmicid

Definition at line 902 of file SRProxy.h.

Definition at line 903 of file SRProxy.h.

Definition at line 904 of file SRProxy.h.

Referenced by CutTableLoad(), DataMCLoad(), and ExtendedAxesLoad().

caf::Proxy<unsigned int> caf::Proxy< caf::SRCVNResult >::noutput

Definition at line 905 of file SRProxy.h.

Definition at line 906 of file SRProxy.h.

Referenced by ana::kNue2020FDPeripheralFunc_MRBrem().

Definition at line 908 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRCVNResult >::output

Definition at line 909 of file SRProxy.h.

Referenced by compare_cos_numi(), get_cosmic_sample(), and MakeNus17CosBkgd().


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