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

Proxy for caf::SREnergyBranch. More...

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

Public Attributes

caf::Proxy< caf::SRNueEnergynue
 
caf::Proxy< caf::SRNumuEnergynumu
 

Detailed Description

template<>
class caf::Proxy< caf::SREnergyBranch >

Proxy for caf::SREnergyBranch.

Definition at line 203 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 342 of file SRProxy.cxx.

342  :
343  nue(d, tr, Join(name, "nue"), base, offset),
344  numu(d, tr, Join(name, "numu"), base, offset)
345 {
346 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRNumuEnergy > numu
Definition: SRProxy.h:214
caf::Proxy< caf::SRNueEnergy > nue
Definition: SRProxy.h:213
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

Member Function Documentation

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

Definition at line 355 of file SRProxy.cxx.

References caf::SREnergyBranch::nue, and caf::SREnergyBranch::numu.

356 {
357  nue.CheckEquals(sr.nue);
358  numu.CheckEquals(sr.numu);
359 }
caf::Proxy< caf::SRNueEnergy > nue
Definition: SRProxy.h:213
SRNueEnergy nue
Nue energy variables.
void CheckEquals(const caf::SRNueEnergy &sr) const
Definition: SRProxy.cxx:63
SRNumuEnergy numu
Numu energy estimator.

Definition at line 348 of file SRProxy.cxx.

References caf::SREnergyBranch::nue, and caf::SREnergyBranch::numu.

349 {
350  nue = sr.nue;
351  numu = sr.numu;
352  return *this;
353 }
caf::Proxy< caf::SRNueEnergy > nue
Definition: SRProxy.h:213
caf::StandardRecord * sr

Member Data Documentation


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