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

Proxy for caf::StandardRecord. More...

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

Public Attributes

caf::Proxy< caf::SREnergyBranchenergy
 
caf::Proxy< caf::SRHeaderhdr
 
caf::Proxy< caf::SRTruthBranchmc
 
caf::Proxy< caf::SRMichelEme
 
caf::Proxy< caf::SRParentBranchparent
 
caf::Proxy< caf::SRIDBranchsel
 
caf::Proxy< caf::SRSliceslc
 
caf::Proxy< caf::SRSpillspill
 
caf::Proxy< caf::SRTrainingBranchtraining
 
caf::Proxy< caf::SRTrackBranchtrk
 
caf::Proxy< caf::SRVertexBranchvtx
 

Detailed Description

template<>
class caf::Proxy< caf::StandardRecord >

Proxy for caf::StandardRecord.

Definition at line 2108 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 4236 of file SRProxy.cxx.

4236  :
4237  energy(d, tr, Join(name, "energy"), base, offset),
4238  hdr(d, tr, Join(name, "hdr"), base, offset),
4239  mc(d, tr, Join(name, "mc"), base, offset),
4240  me(d, tr, Join(name, "me"), base, offset),
4241  parent(d, tr, Join(name, "parent"), base, offset),
4242  sel(d, tr, Join(name, "sel"), base, offset),
4243  slc(d, tr, Join(name, "slc"), base, offset),
4244  spill(d, tr, Join(name, "spill"), base, offset),
4245  training(d, tr, Join(name, "training"), base, offset),
4246  trk(d, tr, Join(name, "trk"), base, offset),
4247  vtx(d, tr, Join(name, "vtx"), base, offset)
4248 {
4249 }
caf::Proxy< caf::SRSpill > spill
Definition: SRProxy.h:2125
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRTrainingBranch > training
Definition: SRProxy.h:2126
caf::Proxy< caf::SRParentBranch > parent
Definition: SRProxy.h:2122
caf::Proxy< caf::SRHeader > hdr
Definition: SRProxy.h:2119
caf::Proxy< caf::SRMichelE > me
Definition: SRProxy.h:2121
caf::Proxy< caf::SREnergyBranch > energy
Definition: SRProxy.h:2118
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
caf::Proxy< caf::SRTrackBranch > trk
Definition: SRProxy.h:2127
Float_t d
Definition: plot.C:236
caf::Proxy< caf::SRTruthBranch > mc
Definition: SRProxy.h:2120
caf::Proxy< caf::SRSlice > slc
Definition: SRProxy.h:2124
caf::Proxy< caf::SRIDBranch > sel
Definition: SRProxy.h:2123
caf::Proxy< caf::SRVertexBranch > vtx
Definition: SRProxy.h:2128

Member Function Documentation

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

Definition at line 4267 of file SRProxy.cxx.

References energy, caf::StandardRecord::energy, caf::StandardRecord::hdr, mc, caf::StandardRecord::mc, caf::StandardRecord::me, caf::StandardRecord::parent, file_size_ana::parent, caf::StandardRecord::sel, caf::StandardRecord::slc, PandAna.Demos.tute_pid_validation::slc, caf::StandardRecord::spill, caf_analysis::spill, caf::StandardRecord::training, caf::StandardRecord::trk, and caf::StandardRecord::vtx.

Referenced by check_proxy().

