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

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

Public Attributes

caf::Proxy< float > calE
 
caf::Proxy< caf::SRCVNResultcvnloosepreselptp
 
caf::Proxy< caf::SRCVNResultcvnnocosmics
 
caf::Proxy< caf::SRCVNResultcvnoldpresel
 
caf::Proxy< float > gap
 
caf::Proxy< bool > isDiF
 
caf::Proxy< bool > isShwDiF
 
caf::Proxy< caf::SRShowerLIDlid
 
caf::Proxy< short unsigned intmaxplane
 
caf::Proxy< short unsigned intmaxplanecont
 
caf::Proxy< short unsigned intmaxplanegap
 
caf::Proxy< short unsigned intminplane
 
caf::Proxy< short unsigned intnhit
 
caf::Proxy< short unsigned intnhitx
 
caf::Proxy< short unsigned intnhity
 
caf::Proxy< short unsigned intnplane
 
caf::Proxy< short unsigned intnplanex
 
caf::Proxy< short unsigned intnplaney
 
caf::Proxy< caf::SRParticleTruthtruth
 
caf::Proxy< caf::SRParticleTruthtruthXView
 
caf::Proxy< caf::SRParticleTruthtruthYView
 
caf::Proxy< caf::View_tview
 

Detailed Description

template<>
class caf::Proxy< caf::SRMRProperties >

Proxy for caf::SRMRProperties.

Definition at line 1623 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3263 of file SRProxy.cxx.

