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

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

Public Attributes

caf::Proxy< bool > IsValid
 
caf::Proxy< caf::SRFuzzyKfuzzyk
 
caf::Proxy< float > prong2dvertexenergyvolume10
 
caf::Proxy< float > prong2dvertexenergyvolume20
 
caf::Proxy< float > prong2dvertexenergyvolume30
 
caf::Proxy< float > prong2dvertexenergyvolume40
 
caf::Proxy< float > prong3dvertexenergyvolume10
 
caf::Proxy< float > prong3dvertexenergyvolume20
 
caf::Proxy< float > prong3dvertexenergyvolume30
 
caf::Proxy< float > prong3dvertexenergyvolume40
 
caf::Proxy< float > slicevertexenergyvolume10
 
caf::Proxy< float > slicevertexenergyvolume20
 
caf::Proxy< float > slicevertexenergyvolume30
 
caf::Proxy< float > slicevertexenergyvolume40
 
caf::Proxy< float > time
 
caf::Proxy< caf::SRVector3Dvtx
 

Detailed Description

template<>
class caf::Proxy< caf::SRElastic >

Proxy for caf::SRElastic.

Definition at line 2048 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 4131 of file SRProxy.cxx.

4131  :
4132  IsValid(d, tr, Join(name, "IsValid"), base, offset),
4133  fuzzyk(d, tr, Join(name, "fuzzyk"), base, offset),
4134  prong2dvertexenergyvolume10(d, tr, Join(name, "prong2dvertexenergyvolume10"), base, offset),
4135  prong2dvertexenergyvolume20(d, tr, Join(name, "prong2dvertexenergyvolume20"), base, offset),
4136  prong2dvertexenergyvolume30(d, tr, Join(name, "prong2dvertexenergyvolume30"), base, offset),
4137  prong2dvertexenergyvolume40(d, tr, Join(name, "prong2dvertexenergyvolume40"), base, offset),
4138  prong3dvertexenergyvolume10(d, tr, Join(name, "prong3dvertexenergyvolume10"), base, offset),
4139  prong3dvertexenergyvolume20(d, tr, Join(name, "prong3dvertexenergyvolume20"), base, offset),
4140  prong3dvertexenergyvolume30(d, tr, Join(name, "prong3dvertexenergyvolume30"), base, offset),
4141  prong3dvertexenergyvolume40(d, tr, Join(name, "prong3dvertexenergyvolume40"), base, offset),
4142  slicevertexenergyvolume10(d, tr, Join(name, "slicevertexenergyvolume10"), base, offset),
4143  slicevertexenergyvolume20(d, tr, Join(name, "slicevertexenergyvolume20"), base, offset),
4144  slicevertexenergyvolume30(d, tr, Join(name, "slicevertexenergyvolume30"), base, offset),
4145  slicevertexenergyvolume40(d, tr, Join(name, "slicevertexenergyvolume40"), base, offset),
4146  time(d, tr, Join(name, "time"), base, offset),
4147  vtx(d, tr, Join(name, "vtx"), base, offset)
4148 {
4149 }
caf::Proxy< float > prong2dvertexenergyvolume30
Definition: SRProxy.h:2062
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > prong3dvertexenergyvolume30
Definition: SRProxy.h:2066
caf::Proxy< caf::SRFuzzyK > fuzzyk
Definition: SRProxy.h:2059
caf::Proxy< float > prong3dvertexenergyvolume40
Definition: SRProxy.h:2067
caf::Proxy< float > slicevertexenergyvolume30
Definition: SRProxy.h:2070
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< float > slicevertexenergyvolume10
Definition: SRProxy.h:2068
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > prong3dvertexenergyvolume20
Definition: SRProxy.h:2065
caf::Proxy< float > slicevertexenergyvolume20
Definition: SRProxy.h:2069
Float_t d
Definition: plot.C:236
caf::Proxy< float > slicevertexenergyvolume40
Definition: SRProxy.h:2071
caf::Proxy< bool > IsValid
Definition: SRProxy.h:2058
caf::Proxy< float > time
Definition: SRProxy.h:2072
caf::Proxy< float > prong2dvertexenergyvolume10
Definition: SRProxy.h:2060
caf::Proxy< float > prong2dvertexenergyvolume20
Definition: SRProxy.h:2061
caf::Proxy< caf::SRVector3D > vtx
Definition: SRProxy.h:2073
caf::Proxy< float > prong2dvertexenergyvolume40
Definition: SRProxy.h:2063
caf::Proxy< float > prong3dvertexenergyvolume10
Definition: SRProxy.h:2064
caf::Proxy< caf::SRElastic >::Proxy ( const Proxy< caf::SRElastic > &  )
delete
caf::Proxy< caf::SRElastic >::Proxy ( const Proxy< caf::SRElastic > &&  )
delete