4268 {
4270  hdr.CheckEquals(sr.hdr);
4271  mc.CheckEquals(sr.mc);
4272  me.CheckEquals(sr.me);
4274  sel.CheckEquals(sr.sel);
4275  slc.CheckEquals(sr.slc);
4276  spill.CheckEquals(sr.spill);
4278  trk.CheckEquals(sr.trk);
4279  vtx.CheckEquals(sr.vtx);
4280 }
caf::Proxy< caf::SRSpill > spill
Definition: SRProxy.h:2125
void CheckEquals(const caf::SRIDBranch &sr) const
Definition: SRProxy.cxx:2452
SRHeader hdr
Header branch: run, subrun, etc.
caf::Proxy< caf::SRTrainingBranch > training
Definition: SRProxy.h:2126
caf::Proxy< caf::SRParentBranch > parent
Definition: SRProxy.h:2122
caf::Proxy< caf::SRHeader > hdr
Definition: SRProxy.h:2119
SRMichelE me
Michel electron branch.
void CheckEquals(const caf::SRTrainingBranch &sr) const
Definition: SRProxy.cxx:2972
SRTrainingBranch training
Extra training information for prototyping PIDs etc.
void CheckEquals(const caf::SREnergyBranch &sr) const
Definition: SRProxy.cxx:355
void CheckEquals(const caf::SRTruthBranch &sr) const
Definition: SRProxy.cxx:1115
caf::Proxy< caf::SREnergyBranch > energy
Definition: SRProxy.h:2118
void CheckEquals(const caf::SRVertexBranch &sr) const
Definition: SRProxy.cxx:4227
Track finder for cosmic rays.
Definition: NueSkimmer.h:24
SRSpill spill
Beam spill branch: pot, beam current, etc.
caf::Proxy< caf::SRTruthBranch > mc
Definition: SRProxy.h:2120
void CheckEquals(const caf::SRHeader &sr) const
Definition: SRProxy.cxx:428
void CheckEquals(const caf::SRSlice &sr) const
Definition: SRProxy.cxx:2554
caf::Proxy< caf::SRSlice > slc
Definition: SRProxy.h:2124
SRIDBranch sel
Selector (PID) branch.
SRSlice slc
Slice branch: nhit, extents, time, etc.
SRTruthBranch mc
Truth branch for MC: energy, flavor, etc.
caf::Proxy< caf::SRIDBranch > sel
Definition: SRProxy.h:2123
SRParentBranch parent
True parent branch for matching, e.g. MRCC.
caf::Proxy< caf::SRVertexBranch > vtx
Definition: SRProxy.h:2128
SRTrackBranch trk
Track branch: nhit, len, etc.
SREnergyBranch energy
Energy estimator branch.
void CheckEquals(const caf::SRParentBranch &sr) const
Definition: SRProxy.cxx:1416
void CheckEquals(const caf::SRSpill &sr) const
Definition: SRProxy.cxx:2754
SRVertexBranch vtx
Vertex branch: location, time, etc.

Definition at line 4251 of file SRProxy.cxx.

References energy, caf::StandardRecord::energy, caf::StandardRecord::hdr, mc, caf::StandardRecord::mc, caf::StandardRecord::me, caf::StandardRecord::parent, file_size_ana::parent, caf::StandardRecord::sel, caf::StandardRecord::slc, PandAna.Demos.tute_pid_validation::slc, caf::StandardRecord::spill, caf_analysis::spill, caf::StandardRecord::training, caf::StandardRecord::trk, and caf::StandardRecord::vtx.

4252 {
4253  energy = sr.energy;
4254  hdr = sr.hdr;
4255  mc = sr.mc;
4256  me = sr.me;
4257  parent = sr.parent;
4258  sel = sr.sel;
4259  slc = sr.slc;
4260  spill = sr.spill;
4261  training = sr.training;
4262  trk = sr.trk;
4263  vtx = sr.vtx;
4264  return *this;
4265 }
caf::Proxy< caf::SRSpill > spill
Definition: SRProxy.h:2125
SRHeader hdr
Header branch: run, subrun, etc.
caf::Proxy< caf::SRTrainingBranch > training
Definition: SRProxy.h:2126
caf::Proxy< caf::SRParentBranch > parent
Definition: SRProxy.h:2122
caf::Proxy< caf::SRHeader > hdr
Definition: SRProxy.h:2119
SRMichelE me
Michel electron branch.
SRTrainingBranch training
Extra training information for prototyping PIDs etc.
caf::Proxy< caf::SREnergyBranch > energy
Definition: SRProxy.h:2118
Track finder for cosmic rays.
Definition: NueSkimmer.h:24
caf::StandardRecord * sr
SRSpill spill
Beam spill branch: pot, beam current, etc.
caf::Proxy< caf::SRTruthBranch > mc
Definition: SRProxy.h:2120
caf::Proxy< caf::SRSlice > slc
Definition: SRProxy.h:2124
SRIDBranch sel
Selector (PID) branch.
SRSlice slc
Slice branch: nhit, extents, time, etc.
SRTruthBranch mc
Truth branch for MC: energy, flavor, etc.
caf::Proxy< caf::SRIDBranch > sel
Definition: SRProxy.h:2123
SRParentBranch parent
True parent branch for matching, e.g. MRCC.
caf::Proxy< caf::SRVertexBranch > vtx
Definition: SRProxy.h:2128
SRTrackBranch trk
Track branch: nhit, len, etc.
SREnergyBranch energy
Energy estimator branch.
SRVertexBranch vtx
Vertex branch: location, time, etc.

