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

Proxy for caf::SRMCReweight. More...

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

Public Attributes

caf::Proxy< caf::SRGeant4Weightsgeant4
 
caf::Proxy< std::vector< caf::SRGenieWeights > > genie
 
caf::Proxy< caf::SRFluxWeightsppfx
 

Detailed Description

template<>
class caf::Proxy< caf::SRMCReweight >

Proxy for caf::SRMCReweight.

Definition at line 493 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 887 of file SRProxy.cxx.

887  :
888  geant4(d, tr, Join(name, "geant4"), base, offset),
889  genie(d, tr, Join(name, "genie"), base, offset),
890  ppfx(d, tr, Join(name, "ppfx"), base, offset)
891 {
892 }
const XML_Char * name
Definition: expat.h:151
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< caf::SRFluxWeights > ppfx
Definition: SRProxy.h:505
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
Float_t d
Definition: plot.C:236
caf::Proxy< std::vector< caf::SRGenieWeights > > genie
Definition: SRProxy.h:504
caf::Proxy< caf::SRGeant4Weights > geant4
Definition: SRProxy.h:503

Member Function Documentation

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

Definition at line 902 of file SRProxy.cxx.

References caf::SRMCReweight::geant4, caf::SRMCReweight::genie, and caf::SRMCReweight::ppfx.

903 {
905  genie.CheckEquals(sr.genie);
906  ppfx.CheckEquals(sr.ppfx);
907 }
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
caf::Proxy< caf::SRFluxWeights > ppfx
Definition: SRProxy.h:505
void CheckEquals(const caf::SRFluxWeights &sr) const
Definition: SRProxy.cxx:880
SRGeant4Weights geant4
GEANT4 weights.
Definition: SRMCReweight.h:25
void CheckEquals(const caf::SRGeant4Weights &sr) const
Definition: SRProxy.cxx:827
std::vector< SRGenieWeights > genie
GENIE weights.
Definition: SRMCReweight.h:23
SRFluxWeights ppfx
ppfx weights
Definition: SRMCReweight.h:24
caf::Proxy< caf::SRGeant4Weights > geant4
Definition: SRProxy.h:503

Definition at line 894 of file SRProxy.cxx.

References caf::SRMCReweight::geant4, caf::SRMCReweight::genie, and caf::SRMCReweight::ppfx.

895 {
896  geant4 = sr.geant4;
897  genie = sr.genie;
898  ppfx = sr.ppfx;
899  return *this;
900 }
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
caf::Proxy< caf::SRFluxWeights > ppfx
Definition: SRProxy.h:505
caf::StandardRecord * sr
caf::Proxy< caf::SRGeant4Weights > geant4
Definition: SRProxy.h:503

Member Data Documentation

Definition at line 503 of file SRProxy.h.

Definition at line 504 of file SRProxy.h.

Definition at line 505 of file SRProxy.h.


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