Member Function Documentation

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

Definition at line 4172 of file SRProxy.cxx.

References caf::SRElastic::fuzzyk, caf::SRElastic::IsValid, caf::SRElastic::prong2dvertexenergyvolume10, caf::SRElastic::prong2dvertexenergyvolume20, caf::SRElastic::prong2dvertexenergyvolume30, caf::SRElastic::prong2dvertexenergyvolume40, caf::SRElastic::prong3dvertexenergyvolume10, caf::SRElastic::prong3dvertexenergyvolume20, caf::SRElastic::prong3dvertexenergyvolume30, caf::SRElastic::prong3dvertexenergyvolume40, caf::SRElastic::slicevertexenergyvolume10, caf::SRElastic::slicevertexenergyvolume20, caf::SRElastic::slicevertexenergyvolume30, caf::SRElastic::slicevertexenergyvolume40, caf::SRElastic::time, and caf::SRElastic::vtx.

4173 {
4188  time.CheckEquals(sr.time);
4189  vtx.CheckEquals(sr.vtx);
4190 }
caf::Proxy< float > prong2dvertexenergyvolume30
Definition: SRProxy.h:2062
float time
Time [ns].
Definition: SRElastic.h:25
caf::Proxy< float > prong3dvertexenergyvolume30
Definition: SRProxy.h:2066
caf::Proxy< caf::SRFuzzyK > fuzzyk
Definition: SRProxy.h:2059
caf::Proxy< float > prong3dvertexenergyvolume40
Definition: SRProxy.h:2067
caf::Proxy< float > slicevertexenergyvolume30
Definition: SRProxy.h:2070
float prong2dvertexenergyvolume20
Vertex Energy calculated by all the hits belong to 2D prong using volume2 20cm.
Definition: SRElastic.h:37
float prong2dvertexenergyvolume30
Vertex Energy calculated by all the hits belong to 2D prong using volume3 30cm.
Definition: SRElastic.h:38
caf::Proxy< float > slicevertexenergyvolume10
Definition: SRProxy.h:2068
caf::Proxy< float > prong3dvertexenergyvolume20
Definition: SRProxy.h:2065
caf::Proxy< float > slicevertexenergyvolume20
Definition: SRProxy.h:2069
float prong3dvertexenergyvolume40
Vertex Energy calculated by all the hits belong to 3D prong using volume4 40cm.
Definition: SRElastic.h:34
float slicevertexenergyvolume30
Vertex Energy calculated by all the slice hits using volume3 30cm.
Definition: SRElastic.h:28
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRElastic.h:40
float prong2dvertexenergyvolume40
Vertex Energy calculated by all the hits belong to 2D prong using volume4 40cm.
Definition: SRElastic.h:39
caf::Proxy< float > slicevertexenergyvolume40
Definition: SRProxy.h:2071
float prong3dvertexenergyvolume10
Vertex Energy calculated by all the hits belong to 3D prong using volume1 10cm.
Definition: SRElastic.h:31
void CheckEquals(const caf::SRFuzzyK &sr) const
Definition: SRProxy.cxx:4119
caf::Proxy< bool > IsValid
Definition: SRProxy.h:2058
float slicevertexenergyvolume10
Vertex Energy calculated by all the slice hits using volume1 10cm.
Definition: SRElastic.h:26
caf::Proxy< float > prong2dvertexenergyvolume10
Definition: SRProxy.h:2060
caf::Proxy< float > prong2dvertexenergyvolume20
Definition: SRProxy.h:2061
caf::Proxy< caf::SRVector3D > vtx
Definition: SRProxy.h:2073
float prong3dvertexenergyvolume30
Vertex Energy calculated by all the hits belong to 3D prong using volume3 30cm.
Definition: SRElastic.h:33
SRFuzzyK fuzzyk
Primary 3D prong object.
Definition: SRElastic.h:44
caf::Proxy< float > prong2dvertexenergyvolume40
Definition: SRProxy.h:2063
float prong2dvertexenergyvolume10
Vertex Energy calculated by all the hits belong to 2D prong using volume1 10cm.
Definition: SRElastic.h:36
float slicevertexenergyvolume40
Vertex Energy calculated by all the slice hits using volume4 40cm.
Definition: SRElastic.h:29
void CheckEquals(const T &x) const
float prong3dvertexenergyvolume20
Vertex Energy calculated by all the hits belong to 3D prong using volume2 20cm.
Definition: SRElastic.h:32
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
float slicevertexenergyvolume20
Vertex Energy calculated by all the slice hits using volume2 20cm.
Definition: SRElastic.h:27
caf::Proxy< float > prong3dvertexenergyvolume10
Definition: SRProxy.h:2064

