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

Proxy for caf::SRPixelObjMap. More...

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

Public Attributes

caf::Proxy< unsigned char[16000]> cvnlabmap
 
caf::Proxy< unsigned char[16000]> cvnmap
 
caf::Proxy< unsigned char[16000]> cvnobjmap
 
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::SRPixelObjMap >

Proxy for caf::SRPixelObjMap.

Definition at line 1433 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 2875 of file SRProxy.cxx.

2875  :
2876  cvnlabmap(d, tr, Join(name, "cvnlabmap"), base, offset),
2877  cvnmap(d, tr, Join(name, "cvnmap"), base, offset),
2878  cvnobjmap(d, tr, Join(name, "cvnobjmap"), base, offset),
2879  firstcellx(d, tr, Join(name, "firstcellx"), base, offset),
2880  firstcelly(d, tr, Join(name, "firstcelly"), base, offset),
2881  firstplane(d, tr, Join(name, "firstplane"), base, offset),
2882  hitfracx(d, tr, Join(name, "hitfracx"), base, offset),
2883  hitfracy(d, tr, Join(name, "hitfracy"), base, offset),
2884  lastcellx(d, tr, Join(name, "lastcellx"), base, offset),
2885  lastcelly(d, tr, Join(name, "lastcelly"), base, offset),
2886  lastplane(d, tr, Join(name, "lastplane"), base, offset),
2887  ncells(d, tr, Join(name, "ncells"), base, offset),
2888  nchan(d, tr, Join(name, "nchan"), base, offset),
2889  nplanes(d, tr, Join(name, "nplanes"), base, offset)
2890 {
2891 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1454
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1448
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1455
caf::Proxy< unsigned char[16000]> cvnlabmap
Definition: SRProxy.h:1443
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1447
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1452
Float_t d
Definition: plot.C:236
caf::Proxy< unsigned char[16000]> cvnobjmap
Definition: SRProxy.h:1445
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1450
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1449
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1444
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1456
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1451
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1453
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1446

Member Function Documentation

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

Definition at line 2912 of file SRProxy.cxx.

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

2913 {
2926  nchan.CheckEquals(sr.nchan);
2928 }
unsigned char cvnlabmap[16000]
store 1D array with hit labels
Definition: SRPixelObjMap.h:33
unsigned int nplanes
number of planes in pixel map
Definition: SRPixelObjMap.h:17
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1454
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1448
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1455
unsigned int ncells
number of cells in pixel map
Definition: SRPixelObjMap.h:21
caf::Proxy< unsigned char[16000]> cvnlabmap
Definition: SRProxy.h:1443
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1447
unsigned int lastplane
global position of last plane in map
Definition: SRPixelObjMap.h:24
unsigned char cvnobjmap[16000]
store 1D array with hit object id
Definition: SRPixelObjMap.h:34
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1452
caf::Proxy< unsigned char[16000]> cvnobjmap
Definition: SRProxy.h:1445
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: SRPixelObjMap.h:32
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1450
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1449
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1444
unsigned int nchan
number of channels in pixel map
Definition: SRPixelObjMap.h:22
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1456
unsigned int firstcellx
global position of first x cell in map
Definition: SRPixelObjMap.h:25
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1451
unsigned int lastcelly
global position of last y cell in map
Definition: SRPixelObjMap.h:28
unsigned int lastcellx
global position of last x cell in map
Definition: SRPixelObjMap.h:26
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1453
unsigned int firstcelly
global position of first y cell in map
Definition: SRPixelObjMap.h:27
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1446
void CheckEquals(const T &x) const
float hitfracy
fraction of y hits in slice in y view pixel map
Definition: SRPixelObjMap.h:30
float hitfracx
faction of x hits in slice in x view pixel map
Definition: SRPixelObjMap.h:29
unsigned int firstplane
global position of first plane in map
Definition: SRPixelObjMap.h:23

Definition at line 2893 of file SRProxy.cxx.

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

2894 {
2895  cvnlabmap = sr.cvnlabmap;
2896  cvnmap = sr.cvnmap;
2897  cvnobjmap = sr.cvnobjmap;
2898  firstcellx = sr.firstcellx;
2899  firstcelly = sr.firstcelly;
2900  firstplane = sr.firstplane;
2901  hitfracx = sr.hitfracx;
2902  hitfracy = sr.hitfracy;
2903  lastcellx = sr.lastcellx;
2904  lastcelly = sr.lastcelly;
2905  lastplane = sr.lastplane;
2906  ncells = sr.ncells;
2907  nchan = sr.nchan;
2908  nplanes = sr.nplanes;
2909  return *this;
2910 }
caf::Proxy< unsigned int > ncells
Definition: SRProxy.h:1454
caf::Proxy< unsigned int > firstplane
Definition: SRProxy.h:1448
caf::Proxy< unsigned int > nchan
Definition: SRProxy.h:1455
caf::Proxy< unsigned char[16000]> cvnlabmap
Definition: SRProxy.h:1443
caf::Proxy< unsigned int > firstcelly
Definition: SRProxy.h:1447
caf::Proxy< unsigned int > lastcelly
Definition: SRProxy.h:1452
caf::StandardRecord * sr
caf::Proxy< unsigned char[16000]> cvnobjmap
Definition: SRProxy.h:1445
caf::Proxy< float > hitfracy
Definition: SRProxy.h:1450
caf::Proxy< float > hitfracx
Definition: SRProxy.h:1449
caf::Proxy< unsigned char[16000]> cvnmap
Definition: SRProxy.h:1444
caf::Proxy< unsigned int > nplanes
Definition: SRProxy.h:1456
caf::Proxy< unsigned int > lastcellx
Definition: SRProxy.h:1451
caf::Proxy< unsigned int > lastplane
Definition: SRProxy.h:1453
caf::Proxy< unsigned int > firstcellx
Definition: SRProxy.h:1446

Member Data Documentation

caf::Proxy<unsigned char [16000]> caf::Proxy< caf::SRPixelObjMap >::cvnlabmap

Definition at line 1443 of file SRProxy.h.

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

Definition at line 1444 of file SRProxy.h.

caf::Proxy<unsigned char [16000]> caf::Proxy< caf::SRPixelObjMap >::cvnobjmap

Definition at line 1445 of file SRProxy.h.

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

Definition at line 1446 of file SRProxy.h.

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

Definition at line 1447 of file SRProxy.h.

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

Definition at line 1448 of file SRProxy.h.

Definition at line 1449 of file SRProxy.h.

Definition at line 1450 of file SRProxy.h.

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

Definition at line 1451 of file SRProxy.h.

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

Definition at line 1452 of file SRProxy.h.

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

Definition at line 1453 of file SRProxy.h.

Definition at line 1454 of file SRProxy.h.

Definition at line 1455 of file SRProxy.h.

Definition at line 1456 of file SRProxy.h.


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