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

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

Public Attributes

caf::Proxy< float > time
 
caf::Proxy< caf::SRVector3Dvtx
 

Detailed Description

template<>
class caf::Proxy< caf::SRVertexDT >

Proxy for caf::SRVertexDT.

Definition at line 2093 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 4214 of file SRProxy.cxx.

4214  :
4215  time(d, tr, Join(name, "time"), base, offset),
4216  vtx(d, tr, Join(name, "vtx"), base, offset)
4217 {
4218 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > time
Definition: SRProxy.h:2103
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< caf::SRVector3D > vtx
Definition: SRProxy.h:2104
caf::Proxy< caf::SRVertexDT >::Proxy ( const Proxy< caf::SRVertexDT > &  )
delete
caf::Proxy< caf::SRVertexDT >::Proxy ( const Proxy< caf::SRVertexDT > &&  )
delete

Member Function Documentation

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

Definition at line 4227 of file SRProxy.cxx.

References caf::SRVertexDT::time, and caf::SRVertexDT::vtx.

4228 {
4229  time.CheckEquals(sr.time);
4230  vtx.CheckEquals(sr.vtx);
4231 }
float time
Time [ns].
Definition: SRVertexDT.h:22
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRVertexDT.h:23
caf::Proxy< caf::SRVector3D > vtx
Definition: SRProxy.h:2104
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140

Definition at line 4220 of file SRProxy.cxx.

References caf::SRVertexDT::time, and caf::SRVertexDT::vtx.

4221 {
4222  time = sr.time;
4223  vtx = sr.vtx;
4224  return *this;
4225 }
caf::StandardRecord * sr
caf::Proxy< caf::SRVector3D > vtx
Definition: SRProxy.h:2104
SRVertexBranch vtx
Vertex branch: location, time, etc.

Member Data Documentation

Definition at line 2103 of file SRProxy.h.

Definition at line 2104 of file SRProxy.h.


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