Definition at line 4151 of file SRProxy.cxx.

References caf::SRElastic::fuzzyk, caf::SRElastic::IsValid, caf::SRElastic::prong2dvertexenergyvolume10, caf::SRElastic::prong2dvertexenergyvolume20, caf::SRElastic::prong2dvertexenergyvolume30, caf::SRElastic::prong2dvertexenergyvolume40, caf::SRElastic::prong3dvertexenergyvolume10, caf::SRElastic::prong3dvertexenergyvolume20, caf::SRElastic::prong3dvertexenergyvolume30, caf::SRElastic::prong3dvertexenergyvolume40, caf::SRElastic::slicevertexenergyvolume10, caf::SRElastic::slicevertexenergyvolume20, caf::SRElastic::slicevertexenergyvolume30, caf::SRElastic::slicevertexenergyvolume40, caf::SRElastic::time, and caf::SRElastic::vtx.

4152 {
4153  IsValid = sr.IsValid;
4154  fuzzyk = sr.fuzzyk;
4155  prong2dvertexenergyvolume10 = sr.prong2dvertexenergyvolume10;
4156  prong2dvertexenergyvolume20 = sr.prong2dvertexenergyvolume20;
4157  prong2dvertexenergyvolume30 = sr.prong2dvertexenergyvolume30;
4158  prong2dvertexenergyvolume40 = sr.prong2dvertexenergyvolume40;
4159  prong3dvertexenergyvolume10 = sr.prong3dvertexenergyvolume10;
4160  prong3dvertexenergyvolume20 = sr.prong3dvertexenergyvolume20;
4161  prong3dvertexenergyvolume30 = sr.prong3dvertexenergyvolume30;
4162  prong3dvertexenergyvolume40 = sr.prong3dvertexenergyvolume40;
4163  slicevertexenergyvolume10 = sr.slicevertexenergyvolume10;
4164  slicevertexenergyvolume20 = sr.slicevertexenergyvolume20;
4165  slicevertexenergyvolume30 = sr.slicevertexenergyvolume30;
4166  slicevertexenergyvolume40 = sr.slicevertexenergyvolume40;
4167  time = sr.time;
4168  vtx = sr.vtx;
4169  return *this;
4170 }
caf::Proxy< float > prong2dvertexenergyvolume30
Definition: SRProxy.h:2062
caf::Proxy< float > prong3dvertexenergyvolume30
Definition: SRProxy.h:2066
caf::Proxy< caf::SRFuzzyK > fuzzyk
Definition: SRProxy.h:2059
caf::Proxy< float > prong3dvertexenergyvolume40
Definition: SRProxy.h:2067
caf::Proxy< float > slicevertexenergyvolume30
Definition: SRProxy.h:2070
caf::Proxy< float > slicevertexenergyvolume10
Definition: SRProxy.h:2068
caf::Proxy< float > prong3dvertexenergyvolume20
Definition: SRProxy.h:2065
caf::Proxy< float > slicevertexenergyvolume20
Definition: SRProxy.h:2069
caf::StandardRecord * sr
caf::Proxy< float > slicevertexenergyvolume40
Definition: SRProxy.h:2071
caf::Proxy< bool > IsValid
Definition: SRProxy.h:2058
caf::Proxy< float > prong2dvertexenergyvolume10
Definition: SRProxy.h:2060
caf::Proxy< float > prong2dvertexenergyvolume20
Definition: SRProxy.h:2061
caf::Proxy< caf::SRVector3D > vtx
Definition: SRProxy.h:2073
caf::Proxy< float > prong2dvertexenergyvolume40
Definition: SRProxy.h:2063
SRVertexBranch vtx
Vertex branch: location, time, etc.
caf::Proxy< float > prong3dvertexenergyvolume10
Definition: SRProxy.h:2064

