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

Proxy for caf::SRMRCCParent. More...

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

Public Attributes

caf::Proxy< intcontplanes
 
caf::Proxy< float > cvnm
 
caf::Proxy< float > eff
 
caf::Proxy< intfirstplane
 
caf::Proxy< float > hadEinmucat
 
caf::Proxy< intlastplane
 
caf::Proxy< float > muE
 
caf::Proxy< intmuonbkcell
 
caf::Proxy< intmuonfwdcell
 
caf::Proxy< caf::SRVector3Dmuonstart
 
caf::Proxy< caf::SRVector3Dmuonstop
 
caf::Proxy< float > muonyattrans
 
caf::Proxy< intncellsfromedge
 
caf::Proxy< intnhit
 
caf::Proxy< float > numuE
 
caf::Proxy< float > pur
 
caf::Proxy< float > remid
 
caf::Proxy< intslcidx
 

Detailed Description

template<>
class caf::Proxy< caf::SRMRCCParent >

Proxy for caf::SRMRCCParent.

Definition at line 725 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1372 of file SRProxy.cxx.

1372  :
1373  contplanes(d, tr, Join(name, "contplanes"), base, offset),
1374  cvnm(d, tr, Join(name, "cvnm"), base, offset),
1375  eff(d, tr, Join(name, "eff"), base, offset),
1376  firstplane(d, tr, Join(name, "firstplane"), base, offset),
1377  hadEinmucat(d, tr, Join(name, "hadEinmucat"), base, offset),
1378  lastplane(d, tr, Join(name, "lastplane"), base, offset),
1379  muE(d, tr, Join(name, "muE"), base, offset),
1380  muonbkcell(d, tr, Join(name, "muonbkcell"), base, offset),
1381  muonfwdcell(d, tr, Join(name, "muonfwdcell"), base, offset),
1382  muonstart(d, tr, Join(name, "muonstart"), base, offset),
1383  muonstop(d, tr, Join(name, "muonstop"), base, offset),
1384  muonyattrans(d, tr, Join(name, "muonyattrans"), base, offset),
1385  ncellsfromedge(d, tr, Join(name, "ncellsfromedge"), base, offset),
1386  nhit(d, tr, Join(name, "nhit"), base, offset),
1387  numuE(d, tr, Join(name, "numuE"), base, offset),
1388  pur(d, tr, Join(name, "pur"), base, offset),
1389  remid(d, tr, Join(name, "remid"), base, offset),
1390  slcidx(d, tr, Join(name, "slcidx"), base, offset)
1391 {
1392 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > hadEinmucat
Definition: SRProxy.h:739
caf::Proxy< int > muonfwdcell
Definition: SRProxy.h:743
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< caf::SRVector3D > muonstart
Definition: SRProxy.h:744
caf::Proxy< int > lastplane
Definition: SRProxy.h:740
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< int > slcidx
Definition: SRProxy.h:752
caf::Proxy< int > contplanes
Definition: SRProxy.h:735
caf::Proxy< int > ncellsfromedge
Definition: SRProxy.h:747
caf::Proxy< float > muonyattrans
Definition: SRProxy.h:746
Float_t d
Definition: plot.C:236
caf::Proxy< int > nhit
Definition: SRProxy.h:748
caf::Proxy< float > eff
Definition: SRProxy.h:737
caf::Proxy< float > cvnm
Definition: SRProxy.h:736
caf::Proxy< float > pur
Definition: SRProxy.h:750
caf::Proxy< caf::SRVector3D > muonstop
Definition: SRProxy.h:745
caf::Proxy< float > numuE
Definition: SRProxy.h:749
caf::Proxy< int > firstplane
Definition: SRProxy.h:738
caf::Proxy< int > muonbkcell
Definition: SRProxy.h:742
caf::Proxy< float > muE
Definition: SRProxy.h:741
caf::Proxy< float > remid
Definition: SRProxy.h:751

Member Function Documentation

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

Definition at line 1417 of file SRProxy.cxx.

References caf::SRMRCCParent::contplanes, caf::SRMRCCParent::cvnm, nd_projection_maker::eff, caf::SRMRCCParent::eff, caf::SRMRCCParent::firstplane, caf::SRMRCCParent::hadEinmucat, caf::SRMRCCParent::lastplane, caf::SRMRCCParent::muE, caf::SRMRCCParent::muonbkcell, caf::SRMRCCParent::muonfwdcell, caf::SRMRCCParent::muonstart, caf::SRMRCCParent::muonstop, caf::SRMRCCParent::muonyattrans, caf::SRMRCCParent::ncellsfromedge, demo1::nhit, caf::SRMRCCParent::nhit, caf::SRMRCCParent::numuE, caf::SRMRCCParent::pur, PandAna.Demos.pi0_spectra::pur, caf::SRMRCCParent::remid, and caf::SRMRCCParent::slcidx.

1418 {
1420  cvnm.CheckEquals(sr.cvnm);
1421  eff.CheckEquals(sr.eff);
1425  muE.CheckEquals(sr.muE);
1432  nhit.CheckEquals(sr.nhit);
1433  numuE.CheckEquals(sr.numuE);
1434  pur.CheckEquals(sr.pur);
1435  remid.CheckEquals(sr.remid);
1437 }
float remid
ReMId value of the parent slice.
Definition: SRMRCCParent.h:44
caf::Proxy< float > hadEinmucat
Definition: SRProxy.h:739
int ncellsfromedge
number of cells from detector edge
Definition: SRMRCCParent.h:37
float hadEinmucat
hadronic energy in muon catcher and transition planes
Definition: SRMRCCParent.h:64
caf::Proxy< int > muonfwdcell
Definition: SRProxy.h:743
SRVector3D muonstart
muon track start
Definition: SRMRCCParent.h:49
float pur
Purity with which this event matched to the parent slice.
Definition: SRMRCCParent.h:30
int firstplane
first plane in slice
Definition: SRMRCCParent.h:39
caf::Proxy< caf::SRVector3D > muonstart
Definition: SRProxy.h:744
caf::Proxy< int > lastplane
Definition: SRProxy.h:740
float muonyattrans
muon y position at transition plane
Definition: SRMRCCParent.h:53
float numuE
energy of parent slice
Definition: SRMRCCParent.h:60
caf::Proxy< int > slcidx
Definition: SRProxy.h:752
caf::Proxy< int > contplanes
Definition: SRProxy.h:735
caf::Proxy< int > ncellsfromedge
Definition: SRProxy.h:747
caf::Proxy< float > muonyattrans
Definition: SRProxy.h:746
float muE
energy of muon
Definition: SRMRCCParent.h:62
float cvnm
CVNm value of the parent slice.
Definition: SRMRCCParent.h:46
SRVector3D muonstop
muon track stop
Definition: SRMRCCParent.h:51
int lastplane
last plane in slice
Definition: SRMRCCParent.h:41
caf::Proxy< int > nhit
Definition: SRProxy.h:748
float eff
Efficiency with which this event matched to the parent slice.
Definition: SRMRCCParent.h:28
caf::Proxy< float > eff
Definition: SRProxy.h:737
int contplanes
number of contiguous planes
Definition: SRMRCCParent.h:35
caf::Proxy< float > cvnm
Definition: SRProxy.h:736
int muonfwdcell
forward projected distance of muon end from detector edge in cells
Definition: SRMRCCParent.h:55
caf::Proxy< float > pur
Definition: SRProxy.h:750
int nhit
number of hits in parent slice
Definition: SRMRCCParent.h:33
caf::Proxy< caf::SRVector3D > muonstop
Definition: SRProxy.h:745
caf::Proxy< float > numuE
Definition: SRProxy.h:749
A PID for muons.
Definition: FillPIDs.h:10
caf::Proxy< int > firstplane
Definition: SRProxy.h:738
int muonbkcell
backward projected distance of muon start from detector edge in cells
Definition: SRMRCCParent.h:57
int slcidx
Index of the parent slice.
Definition: SRMRCCParent.h:25
caf::Proxy< int > muonbkcell
Definition: SRProxy.h:742
void CheckEquals(const T &x) const
caf::Proxy< float > muE
Definition: SRProxy.h:741
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140

Definition at line 1394 of file SRProxy.cxx.

References caf::SRMRCCParent::contplanes, caf::SRMRCCParent::cvnm, nd_projection_maker::eff, caf::SRMRCCParent::eff, caf::SRMRCCParent::firstplane, caf::SRMRCCParent::hadEinmucat, caf::SRMRCCParent::lastplane, caf::SRMRCCParent::muE, caf::SRMRCCParent::muonbkcell, caf::SRMRCCParent::muonfwdcell, caf::SRMRCCParent::muonstart, caf::SRMRCCParent::muonstop, caf::SRMRCCParent::muonyattrans, caf::SRMRCCParent::ncellsfromedge, demo1::nhit, caf::SRMRCCParent::nhit, caf::SRMRCCParent::numuE, caf::SRMRCCParent::pur, PandAna.Demos.pi0_spectra::pur, caf::SRMRCCParent::remid, and caf::SRMRCCParent::slcidx.

1395 {
1396  contplanes = sr.contplanes;
1397  cvnm = sr.cvnm;
1398  eff = sr.eff;
1399  firstplane = sr.firstplane;
1400  hadEinmucat = sr.hadEinmucat;
1401  lastplane = sr.lastplane;
1402  muE = sr.muE;
1403  muonbkcell = sr.muonbkcell;
1404  muonfwdcell = sr.muonfwdcell;
1405  muonstart = sr.muonstart;
1406  muonstop = sr.muonstop;
1407  muonyattrans = sr.muonyattrans;
1408  ncellsfromedge = sr.ncellsfromedge;
1409  nhit = sr.nhit;
1410  numuE = sr.numuE;
1411  pur = sr.pur;
1412  remid = sr.remid;
1413  slcidx = sr.slcidx;
1414  return *this;
1415 }
caf::Proxy< float > hadEinmucat
Definition: SRProxy.h:739
caf::Proxy< int > muonfwdcell
Definition: SRProxy.h:743
caf::Proxy< caf::SRVector3D > muonstart
Definition: SRProxy.h:744
caf::Proxy< int > lastplane
Definition: SRProxy.h:740
caf::Proxy< int > slcidx
Definition: SRProxy.h:752
caf::Proxy< int > contplanes
Definition: SRProxy.h:735
caf::Proxy< int > ncellsfromedge
Definition: SRProxy.h:747
caf::Proxy< float > muonyattrans
Definition: SRProxy.h:746
caf::StandardRecord * sr
caf::Proxy< int > nhit
Definition: SRProxy.h:748
caf::Proxy< float > eff
Definition: SRProxy.h:737
caf::Proxy< float > cvnm
Definition: SRProxy.h:736
caf::Proxy< float > pur
Definition: SRProxy.h:750
caf::Proxy< caf::SRVector3D > muonstop
Definition: SRProxy.h:745
caf::Proxy< float > numuE
Definition: SRProxy.h:749
A PID for muons.
Definition: FillPIDs.h:10
caf::Proxy< int > firstplane
Definition: SRProxy.h:738
caf::Proxy< int > muonbkcell
Definition: SRProxy.h:742
caf::Proxy< float > muE
Definition: SRProxy.h:741

Member Data Documentation

Definition at line 735 of file SRProxy.h.

Definition at line 736 of file SRProxy.h.

Definition at line 737 of file SRProxy.h.

Definition at line 738 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRMRCCParent >::hadEinmucat

Definition at line 739 of file SRProxy.h.

Definition at line 740 of file SRProxy.h.

Definition at line 741 of file SRProxy.h.

Definition at line 742 of file SRProxy.h.

Definition at line 743 of file SRProxy.h.

Definition at line 744 of file SRProxy.h.

Definition at line 745 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRMRCCParent >::muonyattrans

Definition at line 746 of file SRProxy.h.

Definition at line 747 of file SRProxy.h.

Definition at line 748 of file SRProxy.h.

Definition at line 749 of file SRProxy.h.

Definition at line 750 of file SRProxy.h.

Definition at line 751 of file SRProxy.h.

Definition at line 752 of file SRProxy.h.


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