Member Data Documentation

Definition at line 2119 of file SRProxy.h.

Referenced by ana::calcFirstLastLivePlane(), ana::CalcFracE(), ana::CalcPrimE(), DetectorHornSwitcher(), DetectorSwitcher(), Exposure(), fnex::CAFToEventList::FillEventId(), cmf::CAFToEventList::FillEventId(), fnex::CAFToEventList::FillVariables(), cmf::CAFToEventList::FillVariables(), ana::GeniePCASyst::GetWeight(), ana::FileReducer::Go(), ana::SpectrumLoader::HandleRecord(), ana::MichelTaggingSyst2020::Hash(), ana::MichelTaggingSyst2018::Hash(), ana::Hash(), ana::MultiHistContainer::Hist(), ana::initNumuHadE2018FDpXVar(), ana::initNumuHadE2018Var(), ana::initNumuHadE2020FDpXVar(), ana::initNumuHadE2020Var(), ana::initNumuMuE2018FDpXVar(), ana::initNumuMuE2018Var(), ana::initNumuMuE2020FDpXVar(), ana::initNumuMuE2020Var(), ana2019::fakedata::KeepEvtFunc::Keep(), make_nueFDprediction_kinematics_FHC_REW(), make_nueFDprediction_kinematics_FHC_REW_pTExtrap(), make_nueFDprediction_kinematics_RHC_REW(), make_nueFDprediction_kinematics_RHC_REW_pTExtrap(), make_numu_decaf(), MakePPFXRatios(), MakeSystRatios(), MinervaFluxFromHist(), MippNA49FluxFromHist(), ana::MuonECat(), ana::NueRecoE_2017FDFit(), ana::NueRecoE_2018FHCFit(), ana::NueRecoE_2020FHCFit(), NuSTreeMaker(), ana::GetNCCosRejBDTG2020::operator()(), ana::NotContainFxn::operator()(), ana::GetWtMinervaND::operator()(), ana::GetWtMippNA49NOvAND::operator()(), ana::GetWtMippNA49NOvAFD::operator()(), ana::PeriodFromHeader(), PeriodFromHeader(), ppfx_make_systs(), ppfx_smooth_weights_save(), ana::predict_special_nd_had_energy(), Print(), reduce_nue_2018(), reduce_numu_ana2017(), reduce_numu_ana2018(), reduce_numu_ana2018_cosmics(), reduce_prod5_nue(), reduce_prod5_numu(), ana::NueExtrapSystBkg2017::Shift(), ana::NueAcceptSystBkg2018FHC::Shift(), ana::Nus17SystFromHist::Shift(), ana::NueSyst::Shift(), ana::NusSystFromHist::Shift(), ana::MuEScaleSyst2017::Shift(), ana::NueExtrapSystSignalKin2017::Shift(), ana::LeptonAngleSyst::Shift(), ana::NueAcceptSystSignalKin2018FHC::Shift(), ana::CorrMuEScaleSyst2020::Shift(), ana::CorrMuEScaleSyst2019::Shift(), ana::RelNormSyst::Shift(), ana::NueAcceptSystSignalKin2020FHC::Shift(), ana::Nus18SystFromHist::Shift(), ana::NumuSummedSmallGENIESyst::Shift(), ana::Nus17FlatSyst::Shift(), ana::RelMuEScaleSyst2017::Shift(), ana::NusFlatSyst::Shift(), ana::UnCorrFDMuEScaleSyst2020::Shift(), ana::UnCorrFDMuEScaleSyst2019::Shift(), ana::NueAcceptSystBkg2018RHC::Shift(), ana::NueAcceptSystSignalKin2018RHC::Shift(), ana::FDHadEnergyScaleSyst::Shift(), ana::Nus18FlatSyst::Shift(), ana::NueAcceptSystSignalKin2020RHC::Shift(), ana::UnCorrNDMuEScaleSyst2020::Shift(), ana::FDMuEnergyScaleSyst::Shift(), ana::UnCorrNDMuEScaleSyst2019::Shift(), ana::DirectRelHadEScaleSyst2017::Shift(), ana::UnCorrMuCatMuESyst2020::Shift(), ana::NumuRelNormSyst::Shift(), ana::UnCorrMuCatMuESyst2019::Shift(), ana::RockMuonNormSyst::Shift(), ana::NumuRelEnergyScaleSyst::Shift(), ana::PileupMuESyst2020::Shift(), ana::PileupMuESyst2019::Shift(), ana::BolombMuESyst2019::Shift(), SystsGENIELoad(), SystsGENIELoad17(), SystsMCStatsLoad(), SystsNDRockLoad(), SystsPPFXLoad17(), ana::TAHadEND(), ana::takeOutTrash(), ana::takeOutTrashByTruth(), and ana::ZEndPosition().