Member Data Documentation

Definition at line 2059 of file SRProxy.h.

Referenced by ana::constructPng2dVar(), ana::constructPng3dVar(), CutTableLoad(), DataMCLoad(), ana::emid(), ana::EMScore(), ExtendedAxesLoad(), ana::GetCVNProngMuonScore(), ana::getEMShowerEnergy(), ana::getEMShowerEnergyByTruth(), ana::getHadronEnergy(), ana::getHadronEnergyByTruth(), ana::getMuonEnergy(), ana::getMuonEnergyByTruth(), ana::HadScore(), ana::HadScoreWithMuon(), ana::_preview::FuzzyKProngSource::HandleRecord(), ana::hasBPFE(), hyperon_macro(), hyperon_nom_macro(), ana::GetAntiNumuBDTCVN::InitTMVA(), ana::IsElectronPng(), ana::IsGoodProng(), ana::IsMuonPng(), ana::IsNumuCCEMShowerByCVN(), ana::IsNumuCCHadronByCVN(), ana::IsNumuCCPionByCVN(), ana::IsNumuCCProtonByCVN(), ana::IsPhotonPng(), ana::IsPionPng(), ana::IsProtonPng(), ana::kHighestMuonCVN_byPDG(), ana::kMaxNPngs(), ana::kMinPngCalE(), ana::kMinPngNhit(), ana::kNhit_2d(), ana::kNhit_3d(), ana::kNue2017BasicPartFunc(), ana::kNue2020FDPeripheralFunc_MRBrem(), ana::kProngEnergyRes(), MRDiFStudy_FHC_Step1(), MRDiFStudy_FHC_Step2(), MRDiFStudy_RHC_Step1(), MRDiFStudy_RHC_Step2(), mre_blessed(), neutKEsyst(), neutronE_macro(), ana::NueRecoE_2017FDFit(), ana::NueRecoE_2018FHCFit(), ana::NueRecoE_2020FHCFit(), NuSTreeMaker(), ana::GetNCPi0BDTID::operator()(), ana::nueccinc::GetElectronID::operator()(), ana::GetBPFMuonID::operator()(), ana::GetNCCosRejBDTG2020::operator()(), ana::nueccinc::GetBestProng::operator()(), ana::GetBestBPFTrack::operator()(), ana::GetNCCosRejG::operator()(), ana::nueccinc::GetElectronIDForProng::operator()(), ana::GetNCCosRej::operator()(), ana::GetNCCosRejp1::operator()(), ana::CVNPng::operator()(), ana::NotContainFxn::operator()(), ana::GetNCCosRejp2::operator()(), ana::GetNCCosRejp3_5::operator()(), ana::CVNPngTruthSel::operator()(), ana::GetNCCosRejp4_6::operator()(), ana::GetNCCosRejKeras::operator()(), ana::fIsPi0Variable::operator()(), ana::BPFAllTrkLenHelper::operator()(), ana::fIsPi0LVariable::operator()(), ana::PassesPreselFunc(), Preliminary(), ana::ProngTruthCut(), resolution_event_tree(), ana::NeutronVisEScaleSyst2018::Shift(), ana::LeptonAngleSyst::Shift(), sterile_demo(), ana::takeOutTrash(), ana::takeOutTrashByTruth(), ana::TAKEPol6_biasHM(), and nuebarccinc::true_electron_png().

