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

Proxy for caf::SRShowerLID. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-25/StandardRecord/Proxy/SRProxy.h"

Inheritance diagram for caf::Proxy< caf::SRShowerLID >:
caf::Proxy< SRShower >

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::SRShowerLID &x)
 
void CheckEquals (const caf::SRShowerLID &sr) const
 
 operator SRShower () const
 
SRShower GetValue () const
 
Proxy< SRShower > & operator+= (SRShower x)
 
Proxy< SRShower > & operator*= (SRShower x)
 
std::string Name () const
 
void CheckEquals (const SRShower &x) const
 

Public Attributes

caf::Proxy< caf::SRSLidlid
 
caf::Proxy< caf::SRSLidEnergylidE
 
caf::Proxy< float > shwE
 
caf::Proxy< float > vtxE
 

Protected Types

typedef std::conditional_t< std::is_enum_v< SRShower >, int, SRShowerU
 

Protected Member Functions

SRShower GetValueFlat () const
 
SRShower GetValueNested () const
 
void SetShifted ()
 

Protected Attributes

std::string fName
 
TLeaf * fLeaf
 
U fVal
 
TTree * fTree
 
TDirectory * fDir
 
const long & fBase
 
int fOffset
 
TFormLeafInfo * fLeafInfo
 
TBranch * fBranch
 
TTreeFormula * fTTF
 
long fEntry
 
int fSubIdx
 

Detailed Description

template<>
class caf::Proxy< caf::SRShowerLID >

Proxy for caf::SRShowerLID.

Definition at line 1605 of file SRProxy.h.

Member Typedef Documentation

typedef std::conditional_t<std::is_enum_v<SRShower >, int, SRShower > caf::Proxy< SRShower >::U
protectedinherited

Definition at line 80 of file BasicTypesProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3235 of file SRProxy.cxx.

3235  :
3237  lid(d, tr, Join(name, "lid"), base, offset),
3238  lidE(d, tr, Join(name, "lidE"), base, offset),
3239  shwE(d, tr, Join(name, "shwE"), base, offset),
3240  vtxE(d, tr, Join(name, "vtxE"), base, offset)
3241 {
3242 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1615
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:1617
caf::Proxy< float > vtxE
Definition: SRProxy.h:1618
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1616
caf::Proxy< caf::SRShowerLID >::Proxy ( const Proxy< caf::SRShowerLID > &&  )
delete

Member Function Documentation

void caf::Proxy< SRShower >::CheckEquals ( const SRShower x) const
inherited
void caf::Proxy< caf::SRShowerLID >::CheckEquals ( const caf::SRShowerLID sr) const

Definition at line 3254 of file SRProxy.cxx.

References caf::Proxy< T >::CheckEquals(), caf::SRShowerLID::lid, caf::SRShowerLID::lidE, caf::SRShowerLID::shwE, and caf::SRShowerLID::vtxE.

3255 {
3256  lid.CheckEquals(sr.lid);
3257  lidE.CheckEquals(sr.lidE);
3258  shwE.CheckEquals(sr.shwE);
3259  vtxE.CheckEquals(sr.vtxE);
3261 }
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1615
void CheckEquals(const caf::SRSLidEnergy &sr) const
Definition: SRProxy.cxx:34
caf::Proxy< float > shwE
Definition: SRProxy.h:1617
void CheckEquals(const caf::SRSLid &sr) const
Definition: SRProxy.cxx:3186
caf::Proxy< float > vtxE
Definition: SRProxy.h:1618
float shwE
reconstructed shower energy [GeV]
Definition: SRShowerLID.h:28
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1616
SRSLidEnergy lidE
Definition: SRShowerLID.h:34
void CheckEquals(const T &x) const
float vtxE
calorimetric energy of [GeV]
Definition: SRShowerLID.h:29
SRShower caf::Proxy< SRShower >::GetValue ( ) const
inherited
SRShower caf::Proxy< SRShower >::GetValueFlat ( ) const
protectedinherited
SRShower caf::Proxy< SRShower >::GetValueNested ( ) const
protectedinherited
std::string caf::Proxy< SRShower >::Name ( void  ) const
inlineinherited

Definition at line 68 of file BasicTypesProxy.h.

68 {return fName;}
caf::Proxy< SRShower >::operator SRShower ( ) const
inlineinherited

Definition at line 59 of file BasicTypesProxy.h.

59 {return GetValue();}
SRShower GetValue() const
Proxy<SRShower >& caf::Proxy< SRShower >::operator*= ( SRShower  x)
inherited
Proxy<SRShower >& caf::Proxy< SRShower >::operator+= ( SRShower  x)
inherited

Definition at line 3244 of file SRProxy.cxx.

References caf::SRShowerLID::lid, caf::SRShowerLID::lidE, caf::Proxy< T >::operator=(), caf::SRShowerLID::shwE, and caf::SRShowerLID::vtxE.

3245 {
3246  lid = sr.lid;
3247  lidE = sr.lidE;
3248  shwE = sr.shwE;
3249  vtxE = sr.vtxE;
3251  return *this;
3252 }
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1615
Proxy & operator=(const Proxy &)=delete
caf::Proxy< float > shwE
Definition: SRProxy.h:1617
caf::StandardRecord * sr
caf::Proxy< float > vtxE
Definition: SRProxy.h:1618
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1616
void caf::Proxy< SRShower >::SetShifted ( )
protectedinherited

Member Data Documentation

const long& caf::Proxy< SRShower >::fBase
protectedinherited

Definition at line 90 of file BasicTypesProxy.h.

TBranch* caf::Proxy< SRShower >::fBranch
mutableprotectedinherited

Definition at line 95 of file BasicTypesProxy.h.

TDirectory* caf::Proxy< SRShower >::fDir
protectedinherited

Definition at line 89 of file BasicTypesProxy.h.

long caf::Proxy< SRShower >::fEntry
mutableprotectedinherited

Definition at line 97 of file BasicTypesProxy.h.

TLeaf* caf::Proxy< SRShower >::fLeaf
mutableprotectedinherited

Definition at line 84 of file BasicTypesProxy.h.

TFormLeafInfo* caf::Proxy< SRShower >::fLeafInfo
mutableprotectedinherited

Definition at line 94 of file BasicTypesProxy.h.

std::string caf::Proxy< SRShower >::fName
protectedinherited

Definition at line 83 of file BasicTypesProxy.h.

int caf::Proxy< SRShower >::fOffset
protectedinherited

Definition at line 91 of file BasicTypesProxy.h.

int caf::Proxy< SRShower >::fSubIdx
mutableprotectedinherited

Definition at line 98 of file BasicTypesProxy.h.

TTree* caf::Proxy< SRShower >::fTree
protectedinherited

Definition at line 86 of file BasicTypesProxy.h.

TTreeFormula* caf::Proxy< SRShower >::fTTF
mutableprotectedinherited

Definition at line 96 of file BasicTypesProxy.h.

U caf::Proxy< SRShower >::fVal
mutableprotectedinherited

Definition at line 85 of file BasicTypesProxy.h.

Definition at line 1615 of file SRProxy.h.

Definition at line 1616 of file SRProxy.h.

Definition at line 1617 of file SRProxy.h.

Definition at line 1618 of file SRProxy.h.


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