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

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

Public Attributes

caf::Proxy< float > adc
 
caf::Proxy< float > calE
 
caf::Proxy< float > deltat
 
caf::Proxy< float > disttoslc
 
caf::Proxy< caf::SRVector3Dmeanpos
 
caf::Proxy< float > mid
 
caf::Proxy< short unsigned intnhitx
 
caf::Proxy< short unsigned intnhity
 
caf::Proxy< caf::SRParticleTruthtruth
 

Detailed Description

template<>
class caf::Proxy< caf::SRSlcME >

Proxy for caf::SRSlcME.

Definition at line 658 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1249 of file SRProxy.cxx.

1249  :
1250  adc(d, tr, Join(name, "adc"), base, offset),
1251  calE(d, tr, Join(name, "calE"), base, offset),
1252  deltat(d, tr, Join(name, "deltat"), base, offset),
1253  disttoslc(d, tr, Join(name, "disttoslc"), base, offset),
1254  meanpos(d, tr, Join(name, "meanpos"), base, offset),
1255  mid(d, tr, Join(name, "mid"), base, offset),
1256  nhitx(d, tr, Join(name, "nhitx"), base, offset),
1257  nhity(d, tr, Join(name, "nhity"), base, offset),
1258  truth(d, tr, Join(name, "truth"), base, offset)
1259 {
1260 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > adc
Definition: SRProxy.h:668
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< float > deltat
Definition: SRProxy.h:670
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > calE
Definition: SRProxy.h:669
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:675
caf::Proxy< float > mid
Definition: SRProxy.h:673
Float_t d
Definition: plot.C:236
caf::Proxy< float > disttoslc
Definition: SRProxy.h:671
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:672
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:676
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:674
caf::Proxy< caf::SRSlcME >::Proxy ( const Proxy< caf::SRSlcME > &  )
delete
caf::Proxy< caf::SRSlcME >::Proxy ( const Proxy< caf::SRSlcME > &&  )
delete

Member Function Documentation

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

Definition at line 1276 of file SRProxy.cxx.

References caf::SRSlcME::adc, caf::SRSlcME::calE, caf::SRSlcME::deltat, caf::SRSlcME::disttoslc, caf::SRSlcME::meanpos, caf::SRSlcME::mid, caf::SRSlcME::nhitx, caf::SRSlcME::nhity, and caf::SRSlcME::truth.

1277 {
1278  adc.CheckEquals(sr.adc);
1279  calE.CheckEquals(sr.calE);
1283  mid.CheckEquals(sr.mid);
1284  nhitx.CheckEquals(sr.nhitx);
1285  nhity.CheckEquals(sr.nhity);
1286  truth.CheckEquals(sr.truth);
1287 }
float disttoslc
Minimum distance between hits in ME and parent (cm)
Definition: SRSlcME.h:24
SRVector3D meanpos
The mean position of the ME cluster.
Definition: SRSlcME.h:25
float deltat
Time delay (ns)
Definition: SRSlcME.h:22
float calE
Calorimetric Energy of ME (GeV)
Definition: SRSlcME.h:21
void CheckEquals(const caf::SRParticleTruth &sr) const
Definition: SRProxy.cxx:1222
caf::Proxy< float > adc
Definition: SRProxy.h:668
caf::Proxy< float > deltat
Definition: SRProxy.h:670
caf::Proxy< float > calE
Definition: SRProxy.h:669
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:675
caf::Proxy< float > mid
Definition: SRProxy.h:673
caf::Proxy< float > disttoslc
Definition: SRProxy.h:671
unsigned short nhity
Number of hits in Michel cluster.
Definition: SRSlcME.h:20
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:672
unsigned short nhitx
Number of hits in Michel cluster.
Definition: SRSlcME.h:19
float mid
Michel Electron Identifier LL.
Definition: SRSlcME.h:16
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:676
SRParticleTruth truth
Truth information for the michel cluster.
Definition: SRSlcME.h:26
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:674
void CheckEquals(const T &x) const
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
float adc
Total ADC in the ME cluster.
Definition: SRSlcME.h:23
caf::Proxy< caf::SRSlcME > & caf::Proxy< caf::SRSlcME >::operator= ( const caf::SRSlcME x)

Definition at line 1262 of file SRProxy.cxx.

References caf::SRSlcME::adc, caf::SRSlcME::calE, caf::SRSlcME::deltat, caf::SRSlcME::disttoslc, caf::SRSlcME::meanpos, caf::SRSlcME::mid, caf::SRSlcME::nhitx, caf::SRSlcME::nhity, and caf::SRSlcME::truth.

1263 {
1264  adc = sr.adc;
1265  calE = sr.calE;
1266  deltat = sr.deltat;
1267  disttoslc = sr.disttoslc;
1268  meanpos = sr.meanpos;
1269  mid = sr.mid;
1270  nhitx = sr.nhitx;
1271  nhity = sr.nhity;
1272  truth = sr.truth;
1273  return *this;
1274 }
caf::Proxy< float > adc
Definition: SRProxy.h:668
caf::Proxy< float > deltat
Definition: SRProxy.h:670
caf::Proxy< float > calE
Definition: SRProxy.h:669
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:675
caf::Proxy< float > mid
Definition: SRProxy.h:673
caf::Proxy< float > disttoslc
Definition: SRProxy.h:671
caf::StandardRecord * sr
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:672
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:676
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:674

Member Data Documentation

Definition at line 668 of file SRProxy.h.

Definition at line 669 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRSlcME >::deltat
caf::Proxy<float> caf::Proxy< caf::SRSlcME >::disttoslc

Definition at line 671 of file SRProxy.h.

Definition at line 672 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRSlcME >::nhitx

Definition at line 674 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRSlcME >::nhity

Definition at line 675 of file SRProxy.h.


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