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

Proxy for caf::SRSLidEnergy. More...

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

Public Attributes

caf::Proxy< float > E
 
caf::Proxy< float > depE
 
caf::Proxy< float > hadE
 
caf::Proxy< float > shwE
 

Detailed Description

template<>
class caf::Proxy< caf::SRSLidEnergy >

Proxy for caf::SRSLidEnergy.

Definition at line 16 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 17 of file SRProxy.cxx.

17  :
18  E(d, tr, Join(name, "E"), base, offset),
19  depE(d, tr, Join(name, "depE"), base, offset),
20  hadE(d, tr, Join(name, "hadE"), base, offset),
21  shwE(d, tr, Join(name, "shwE"), base, offset)
22 {
23 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > E
Definition: SRProxy.h:26
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< float > shwE
Definition: SRProxy.h:29
caf::Proxy< float > hadE
Definition: SRProxy.h:28
caf::Proxy< float > depE
Definition: SRProxy.h:27

Member Function Documentation

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

Definition at line 34 of file SRProxy.cxx.

References caf::SRSLidEnergy::depE, caf::SRSLidEnergy::E, E, caf::SRSLidEnergy::hadE, and caf::SRSLidEnergy::shwE.

35 {
36  E.CheckEquals(sr.E);
37  depE.CheckEquals(sr.depE);
38  hadE.CheckEquals(sr.hadE);
39  shwE.CheckEquals(sr.shwE);
40 }
float shwE
Energy of shower [GeV].
Definition: SRSLidEnergy.h:21
float E
Energy [GeV].
Definition: SRSLidEnergy.h:18
caf::Proxy< float > E
Definition: SRProxy.h:26
float hadE
Hadronic energy [GeV].
Definition: SRSLidEnergy.h:22
float depE
Total energy deposited in shower [GeV].
Definition: SRSLidEnergy.h:20
caf::Proxy< float > shwE
Definition: SRProxy.h:29
caf::Proxy< float > hadE
Definition: SRProxy.h:28
void CheckEquals(const T &x) const
caf::Proxy< float > depE
Definition: SRProxy.h:27

Definition at line 25 of file SRProxy.cxx.

References caf::SRSLidEnergy::depE, caf::SRSLidEnergy::E, E, caf::SRSLidEnergy::hadE, and caf::SRSLidEnergy::shwE.

26 {
27  E = sr.E;
28  depE = sr.depE;
29  hadE = sr.hadE;
30  shwE = sr.shwE;
31  return *this;
32 }
caf::Proxy< float > E
Definition: SRProxy.h:26
caf::StandardRecord * sr
caf::Proxy< float > shwE
Definition: SRProxy.h:29
caf::Proxy< float > hadE
Definition: SRProxy.h:28
caf::Proxy< float > depE
Definition: SRProxy.h:27

Member Data Documentation

Definition at line 27 of file SRProxy.h.

Definition at line 26 of file SRProxy.h.

Definition at line 28 of file SRProxy.h.

Definition at line 29 of file SRProxy.h.


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