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

Proxy for caf::SRTrkME. More...

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

Public Attributes

caf::Proxy< float > adc
 
caf::Proxy< float > calE
 
caf::Proxy< float > deltat
 
caf::Proxy< float > disttotrack
 
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::SRTrkME >

Proxy for caf::SRTrkME.

Definition at line 680 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1289 of file SRProxy.cxx.

1289  :
1290  adc(d, tr, Join(name, "adc"), base, offset),
1291  calE(d, tr, Join(name, "calE"), base, offset),
1292  deltat(d, tr, Join(name, "deltat"), base, offset),
1293  disttotrack(d, tr, Join(name, "disttotrack"), base, offset),
1294  meanpos(d, tr, Join(name, "meanpos"), base, offset),
1295  mid(d, tr, Join(name, "mid"), base, offset),
1296  nhitx(d, tr, Join(name, "nhitx"), base, offset),
1297  nhity(d, tr, Join(name, "nhity"), base, offset),
1298  truth(d, tr, Join(name, "truth"), base, offset)
1299 {
1300 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > adc
Definition: SRProxy.h:690
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:698
caf::Proxy< float > deltat
Definition: SRProxy.h:692
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:694
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
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:696
Float_t d
Definition: plot.C:236
caf::Proxy< float > calE
Definition: SRProxy.h:691
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:697
caf::Proxy< float > mid
Definition: SRProxy.h:695
caf::Proxy< float > disttotrack
Definition: SRProxy.h:693
caf::Proxy< caf::SRTrkME >::Proxy ( const Proxy< caf::SRTrkME > &  )
delete
caf::Proxy< caf::SRTrkME >::Proxy ( const Proxy< caf::SRTrkME > &&  )
delete

Member Function Documentation

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

Definition at line 1316 of file SRProxy.cxx.

References caf::SRTrkME::adc, caf::SRTrkME::calE, caf::SRTrkME::deltat, caf::SRTrkME::disttotrack, caf::SRTrkME::meanpos, caf::SRTrkME::mid, caf::SRTrkME::nhitx, caf::SRTrkME::nhity, and caf::SRTrkME::truth.

1317 {
1318  adc.CheckEquals(sr.adc);
1319  calE.CheckEquals(sr.calE);
1323  mid.CheckEquals(sr.mid);
1324  nhitx.CheckEquals(sr.nhitx);
1325  nhity.CheckEquals(sr.nhity);
1326  truth.CheckEquals(sr.truth);
1327 }
float calE
Calorimetric Energy [GeV].
Definition: SRTrkME.h:26
unsigned short nhity
number of hits in yview
Definition: SRTrkME.h:25
caf::Proxy< float > adc
Definition: SRProxy.h:690
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:698
caf::Proxy< float > deltat
Definition: SRProxy.h:692
float adc
Total ADC in the ME cluster.
Definition: SRTrkME.h:28
void CheckEquals(const caf::SRParticleTruth &sr) const
Definition: SRProxy.cxx:1222
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:694
float deltat
time difference [ns]
Definition: SRTrkME.h:27
SRParticleTruth truth
Truth information for the michel cluster.
Definition: SRTrkME.h:31
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:696
float disttotrack
Distance between end of track and Michel hits [cm].
Definition: SRTrkME.h:29
caf::Proxy< float > calE
Definition: SRProxy.h:691
float mid
Michel Electron Identifier.
Definition: SRTrkME.h:20
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:697
SRVector3D meanpos
The mean position of the ME cluster.
Definition: SRTrkME.h:30
caf::Proxy< float > mid
Definition: SRProxy.h:695
unsigned short nhitx
number of hits in xview
Definition: SRTrkME.h:24
void CheckEquals(const T &x) const
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
caf::Proxy< float > disttotrack
Definition: SRProxy.h:693
caf::Proxy< caf::SRTrkME > & caf::Proxy< caf::SRTrkME >::operator= ( const caf::SRTrkME x)

Definition at line 1302 of file SRProxy.cxx.

References caf::SRTrkME::adc, caf::SRTrkME::calE, caf::SRTrkME::deltat, caf::SRTrkME::disttotrack, caf::SRTrkME::meanpos, caf::SRTrkME::mid, caf::SRTrkME::nhitx, caf::SRTrkME::nhity, and caf::SRTrkME::truth.

1303 {
1304  adc = sr.adc;
1305  calE = sr.calE;
1306  deltat = sr.deltat;
1307  disttotrack = sr.disttotrack;
1308  meanpos = sr.meanpos;
1309  mid = sr.mid;
1310  nhitx = sr.nhitx;
1311  nhity = sr.nhity;
1312  truth = sr.truth;
1313  return *this;
1314 }
caf::Proxy< float > adc
Definition: SRProxy.h:690
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:698
caf::Proxy< float > deltat
Definition: SRProxy.h:692
caf::Proxy< caf::SRVector3D > meanpos
Definition: SRProxy.h:694
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:696
caf::StandardRecord * sr
caf::Proxy< float > calE
Definition: SRProxy.h:691
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:697
caf::Proxy< float > mid
Definition: SRProxy.h:695
caf::Proxy< float > disttotrack
Definition: SRProxy.h:693

Member Data Documentation

Definition at line 690 of file SRProxy.h.

Definition at line 691 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRTrkME >::deltat
caf::Proxy<float> caf::Proxy< caf::SRTrkME >::disttotrack

Definition at line 693 of file SRProxy.h.

Definition at line 694 of file SRProxy.h.

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

Definition at line 696 of file SRProxy.h.

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

Definition at line 697 of file SRProxy.h.


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