Definition at line 2120 of file SRProxy.h.

Referenced by AddNumuHistDefMoreTruth(), ana::calcFirstLastLivePlane(), ana::CalcFracE(), ana::CalcMECDoubleGaussEnhShiftedParam(), ana::CalcMECDoubleGaussEnhShiftedParamNux(), ana::CalcMECGaussEnh(), ana::CalcMinosResSupp(), ana::CalcPrimE(), ana::CutFromNuTruthCut(), datamc_ND_numu_kinematics(), datamc_ND_numu_kinematics_REW(), demo6(), demoSysts(), efficiency(), EnergyCont_macro(), energyResolution(), cmf::CAFToEventList::FillMCVals(), fnex::CAFToEventList::FillMCVarVals(), fnex::CAFToEventList::FillVariables(), cmf::CAFToEventList::FillVariables(), get_eventlist2020(), jw::GetCutIsFitMEC(), ana::GetCutIsFitMEC(), ana::GetkPPFXFluxUnivWgt(), ana::Nus17SystFromHist::GetNusChannel(), ana::NusSystFromHist::GetNusChannel(), ana::Nus18SystFromHist::GetNusChannel(), GetTunedMECWeight(), ana::DecompWeightFunc::GetWeight(), ana::GeniePCASyst::GetWeight(), ana::SpectrumLoader::HandleRecord(), ana::MultiHistContainer::Hist(), hyperon_macro(), hyperon_nom_macro(), ana::kMECDoubleGaussEnhSimple(), LoadWeightsTunedNumuMEC(), jw::LoadWeightsTunedNumuMEC(), make_nueFDprediction_kinematics(), make_nueFDprediction_kinematics_REW(), MakePPFXRatios(), MakeSystRatios(), MinervaFluxFromHist(), MippNA49FluxFromHist(), neutKEsyst(), neutronE_macro(), nue_fd_mc_validation(), NuMu2020_TrimCAFs(), NuSTreeMaker(), ana::CCFlavSel::operator()(), DiffHough::operator()(), DiffElastic::operator()(), ana::NotContainFxn::operator()(), ana::GetWtMinervaND::operator()(), ana2019::fakedata::KeepMCEventFunc::operator()(), ana::GetWtMippNA49NOvAND::operator()(), ana::GetWtMippNA49NOvAFD::operator()(), ana::NCFlavSel::operator()(), ana::fIsPi0Variable::operator()(), ana::fIsPi0LVariable::operator()(), ana::OverlayCutFromNuTruthCut(), ana::OverlayVarFromNuTruthVar(), ppfx_make_systs(), ppfx_smooth_weights_save(), Print(), resolution_event_tree(), ana::NumuSyst::Shift(), ana::WrongSignContamination::Shift(), ana::NCSyst::Shift(), ana::WrongSignScale::Shift(), ana::NueExtrapSystBkg2017::Shift(), ana::NeutronVisEScaleSyst2018::Shift(), ana::NueAcceptSystBkg2018FHC::Shift(), ana::NueSyst::Shift(), ana::NCtest::Shift(), ana::NueExtrapSystSignalKin2017::Shift(), ana::WrongSignEnergyBinRHC::Shift(), ana::NuWROSyst::Shift(), ana::NueAcceptSystSignalKin2018FHC::Shift(), ana::Nuetest::Shift(), ana::ISyst::Shift(), ana::NueAcceptSystSignalKin2020FHC::Shift(), ana::WrongSignEnergyBin::Shift(), ana::NumuSummedSmallGENIESyst::Shift(), ana::Numutest::Shift(), ana::Nus17FlatSyst::Shift(), ana::NusFlatSyst::Shift(), ana::NCScaleSyst::Shift(), ana::WrongSignScale100::Shift(), ana::NueAcceptSystBkg2018RHC::Shift(), ana::BeamNueScaleSyst::Shift(), ana::NueAcceptSystSignalKin2018RHC::Shift(), ana::NumuNCScaleSyst::Shift(), ana::Nus18FlatSyst::Shift(), ana::NumuCCScaleSyst::Shift(), ana::NueAcceptSystSignalKin2020RHC::Shift(), ana::MyWrongSignScale::Shift(), ana::NumuTauContaminationSyst::Shift(), ana::KaonScaleSyst::Shift(), demo::DemoSyst2::Shift(), ana::RockMuonNormSyst::Shift(), ana::DISHighWScaleSyst::Shift(), ana::MECDoubleGaussEnhSystNux::Shift(), ana::MECGaussEnhSyst::Shift(), ana::MECDoubleGaussEnhSyst::Shift(), ana::MinosResSuppSyst::Shift(), SystsNDRockLoad(), SystsPPFXLoad17(), ana::takeOutTrashByTruth(), ana::TAKEPol6_biasHM(), test_fluxhadr_prod_weights_Flux(), test_genieweights(), TrimCAFs(), and ana::VarFromNuTruthVar().

