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

Proxy for caf::SRFluxWeights. More...

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

Public Attributes

caf::Proxy< float > cv
 
caf::Proxy< unsigned intnvuniv
 
caf::Proxy< std::vector< float > > vuniv
 

Detailed Description

template<>
class caf::Proxy< caf::SRFluxWeights >

Proxy for caf::SRFluxWeights.

Definition at line 478 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 865 of file SRProxy.cxx.

865  :
866  cv(d, tr, Join(name, "cv"), base, offset),
867  nvuniv(d, tr, Join(name, "nvuniv"), base, offset),
868  vuniv(d, tr, Join(name, "vuniv"), base, offset)
869 {
870 }
caf::Proxy< std::vector< float > > vuniv
Definition: SRProxy.h:490
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > cv
Definition: SRProxy.h:488
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
Float_t d
Definition: plot.C:236
caf::Proxy< unsigned int > nvuniv
Definition: SRProxy.h:489

Member Function Documentation

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

Definition at line 880 of file SRProxy.cxx.

References caf::SRFluxWeights::cv, cv, caf::SRFluxWeights::nvuniv, and caf::SRFluxWeights::vuniv.

881 {
882  cv.CheckEquals(sr.cv);
884  vuniv.CheckEquals(sr.vuniv);
885 }
caf::Proxy< std::vector< float > > vuniv
Definition: SRProxy.h:490
caf::Proxy< float > cv
Definition: SRProxy.h:488
std::vector< float > vuniv
Reweight values for the multi-universe.
Definition: SRFluxWeights.h:18
unsigned int nvuniv
Number of universes.
Definition: SRFluxWeights.h:19
float cv
Reweight for the central value (cv)
Definition: SRFluxWeights.h:17
caf::Proxy< unsigned int > nvuniv
Definition: SRProxy.h:489
void CheckEquals(const T &x) const

Definition at line 872 of file SRProxy.cxx.

References caf::SRFluxWeights::cv, cv, caf::SRFluxWeights::nvuniv, and caf::SRFluxWeights::vuniv.

873 {
874  cv = sr.cv;
875  nvuniv = sr.nvuniv;
876  vuniv = sr.vuniv;
877  return *this;
878 }
caf::Proxy< std::vector< float > > vuniv
Definition: SRProxy.h:490
caf::Proxy< float > cv
Definition: SRProxy.h:488
caf::StandardRecord * sr
caf::Proxy< unsigned int > nvuniv
Definition: SRProxy.h:489

Member Data Documentation

Definition at line 488 of file SRProxy.h.

Definition at line 489 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRFluxWeights >::vuniv

Definition at line 490 of file SRProxy.h.

Referenced by ana::GetkPPFXFluxUnivWgtST(), GetPPFXFluxWeights(), and Nus18SystsPPFXLoad().


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