3263  :
3264  calE(d, tr, Join(name, "calE"), base, offset),
3265  cvnloosepreselptp(d, tr, Join(name, "cvnloosepreselptp"), base, offset),
3266  cvnnocosmics(d, tr, Join(name, "cvnnocosmics"), base, offset),
3267  cvnoldpresel(d, tr, Join(name, "cvnoldpresel"), base, offset),
3268  gap(d, tr, Join(name, "gap"), base, offset),
3269  isDiF(d, tr, Join(name, "isDiF"), base, offset),
3270  isShwDiF(d, tr, Join(name, "isShwDiF"), base, offset),
3271  lid(d, tr, Join(name, "lid"), base, offset),
3272  maxplane(d, tr, Join(name, "maxplane"), base, offset),
3273  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3274  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3275  minplane(d, tr, Join(name, "minplane"), base, offset),
3276  nhit(d, tr, Join(name, "nhit"), base, offset),
3277  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3278  nhity(d, tr, Join(name, "nhity"), base, offset),
3279  nplane(d, tr, Join(name, "nplane"), base, offset),
3280  nplanex(d, tr, Join(name, "nplanex"), base, offset),
3281  nplaney(d, tr, Join(name, "nplaney"), base, offset),
3282  truth(d, tr, Join(name, "truth"), base, offset),
3283  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3284  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3285  view(d, tr, Join(name, "view"), base, offset)
3286 {
3287 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRParticleTruth > truthYView
Definition: SRProxy.h:1653
caf::Proxy< caf::SRShowerLID > lid
Definition: SRProxy.h:1640
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1649
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:1651
caf::Proxy< short unsigned int > maxplane
Definition: SRProxy.h:1641
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< caf::SRCVNResult > cvnnocosmics
Definition: SRProxy.h:1635
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1646
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > calE
Definition: SRProxy.h:1633
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1642
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1648
caf::Proxy< bool > isShwDiF
Definition: SRProxy.h:1639
caf::Proxy< caf::SRCVNResult > cvnoldpresel
Definition: SRProxy.h:1636
caf::Proxy< short unsigned int > minplane
Definition: SRProxy.h:1644
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1647
Float_t d
Definition: plot.C:236
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1650
caf::Proxy< float > gap
Definition: SRProxy.h:1637
caf::Proxy< short unsigned int > nhit
Definition: SRProxy.h:1645
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1654
caf::Proxy< caf::SRParticleTruth > truthXView
Definition: SRProxy.h:1652
caf::Proxy< short unsigned int > maxplanegap
Definition: SRProxy.h:1643
caf::Proxy< bool > isDiF
Definition: SRProxy.h:1638
caf::Proxy< caf::SRCVNResult > cvnloosepreselptp
Definition: SRProxy.h:1634

Member Function Documentation

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

Definition at line 3316 of file SRProxy.cxx.

References caf::SRMRProperties::calE, caf::SRMRProperties::cvnloosepreselptp, caf::SRMRProperties::cvnnocosmics, caf::SRMRProperties::cvnoldpresel, caf::SRMRProperties::gap, caf::SRMRProperties::isDiF, caf::SRMRProperties::isShwDiF, caf::SRMRProperties::lid, caf::SRMRProperties::maxplane, caf::SRMRProperties::maxplanecont, caf::SRMRProperties::maxplanegap, caf::SRMRProperties::minplane, demo1::nhit, caf::SRMRProperties::nhit, caf::SRMRProperties::nhitx, caf::SRMRProperties::nhity, caf::SRMRProperties::nplane, caf::SRMRProperties::nplanex, caf::SRMRProperties::nplaney, caf::SRMRProperties::truth, caf::SRMRProperties::truthXView, caf::SRMRProperties::truthYView, caf::SRMRProperties::view, and POTSpillRate::view.

3317 {
3318  calE.CheckEquals(sr.calE);
3322  gap.CheckEquals(sr.gap);
3323  isDiF.CheckEquals(sr.isDiF);
3325  lid.CheckEquals(sr.lid);
3330  nhit.CheckEquals(sr.nhit);
3331  nhitx.CheckEquals(sr.nhitx);
3332  nhity.CheckEquals(sr.nhity);
3336  truth.CheckEquals(sr.truth);
3339  view.CheckEquals(sr.view);
3340 }
unsigned short nhit
number of hits
unsigned short nhitx
number of hits in x-view
unsigned short nplaney
number of planes spanned in y view
caf::Proxy< caf::SRParticleTruth > truthYView
Definition: SRProxy.h:1653
SRParticleTruth truthXView
Truth information for the prong.
caf::Proxy< caf::SRShowerLID > lid
Definition: SRProxy.h:1640
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1649
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:1651
void CheckEquals(const caf::SRCVNResult &sr) const
Definition: SRProxy.cxx:1767
caf::Proxy< short unsigned int > maxplane
Definition: SRProxy.h:1641
unsigned short maxplanegap
maximum number of gapped planes in prong
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
void CheckEquals(const caf::SRParticleTruth &sr) const
Definition: SRProxy.cxx:1222
caf::Proxy< caf::SRCVNResult > cvnnocosmics
Definition: SRProxy.h:1635
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1646
unsigned short minplane
minimum plane from the cluster
SRParticleTruth truthYView
Truth information for the prong.
SRCVNResult cvnnocosmics
Output from CVN - No cosmics ued in training (many-class PID)
caf::Proxy< float > calE
Definition: SRProxy.h:1633
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1642
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1648
caf::Proxy< bool > isShwDiF
Definition: SRProxy.h:1639
unsigned short maxplane
maximum plane from the cluster
caf::Proxy< caf::SRCVNResult > cvnoldpresel
Definition: SRProxy.h:1636
caf::Proxy< short unsigned int > minplane
Definition: SRProxy.h:1644
unsigned short maxplanecont
maximum number of contiguous planes in prong
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1647
unsigned short nplanex
number of planes spanned in x view
SRParticleTruth truth
Truth information for the prong.
SRCVNResult cvnoldpresel
Output from CVN - Preselection used in Prod3/4 (many-class PID)
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1650
caf::Proxy< float > gap
Definition: SRProxy.h:1637
unsigned short nhity
number of hits in y-view
unsigned short nplane
number of planes spanned
caf::Proxy< short unsigned int > nhit
Definition: SRProxy.h:1645
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1654
SRShowerLID lid
LID PID information for the MR Shower.
caf::Proxy< caf::SRParticleTruth > truthXView
Definition: SRProxy.h:1652
float calE
energy based on summed calibrated deposited charge [GeV]
caf::Proxy< short unsigned int > maxplanegap
Definition: SRProxy.h:1643
caf::Proxy< bool > isDiF
Definition: SRProxy.h:1638
caf::Proxy< caf::SRCVNResult > cvnloosepreselptp
Definition: SRProxy.h:1634
void CheckEquals(const caf::SRShowerLID &sr) const
Definition: SRProxy.cxx:3254
float gap
gap from shower start to ElasticArms vertex [cm]
void CheckEquals(const T &x) const
SRCVNResult cvnloosepreselptp
Output from CVN - Loose Presel plus PtP cut (many-class PID)

Definition at line 3289 of file SRProxy.cxx.

References caf::SRMRProperties::calE, caf::SRMRProperties::cvnloosepreselptp, caf::SRMRProperties::cvnnocosmics, caf::SRMRProperties::cvnoldpresel, caf::SRMRProperties::gap, caf::SRMRProperties::isDiF, caf::SRMRProperties::isShwDiF, caf::SRMRProperties::lid, caf::SRMRProperties::maxplane, caf::SRMRProperties::maxplanecont, caf::SRMRProperties::maxplanegap, caf::SRMRProperties::minplane, demo1::nhit, caf::SRMRProperties::nhit, caf::SRMRProperties::nhitx, caf::SRMRProperties::nhity, caf::SRMRProperties::nplane, caf::SRMRProperties::nplanex, caf::SRMRProperties::nplaney, caf::SRMRProperties::truth, caf::SRMRProperties::truthXView, caf::SRMRProperties::truthYView, caf::SRMRProperties::view, and POTSpillRate::view.

3290 {
3291  calE = sr.calE;
3292  cvnloosepreselptp = sr.cvnloosepreselptp;
3293  cvnnocosmics = sr.cvnnocosmics;
3294  cvnoldpresel = sr.cvnoldpresel;
3295  gap = sr.gap;
3296  isDiF = sr.isDiF;
3297  isShwDiF = sr.isShwDiF;
3298  lid = sr.lid;
3299  maxplane = sr.maxplane;
3300  maxplanecont = sr.maxplanecont;
3301  maxplanegap = sr.maxplanegap;
3302  minplane = sr.minplane;
3303  nhit = sr.nhit;
3304  nhitx = sr.nhitx;
3305  nhity = sr.nhity;
3306  nplane = sr.nplane;
3307  nplanex = sr.nplanex;
3308  nplaney = sr.nplaney;
3309  truth = sr.truth;
3310  truthXView = sr.truthXView;
3311  truthYView = sr.truthYView;
3312  view = sr.view;
3313  return *this;
3314 }
caf::Proxy< caf::SRParticleTruth > truthYView
Definition: SRProxy.h:1653
caf::Proxy< caf::SRShowerLID > lid
Definition: SRProxy.h:1640
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1649
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:1651
caf::Proxy< short unsigned int > maxplane
Definition: SRProxy.h:1641
caf::Proxy< caf::SRCVNResult > cvnnocosmics
Definition: SRProxy.h:1635
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1646
caf::Proxy< float > calE
Definition: SRProxy.h:1633
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1642
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1648
caf::Proxy< bool > isShwDiF
Definition: SRProxy.h:1639
caf::Proxy< caf::SRCVNResult > cvnoldpresel
Definition: SRProxy.h:1636
caf::Proxy< short unsigned int > minplane
Definition: SRProxy.h:1644
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1647
caf::StandardRecord * sr
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1650
caf::Proxy< float > gap
Definition: SRProxy.h:1637
caf::Proxy< short unsigned int > nhit
Definition: SRProxy.h:1645
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1654
caf::Proxy< caf::SRParticleTruth > truthXView
Definition: SRProxy.h:1652
caf::Proxy< short unsigned int > maxplanegap
Definition: SRProxy.h:1643
caf::Proxy< bool > isDiF
Definition: SRProxy.h:1638
caf::Proxy< caf::SRCVNResult > cvnloosepreselptp
Definition: SRProxy.h:1634

Member Data Documentation

Definition at line 1633 of file SRProxy.h.

Definition at line 1634 of file SRProxy.h.

Definition at line 1635 of file SRProxy.h.

Definition at line 1636 of file SRProxy.h.

Definition at line 1637 of file SRProxy.h.

Definition at line 1638 of file SRProxy.h.

Definition at line 1639 of file SRProxy.h.

Definition at line 1640 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::maxplane

Definition at line 1641 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::maxplanecont

Definition at line 1642 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::maxplanegap

Definition at line 1643 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::minplane

Definition at line 1644 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nhit

Definition at line 1645 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nhitx

Definition at line 1646 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nhity

Definition at line 1647 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nplane

Definition at line 1648 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nplanex

Definition at line 1649 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRMRProperties >::nplaney

Definition at line 1650 of file SRProxy.h.

Definition at line 1651 of file SRProxy.h.

Definition at line 1652 of file SRProxy.h.

Definition at line 1653 of file SRProxy.h.

Definition at line 1654 of file SRProxy.h.


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