Definition at line 2122 of file SRProxy.h.

Definition at line 2126 of file SRProxy.h.

Definition at line 2127 of file SRProxy.h.

Referenced by Analyse_Data2DataComp(), Analyse_Data2DataComp_HigherEnergyCuts(), Analyse_Data2DataComp_kNumu2020ND(), compare_cos_numi(), demo0(), demo1(), demo6(), FD_plots(), get_cosmic_sample(), ana::muonid_classifier::GetMuonIDSR(), ana::initNumuHadE2018FDpXVar(), ana::initNumuHadE2018NDpXVar(), ana::initNumuHadE2018Var(), ana::initNumuHadE2020FDpXVar(), ana::initNumuHadE2020NDpXVar(), ana::initNumuHadE2020Var(), ana::initNumuMuE2018FDpXVar(), ana::initNumuMuE2018NDpXVar(), ana::initNumuMuE2018Var(), ana::initNumuMuE2020FDpXVar(), ana::initNumuMuE2020NDpXVar(), ana::initNumuMuE2020Var(), ana::kMinPngNhit(), ana::MuonECat(), ana::GetMuonID::operator()(), ana::GetPionID::operator()(), ana::GetBestTrack::operator()(), ana::GetPionTrack::operator()(), ana::GetBestPionID::operator()(), ana::GetBestPionTrack::operator()(), ana::fIsFiducialVariable::operator()(), ana::PassesPreselFunc(), ana::predict_special_nd_had_energy(), Print(), ana::MuEScaleSyst2017::Shift(), ana::LeptonAngleSyst::Shift(), ana::CorrMuEScaleSyst2020::Shift(), ana::CorrMuEScaleSyst2019::Shift(), ana::RelMuEScaleSyst2017::Shift(), ana::UnCorrFDMuEScaleSyst2019::Shift(), ana::UnCorrFDMuEScaleSyst2020::Shift(), ana::UnCorrNDMuEScaleSyst2020::Shift(), ana::UnCorrNDMuEScaleSyst2019::Shift(), ana::UnCorrMuCatMuESyst2020::Shift(), ana::UnCorrMuCatMuESyst2019::Shift(), ana::PileupMuESyst2020::Shift(), ana::PileupMuESyst2019::Shift(), ana::BolombMuESyst2019::Shift(), ana::TAHadEND(), and ana::ZEndPosition().

Definition at line 2128 of file SRProxy.h.

Referenced by AnaResultsLoad(), ana::constructPng2dVar(), ana::constructPng3dVar(), CutTableLoad(), DataMCLoad(), DataMCNDLoad_nus17(), DataVtxDistributionLoad(), ana::emid(), ana::EMScore(), ExtendedAxesLoad(), ana::GetCVNProngMuonScore(), ana::getEMShowerEnergy(), ana::getEMShowerEnergyByTruth(), ana::getHadronEnergy(), ana::getHadronEnergyByTruth(), ana::getMuonEnergy(), ana::getMuonEnergyByTruth(), ana::HadScore(), ana::HadScoreWithMuon(), 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()(), DiffHough::operator()(), ana::GetNCCosRejG::operator()(), ana::nueccinc::GetElectronIDForProng::operator()(), DiffElastic::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(), Print(), ana::ProngTruthCut(), resolution_event_tree(), ana::NeutronVisEScaleSyst2018::Shift(), ana::LeptonAngleSyst::Shift(), sterile_demo(), SystsAcceptanceLoad17(), SystsFidContLoad(), ana::takeOutTrash(), ana::takeOutTrashByTruth(), ana::TAKEPol6_biasHM(), and nuebarccinc::true_electron_png().


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