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

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

Public Attributes

caf::Proxy< unsigned intnpiminus_univ
 
caf::Proxy< unsigned intnpiplus_univ
 
caf::Proxy< unsigned intnproton_univ
 
caf::Proxy< float > piminus_cv
 
caf::Proxy< std::vector< float > > piminus_univ
 
caf::Proxy< float > piplus_cv
 
caf::Proxy< std::vector< float > > piplus_univ
 
caf::Proxy< float > proton_cv
 
caf::Proxy< std::vector< float > > proton_univ
 

Detailed Description

template<>
class caf::Proxy< caf::SRGeant4Weights >

Proxy for caf::SRGeant4Weights.

Definition at line 439 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 800 of file SRProxy.cxx.

800  :
801  npiminus_univ(d, tr, Join(name, "npiminus_univ"), base, offset),
802  npiplus_univ(d, tr, Join(name, "npiplus_univ"), base, offset),
803  nproton_univ(d, tr, Join(name, "nproton_univ"), base, offset),
804  piminus_cv(d, tr, Join(name, "piminus_cv"), base, offset),
805  piminus_univ(d, tr, Join(name, "piminus_univ"), base, offset),
806  piplus_cv(d, tr, Join(name, "piplus_cv"), base, offset),
807  piplus_univ(d, tr, Join(name, "piplus_univ"), base, offset),
808  proton_cv(d, tr, Join(name, "proton_cv"), base, offset),
809  proton_univ(d, tr, Join(name, "proton_univ"), base, offset)
810 {
811 }
caf::Proxy< float > piminus_cv
Definition: SRProxy.h:452
const XML_Char * name
Definition: expat.h:151
caf::Proxy< unsigned int > nproton_univ
Definition: SRProxy.h:451
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< std::vector< float > > proton_univ
Definition: SRProxy.h:457
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< unsigned int > npiplus_univ
Definition: SRProxy.h:450
Float_t d
Definition: plot.C:236
caf::Proxy< float > piplus_cv
Definition: SRProxy.h:454
caf::Proxy< std::vector< float > > piplus_univ
Definition: SRProxy.h:455
caf::Proxy< std::vector< float > > piminus_univ
Definition: SRProxy.h:453
caf::Proxy< unsigned int > npiminus_univ
Definition: SRProxy.h:449
caf::Proxy< float > proton_cv
Definition: SRProxy.h:456

Member Function Documentation

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

Definition at line 827 of file SRProxy.cxx.

References caf::SRGeant4Weights::npiminus_univ, caf::SRGeant4Weights::npiplus_univ, caf::SRGeant4Weights::nproton_univ, caf::SRGeant4Weights::piminus_cv, caf::SRGeant4Weights::piminus_univ, caf::SRGeant4Weights::piplus_cv, caf::SRGeant4Weights::piplus_univ, caf::SRGeant4Weights::proton_cv, and caf::SRGeant4Weights::proton_univ.

828 {
838 }
caf::Proxy< float > piminus_cv
Definition: SRProxy.h:452
float piplus_cv
Reweight for the piplus central value (cv)
std::vector< float > piplus_univ
Reweight values for the piplus multi-universe.
std::vector< float > proton_univ
Reweight values for the proton multi-universe.
caf::Proxy< unsigned int > nproton_univ
Definition: SRProxy.h:451
float piminus_cv
Reweight for the piminus central value (cv)
caf::Proxy< std::vector< float > > proton_univ
Definition: SRProxy.h:457
std::vector< float > piminus_univ
Reweight values for the piminus multi-universe.
unsigned int npiplus_univ
Number of piplus universes.
caf::Proxy< unsigned int > npiplus_univ
Definition: SRProxy.h:450
float proton_cv
Reweight for the proton central value (cv)
caf::Proxy< float > piplus_cv
Definition: SRProxy.h:454
caf::Proxy< std::vector< float > > piplus_univ
Definition: SRProxy.h:455
caf::Proxy< std::vector< float > > piminus_univ
Definition: SRProxy.h:453
caf::Proxy< unsigned int > npiminus_univ
Definition: SRProxy.h:449
unsigned int npiminus_univ
Number of piminus universes.
unsigned int nproton_univ
Number of proton universes.
void CheckEquals(const T &x) const
caf::Proxy< float > proton_cv
Definition: SRProxy.h:456

Definition at line 813 of file SRProxy.cxx.

References caf::SRGeant4Weights::npiminus_univ, caf::SRGeant4Weights::npiplus_univ, caf::SRGeant4Weights::nproton_univ, caf::SRGeant4Weights::piminus_cv, caf::SRGeant4Weights::piminus_univ, caf::SRGeant4Weights::piplus_cv, caf::SRGeant4Weights::piplus_univ, caf::SRGeant4Weights::proton_cv, and caf::SRGeant4Weights::proton_univ.

814 {
815  npiminus_univ = sr.npiminus_univ;
816  npiplus_univ = sr.npiplus_univ;
817  nproton_univ = sr.nproton_univ;
818  piminus_cv = sr.piminus_cv;
819  piminus_univ = sr.piminus_univ;
820  piplus_cv = sr.piplus_cv;
821  piplus_univ = sr.piplus_univ;
822  proton_cv = sr.proton_cv;
823  proton_univ = sr.proton_univ;
824  return *this;
825 }
caf::Proxy< float > piminus_cv
Definition: SRProxy.h:452
caf::Proxy< unsigned int > nproton_univ
Definition: SRProxy.h:451
caf::Proxy< std::vector< float > > proton_univ
Definition: SRProxy.h:457
caf::Proxy< unsigned int > npiplus_univ
Definition: SRProxy.h:450
caf::StandardRecord * sr
caf::Proxy< float > piplus_cv
Definition: SRProxy.h:454
caf::Proxy< std::vector< float > > piplus_univ
Definition: SRProxy.h:455
caf::Proxy< std::vector< float > > piminus_univ
Definition: SRProxy.h:453
caf::Proxy< unsigned int > npiminus_univ
Definition: SRProxy.h:449
caf::Proxy< float > proton_cv
Definition: SRProxy.h:456

Member Data Documentation

caf::Proxy<unsigned int> caf::Proxy< caf::SRGeant4Weights >::npiminus_univ

Definition at line 449 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRGeant4Weights >::npiplus_univ

Definition at line 450 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRGeant4Weights >::nproton_univ

Definition at line 451 of file SRProxy.h.

Definition at line 452 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRGeant4Weights >::piminus_univ

Definition at line 453 of file SRProxy.h.

Referenced by ana::ReinteractionSyst::GetWeight().

Definition at line 454 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRGeant4Weights >::piplus_univ

Definition at line 455 of file SRProxy.h.

Referenced by ana::ReinteractionSyst::GetWeight().

Definition at line 456 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRGeant4Weights >::proton_univ

Definition at line 457 of file SRProxy.h.

Referenced by ana::ReinteractionSyst::GetWeight().


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