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

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

Public Attributes

caf::Proxy< caf::SRCVNFeaturescvnfeatures
 
caf::Proxy< std::vector< caf::SRPixelObjMap > > cvnmaps
 
caf::Proxy< bool > cvnmapsfilled
 
caf::Proxy< std::vector< caf::SRSliceMap > > slicemaps
 
caf::Proxy< std::vector< caf::SRTrainingData > > trainingdata
 

Detailed Description

template<>
class caf::Proxy< caf::SRTrainingBranch >

Proxy for caf::SRTrainingBranch.

Definition at line 1498 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 2989 of file SRProxy.cxx.

2989  :
2990  cvnfeatures(d, tr, Join(name, "cvnfeatures"), base, offset),
2991  cvnmaps(d, tr, Join(name, "cvnmaps"), base, offset),
2992  cvnmapsfilled(d, tr, Join(name, "cvnmapsfilled"), base, offset),
2993  slicemaps(d, tr, Join(name, "slicemaps"), base, offset),
2994  trainingdata(d, tr, Join(name, "trainingdata"), base, offset)
2995 {
2996 }
caf::Proxy< std::vector< caf::SRTrainingData > > trainingdata
Definition: SRProxy.h:1512
const XML_Char * name
Definition: expat.h:151
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::SRCVNFeatures > cvnfeatures
Definition: SRProxy.h:1508
caf::Proxy< std::vector< caf::SRSliceMap > > slicemaps
Definition: SRProxy.h:1511
caf::Proxy< std::vector< caf::SRPixelObjMap > > cvnmaps
Definition: SRProxy.h:1509
caf::Proxy< bool > cvnmapsfilled
Definition: SRProxy.h:1510

Member Function Documentation

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

Definition at line 3008 of file SRProxy.cxx.

References caf::SRTrainingBranch::cvnfeatures, caf::SRTrainingBranch::cvnmaps, caf::SRTrainingBranch::cvnmapsfilled, caf::SRTrainingBranch::slicemaps, and caf::SRTrainingBranch::trainingdata.

3009 {
3011  cvnmaps.CheckEquals(sr.cvnmaps);
3013  slicemaps.CheckEquals(sr.slicemaps);
3014  trainingdata.CheckEquals(sr.trainingdata);
3015 }
caf::Proxy< std::vector< caf::SRTrainingData > > trainingdata
Definition: SRProxy.h:1512
std::vector< SRTrainingData > trainingdata
Collection of labels associated with the Pixel maps.
bool cvnmapsfilled
Bool to show if CVN Maps are filled for this slice.
caf::Proxy< caf::SRCVNFeatures > cvnfeatures
Definition: SRProxy.h:1508
SRCVNFeatures cvnfeatures
Features extracted by the convolutional part of the CVN ID.
std::vector< SRSliceMap > slicemaps
Full detector sized maps used for CVN training or other slice hit level studies.
caf::Proxy< std::vector< caf::SRSliceMap > > slicemaps
Definition: SRProxy.h:1511
void CheckEquals(const caf::SRCVNFeatures &sr) const
Definition: SRProxy.cxx:2867
caf::Proxy< std::vector< caf::SRPixelObjMap > > cvnmaps
Definition: SRProxy.h:1509
std::vector< SRPixelObjMap > cvnmaps
Pixel maps used in CVN evaluation and training 80 cells x 100 planes in each view.
void CheckEquals(const T &x) const
caf::Proxy< bool > cvnmapsfilled
Definition: SRProxy.h:1510

Definition at line 2998 of file SRProxy.cxx.

References caf::SRTrainingBranch::cvnfeatures, caf::SRTrainingBranch::cvnmaps, caf::SRTrainingBranch::cvnmapsfilled, caf::SRTrainingBranch::slicemaps, and caf::SRTrainingBranch::trainingdata.

2999 {
3000  cvnfeatures = sr.cvnfeatures;
3001  cvnmaps = sr.cvnmaps;
3002  cvnmapsfilled = sr.cvnmapsfilled;
3003  slicemaps = sr.slicemaps;
3004  trainingdata = sr.trainingdata;
3005  return *this;
3006 }
caf::Proxy< std::vector< caf::SRTrainingData > > trainingdata
Definition: SRProxy.h:1512
caf::StandardRecord * sr
caf::Proxy< caf::SRCVNFeatures > cvnfeatures
Definition: SRProxy.h:1508
caf::Proxy< std::vector< caf::SRSliceMap > > slicemaps
Definition: SRProxy.h:1511
caf::Proxy< std::vector< caf::SRPixelObjMap > > cvnmaps
Definition: SRProxy.h:1509
caf::Proxy< bool > cvnmapsfilled
Definition: SRProxy.h:1510

Member Data Documentation

Definition at line 1508 of file SRProxy.h.

Definition at line 1509 of file SRProxy.h.

caf::Proxy<bool> caf::Proxy< caf::SRTrainingBranch >::cvnmapsfilled

Definition at line 1510 of file SRProxy.h.

Definition at line 1511 of file SRProxy.h.

Definition at line 1512 of file SRProxy.h.


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