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

Proxy for caf::SRTrackBase. More...

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

Public Attributes

caf::Proxy< size_t > ntracks
 
caf::Proxy< std::vector< caf::SRTrack > > tracks
 

Detailed Description

template<>
class caf::Proxy< caf::SRTrackBase >

Proxy for caf::SRTrackBase.

Definition at line 1720 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3502 of file SRProxy.cxx.

3502  :
3503  ntracks(d, tr, Join(name, "ntracks"), base, offset),
3504  tracks(d, tr, Join(name, "tracks"), base, offset)
3505 {
3506 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< std::vector< caf::SRTrack > > tracks
Definition: SRProxy.h:1731
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< size_t > ntracks
Definition: SRProxy.h:1730
caf::Proxy< caf::SRTrackBase >::Proxy ( const Proxy< caf::SRTrackBase > &&  )
delete

Member Function Documentation

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

Definition at line 3515 of file SRProxy.cxx.

References caf::SRTrackBase::ntracks, and caf::SRTrackBase::tracks.

3516 {
3518  tracks.CheckEquals(sr.tracks);
3519 }
caf::Proxy< std::vector< caf::SRTrack > > tracks
Definition: SRProxy.h:1731
std::vector< SRTrack > tracks
Definition: SRTrackBase.h:15
void CheckEquals(const T &x) const
caf::Proxy< size_t > ntracks
Definition: SRProxy.h:1730

Definition at line 3508 of file SRProxy.cxx.

References caf::SRTrackBase::ntracks, and caf::SRTrackBase::tracks.

3509 {
3510  ntracks = sr.ntracks;
3511  tracks = sr.tracks;
3512  return *this;
3513 }
caf::Proxy< std::vector< caf::SRTrack > > tracks
Definition: SRProxy.h:1731
caf::StandardRecord * sr
caf::Proxy< size_t > ntracks
Definition: SRProxy.h:1730

Member Data Documentation

caf::Proxy<size_t> caf::Proxy< caf::SRTrackBase >::ntracks

Definition at line 1730 of file SRProxy.h.

Referenced by demo6(), ana::PassesPreselFunc(), Print(), and ana::ZEndPosition().

Definition at line 1731 of file SRProxy.h.

Referenced by demo6(), ana::PassesPreselFunc(), and ana::ZEndPosition().


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