Definition at line 2058 of file SRProxy.h.

Referenced by AnaResultsLoad(), CutTableLoad(), DataMCLoad(), DataMCNDLoad_nus17(), DataVtxDistributionLoad(), ana::EMScore(), ExtendedAxesLoad(), ana::GetCVNProngMuonScore(), ana::HadScore(), ana::HadScoreWithMuon(), ana::hasBPFE(), hyperon_macro(), hyperon_nom_macro(), ana::GetAntiNumuBDTCVN::InitTMVA(), ana::IsNumuCCEMShowerByCVN(), ana::IsNumuCCHadronByCVN(), ana::IsNumuCCPionByCVN(), ana::IsNumuCCProtonByCVN(), ana::kHighestMuonCVN_byPDG(), ana::kMaxNPngs(), ana::kMinPngCalE(), ana::kMinPngNhit(), ana::kNhit_2d(), ana::kNhit_3d(), ana::kNue2017BasicPartFunc(), ana::kNue2020FDPeripheralFunc_MRBrem(), ana::kProngEnergyRes(), MRDiFStudy_FHC_Step1(), MRDiFStudy_FHC_Step2(), MRDiFStudy_RHC_Step1(), MRDiFStudy_RHC_Step2(), mre_blessed(), neutKEsyst(), neutronE_macro(), ana::NueRecoE_2017FDFit(), ana::NueRecoE_2018FHCFit(), ana::NueRecoE_2020FHCFit(), ana::GetNCCosRejBDTG2020::operator()(), ana::GetNCCosRejG::operator()(), ana::GetNCCosRej::operator()(), ana::GetNCCosRejp1::operator()(), ana::NotContainFxn::operator()(), ana::GetNCCosRejp2::operator()(), ana::GetNCCosRejp3_5::operator()(), ana::GetNCCosRejp4_6::operator()(), ana::GetNCCosRejKeras::operator()(), ana::BPFAllTrkLenHelper::operator()(), Preliminary(), ana::ProngTruthCut(), resolution_event_tree(), ana::NeutronVisEScaleSyst2018::Shift(), ana::LeptonAngleSyst::Shift(), sterile_demo(), SystsAcceptanceLoad17(), SystsFidContLoad(), ana::takeOutTrashByTruth(), and ana::TAKEPol6_biasHM().

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong2dvertexenergyvolume10

Definition at line 2060 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong2dvertexenergyvolume20

Definition at line 2061 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong2dvertexenergyvolume30

Definition at line 2062 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong2dvertexenergyvolume40

Definition at line 2063 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong3dvertexenergyvolume10

Definition at line 2064 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong3dvertexenergyvolume20

Definition at line 2065 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong3dvertexenergyvolume30

Definition at line 2066 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::prong3dvertexenergyvolume40

Definition at line 2067 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::slicevertexenergyvolume10

Definition at line 2068 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::slicevertexenergyvolume20

Definition at line 2069 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::slicevertexenergyvolume30

Definition at line 2070 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRElastic >::slicevertexenergyvolume40

Definition at line 2071 of file SRProxy.h.

Definition at line 2072 of file SRProxy.h.


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