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

Proxy for caf::SRPixelMap. More...

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

Public Attributes

caf::Proxy< unsigned char[16000]> cvnmap
 
caf::Proxy< unsigned intfirstcellx
 
caf::Proxy< unsigned intfirstcelly
 
caf::Proxy< unsigned intfirstplane
 
caf::Proxy< float > hitfracx
 
caf::Proxy< float > hitfracy
 
caf::Proxy< unsigned intlastcellx
 
caf::Proxy< unsigned intlastcelly
 
caf::Proxy< unsigned intlastplane
 
caf::Proxy< unsigned intncells
 
caf::Proxy< unsigned intnchan
 
caf::Proxy< unsigned intnplanes
 

Detailed Description

template<>
class caf::Proxy< caf::SRPixelMap >

Proxy for caf::SRPixelMap.

Definition at line 1802 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3647 of file SRProxy.cxx.

3647  :
3648  cvnmap(d, tr, Join(name, "cvnmap"), base, offset),
3649  firstcellx(d, tr, Join(name, "firstcellx"), base, offset),
3650  firstcelly(d, tr, Join(name, "firstcelly"), base, offset),
3651  firstplane(d, tr, Join(name, "firstplane"), base, offset),
3652  hitfracx(d, tr, Join(name, "hitfracx"), base, offset),
3653  hitfracy(d, tr, Join(name, "hitfracy"), base, offset),
3654  lastcellx(d, tr, Join(name, "lastcellx"), base, offset),
3655  lastcelly(d, tr, Join(name, "lastcelly"), base, offset),
3656  lastplane(d, tr, Join(name, "lastplane"), base, offset),
3657  ncells(d, tr, Join(name, "ncells"), base, offset),
3658  nchan(d, tr, Join(name, "nchan"), base, offset),
3659  nplanes(d, tr, Join(name, "nplanes"), base, offset)
3660 {
3661 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1819
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1813
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1815
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1822
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1820
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1817
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1823
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
Float_t d
Definition: plot.C:236
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1812
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1816
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1814
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1818
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1821
caf::Proxy< caf::SRPixelMap >::Proxy ( const Proxy< caf::SRPixelMap > &  )
delete
caf::Proxy< caf::SRPixelMap >::Proxy ( const Proxy< caf::SRPixelMap > &&  )
delete

Member Function Documentation

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

Definition at line 3680 of file SRProxy.cxx.

References caf::SRPixelMap::cvnmap, caf::SRPixelMap::firstcellx, caf::SRPixelMap::firstcelly, caf::SRPixelMap::firstplane, caf::SRPixelMap::hitfracx, caf::SRPixelMap::hitfracy, caf::SRPixelMap::lastcellx, caf::SRPixelMap::lastcelly, caf::SRPixelMap::lastplane, caf::SRPixelMap::ncells, ncells, caf::SRPixelMap::nchan, caf::SRPixelMap::nplanes, and nplanes.

3681 {
3692  nchan.CheckEquals(sr.nchan);
3694 }
unsigned int firstcellx
global position of first x cell in map
Definition: SRPixelMap.h:26
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1819
unsigned int lastcelly
global position of last y cell in map
Definition: SRPixelMap.h:29
float hitfracy
fraction of y hits in slice in y view pixel map
Definition: SRPixelMap.h:31
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1813
unsigned int ncells
number of cells in pixel map
Definition: SRPixelMap.h:22
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1815
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1822
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1820
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1817
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1823
unsigned int nplanes
number of planes in pixel map
Definition: SRPixelMap.h:18
unsigned int firstplane
global position of first plane in map
Definition: SRPixelMap.h:24
unsigned int lastcellx
global position of last x cell in map
Definition: SRPixelMap.h:27
unsigned int nchan
number of channels in pixel map
Definition: SRPixelMap.h:23
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1812
float hitfracx
faction of x hits in slice in x view pixel map
Definition: SRPixelMap.h:30
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1816
unsigned int lastplane
global position of last plane in map
Definition: SRPixelMap.h:25
unsigned int firstcelly
global position of first y cell in map
Definition: SRPixelMap.h:28
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1814
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1818
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1821
unsigned char cvnmap[16000]
store 1D array the size of the pixel map, currently 80 cells x 100 planes x 2 views. Although sparse, store this way for easier conversion and compression in hdf5. First element is channel 0, plane 0, cell 0, then channel 0, plane 0, cell 1, etc. Channel 0 is x view, 1 is y view
Definition: SRPixelMap.h:33
void CheckEquals(const T &x) const

Definition at line 3663 of file SRProxy.cxx.

References caf::SRPixelMap::cvnmap, caf::SRPixelMap::firstcellx, caf::SRPixelMap::firstcelly, caf::SRPixelMap::firstplane, caf::SRPixelMap::hitfracx, caf::SRPixelMap::hitfracy, caf::SRPixelMap::lastcellx, caf::SRPixelMap::lastcelly, caf::SRPixelMap::lastplane, caf::SRPixelMap::ncells, ncells, caf::SRPixelMap::nchan, caf::SRPixelMap::nplanes, and nplanes.

3664 {
3665  cvnmap = sr.cvnmap;
3666  firstcellx = sr.firstcellx;
3667  firstcelly = sr.firstcelly;
3668  firstplane = sr.firstplane;
3669  hitfracx = sr.hitfracx;
3670  hitfracy = sr.hitfracy;
3671  lastcellx = sr.lastcellx;
3672  lastcelly = sr.lastcelly;
3673  lastplane = sr.lastplane;
3674  ncells = sr.ncells;
3675  nchan = sr.nchan;
3676  nplanes = sr.nplanes;
3677  return *this;
3678 }
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1819
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1813
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1815
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1822
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1820
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1817
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1823
caf::StandardRecord * sr
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1812
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1816
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1814
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1818
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1821

Member Data Documentation

caf::Proxy<unsigned char [16000]> caf::Proxy< caf::SRPixelMap >::cvnmap

Definition at line 1812 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::firstcellx

Definition at line 1813 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::firstcelly

Definition at line 1814 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::firstplane

Definition at line 1815 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRPixelMap >::hitfracx

Definition at line 1816 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRPixelMap >::hitfracy

Definition at line 1817 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::lastcellx

Definition at line 1818 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::lastcelly

Definition at line 1819 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::lastplane

Definition at line 1820 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::ncells

Definition at line 1821 of file SRProxy.h.

Definition at line 1822 of file SRProxy.h.

caf::Proxy<unsigned int> caf::Proxy< caf::SRPixelMap >::nplanes

Definition at line 1823 of file SRProxy.h.


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