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

Proxy for caf::SRTrainingData. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-24/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::SRTrainingData &x)
 
void CheckEquals (const caf::SRTrainingData &sr) const
 

Public Attributes

caf::Proxy< unsigned intfinalstate
 
caf::Proxy< unsigned intfinalstateprong
 
caf::Proxy< unsigned intinteraction
 
caf::Proxy< float > lepenergy
 
caf::Proxy< float > nuenergy
 
caf::Proxy< unsigned intparent
 
caf::Proxy< unsigned intparticles
 
caf::Proxy< double > vtxx
 
caf::Proxy< double > vtxy
 
caf::Proxy< double > vtxz
 

Detailed Description

template<>
class caf::Proxy< caf::SRTrainingData >

Proxy for caf::SRTrainingData.

Definition at line 1475 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 2946 of file SRProxy.cxx.

2946  :
2947  finalstate(d, tr, Join(name, "finalstate"), base, offset),
2948  finalstateprong(d, tr, Join(name, "finalstateprong"), base, offset),
2949  interaction(d, tr, Join(name, "interaction"), base, offset),
2950  lepenergy(d, tr, Join(name, "lepenergy"), base, offset),
2951  nuenergy(d, tr, Join(name, "nuenergy"), base, offset),
2952  parent(d, tr, Join(name, "parent"), base, offset),
2953  particles(d, tr, Join(name, "particles"), base, offset),
2954  vtxx(d, tr, Join(name, "vtxx"), base, offset),
2955  vtxy(d, tr, Join(name, "vtxy"), base, offset),
2956  vtxz(d, tr, Join(name, "vtxz"), base, offset)
2957 {
2958 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< unsigned int > interaction
Definition: SRProxy.h:1487
caf::Proxy< float > nuenergy
Definition: SRProxy.h:1489
caf::Proxy< unsigned int > parent
Definition: SRProxy.h:1490
caf::Proxy< unsigned int > finalstateprong
Definition: SRProxy.h:1486
caf::Proxy< float > lepenergy
Definition: SRProxy.h:1488
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< unsigned int > finalstate
Definition: SRProxy.h:1485
Float_t d
Definition: plot.C:236
caf::Proxy< double > vtxx
Definition: SRProxy.h:1492
caf::Proxy< unsigned int > particles
Definition: SRProxy.h:1491
caf::Proxy< double > vtxz
Definition: SRProxy.h:1494
caf::Proxy< double > vtxy
Definition: SRProxy.h:1493

Member Function Documentation

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

Definition at line 2975 of file SRProxy.cxx.

References caf::SRTrainingData::finalstate, caf::SRTrainingData::finalstateprong, caf::SRTrainingData::interaction, caf::SRTrainingData::lepenergy, caf::SRTrainingData::nuenergy, caf::SRTrainingData::parent, file_size_ana::parent, caf::SRTrainingData::particles, caf::SRTrainingData::vtxx, vtxx, caf::SRTrainingData::vtxy, vtxy, caf::SRTrainingData::vtxz, and vtxz.

2976 {
2984  vtxx.CheckEquals(sr.vtxx);
2985  vtxy.CheckEquals(sr.vtxy);
2986  vtxz.CheckEquals(sr.vtxz);
2987 }
unsigned int interaction
Class of the event.
caf::Proxy< unsigned int > interaction
Definition: SRProxy.h:1487
caf::Proxy< float > nuenergy
Definition: SRProxy.h:1489
caf::Proxy< unsigned int > parent
Definition: SRProxy.h:1490
caf::Proxy< unsigned int > finalstateprong
Definition: SRProxy.h:1486
unsigned int parent
Class of the event by parent particle.
unsigned int particles
Class of the event by primary n prongs.
caf::Proxy< float > lepenergy
Definition: SRProxy.h:1488
caf::Proxy< unsigned int > finalstate
Definition: SRProxy.h:1485
double vtxx
True vertex of X position.
double vtxz
True vertex of Z position.
caf::Proxy< double > vtxx
Definition: SRProxy.h:1492
double vtxy
True vertex of Y position.
caf::Proxy< unsigned int > particles
Definition: SRProxy.h:1491
float nuenergy
True energy of neutrino event.
caf::Proxy< double > vtxz
Definition: SRProxy.h:1494
unsigned int finalstate
Class of the event by final state.
void CheckEquals(const T &x) const
unsigned int finalstateprong
caf::Proxy< double > vtxy
Definition: SRProxy.h:1493
float lepenergy
True energy of outgoing lepton.

Definition at line 2960 of file SRProxy.cxx.

References caf::SRTrainingData::finalstate, caf::SRTrainingData::finalstateprong, caf::SRTrainingData::interaction, caf::SRTrainingData::lepenergy, caf::SRTrainingData::nuenergy, caf::SRTrainingData::parent, file_size_ana::parent, caf::SRTrainingData::particles, caf::SRTrainingData::vtxx, vtxx, caf::SRTrainingData::vtxy, vtxy, caf::SRTrainingData::vtxz, and vtxz.

2961 {
2962  finalstate = sr.finalstate;
2963  finalstateprong = sr.finalstateprong;
2964  interaction = sr.interaction;
2965  lepenergy = sr.lepenergy;
2966  nuenergy = sr.nuenergy;
2967  parent = sr.parent;
2968  particles = sr.particles;
2969  vtxx = sr.vtxx;
2970  vtxy = sr.vtxy;
2971  vtxz = sr.vtxz;
2972  return *this;
2973 }
caf::Proxy< unsigned int > interaction
Definition: SRProxy.h:1487
caf::Proxy< float > nuenergy
Definition: SRProxy.h:1489
caf::Proxy< unsigned int > parent
Definition: SRProxy.h:1490
caf::Proxy< unsigned int > finalstateprong
Definition: SRProxy.h:1486
caf::Proxy< float > lepenergy
Definition: SRProxy.h:1488
caf::Proxy< unsigned int > finalstate
Definition: SRProxy.h:1485
caf::StandardRecord * sr
caf::Proxy< double > vtxx
Definition: SRProxy.h:1492
caf::Proxy< unsigned int > particles
Definition: SRProxy.h:1491
caf::Proxy< double > vtxz
Definition: SRProxy.h:1494
SRParentBranch parent
True parent branch for matching, e.g. MRCC.
caf::Proxy< double > vtxy
Definition: SRProxy.h:1493

Member Data Documentation

caf::Proxy<unsigned int> caf::Proxy< caf::SRTrainingData >::finalstate

Definition at line 1485 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRTrainingData >::finalstateprong

Definition at line 1486 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRTrainingData >::interaction

Definition at line 1487 of file SRProxy.h.

Definition at line 1488 of file SRProxy.h.

Definition at line 1489 of file SRProxy.h.

Definition at line 1490 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRTrainingData >::particles

Definition at line 1491 of file SRProxy.h.

Definition at line 1492 of file SRProxy.h.

Definition at line 1493 of file SRProxy.h.

Definition at line 1494 of file SRProxy.h.


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