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

Proxy for caf::SRParticleTruth. More...

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

Public Attributes

caf::Proxy< float > daughterVisE
 
caf::Proxy< float > daughterVisEBirks
 
caf::Proxy< float > daughterVisEinslc
 
caf::Proxy< float > daughterVisEinslcBirks
 
caf::Proxy< std::vector< float > > daughterVisEnergies
 
caf::Proxy< std::vector< int > > daughterlist
 
caf::Proxy< float > eff
 
caf::Proxy< std::vector< int > > motherlist
 
caf::Proxy< caf::SRLorentzVectormotherp
 
caf::Proxy< intmotherpdg
 
caf::Proxy< caf::SRLorentzVectorp
 
caf::Proxy< intpdg
 
caf::Proxy< std::vector< float > > primNeutronE
 
caf::Proxy< std::vector< float > > primNeutronProcessE
 
caf::Proxy< caf::gen_process_tprocessMax
 
caf::Proxy< float > processParticleE
 
caf::Proxy< float > pur
 
caf::Proxy< caf::SRVector3Dstart
 
caf::Proxy< inttrkID
 
caf::Proxy< float > visE
 
caf::Proxy< float > visEBirks
 
caf::Proxy< float > visEinslc
 
caf::Proxy< float > visEinslcBirks
 

Detailed Description

template<>
class caf::Proxy< caf::SRParticleTruth >

Proxy for caf::SRParticleTruth.

Definition at line 622 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1167 of file SRProxy.cxx.

1167  :
1168  daughterVisE(d, tr, Join(name, "daughterVisE"), base, offset),
1169  daughterVisEBirks(d, tr, Join(name, "daughterVisEBirks"), base, offset),
1170  daughterVisEinslc(d, tr, Join(name, "daughterVisEinslc"), base, offset),
1171  daughterVisEinslcBirks(d, tr, Join(name, "daughterVisEinslcBirks"), base, offset),
1172  daughterVisEnergies(d, tr, Join(name, "daughterVisEnergies"), base, offset),
1173  daughterlist(d, tr, Join(name, "daughterlist"), base, offset),
1174  eff(d, tr, Join(name, "eff"), base, offset),
1175  motherlist(d, tr, Join(name, "motherlist"), base, offset),
1176  motherp(d, tr, Join(name, "motherp"), base, offset),
1177  motherpdg(d, tr, Join(name, "motherpdg"), base, offset),
1178  p(d, tr, Join(name, "p"), base, offset),
1179  pdg(d, tr, Join(name, "pdg"), base, offset),
1180  primNeutronE(d, tr, Join(name, "primNeutronE"), base, offset),
1181  primNeutronProcessE(d, tr, Join(name, "primNeutronProcessE"), base, offset),
1182  processMax(d, tr, Join(name, "processMax"), base, offset),
1183  processParticleE(d, tr, Join(name, "processParticleE"), base, offset),
1184  pur(d, tr, Join(name, "pur"), base, offset),
1185  start(d, tr, Join(name, "start"), base, offset),
1186  trkID(d, tr, Join(name, "trkID"), base, offset),
1187  visE(d, tr, Join(name, "visE"), base, offset),
1188  visEBirks(d, tr, Join(name, "visEBirks"), base, offset),
1189  visEinslc(d, tr, Join(name, "visEinslc"), base, offset),
1190  visEinslcBirks(d, tr, Join(name, "visEinslcBirks"), base, offset)
1191 {
1192 }
caf::Proxy< float > visEinslcBirks
Definition: SRProxy.h:654
const XML_Char * name
Definition: expat.h:151
caf::Proxy< std::vector< int > > motherlist
Definition: SRProxy.h:639
caf::Proxy< float > daughterVisEBirks
Definition: SRProxy.h:633
caf::Proxy< float > pur
Definition: SRProxy.h:648
caf::Proxy< float > processParticleE
Definition: SRProxy.h:647
caf::Proxy< caf::SRLorentzVector > p
Definition: SRProxy.h:642
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:649
caf::Proxy< float > daughterVisEinslc
Definition: SRProxy.h:634
caf::Proxy< float > daughterVisE
Definition: SRProxy.h:632
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< int > motherpdg
Definition: SRProxy.h:641
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > visEBirks
Definition: SRProxy.h:652
caf::Proxy< float > daughterVisEinslcBirks
Definition: SRProxy.h:635
caf::Proxy< caf::SRLorentzVector > motherp
Definition: SRProxy.h:640
Float_t d
Definition: plot.C:236
caf::Proxy< std::vector< float > > primNeutronProcessE
Definition: SRProxy.h:645
caf::Proxy< caf::gen_process_t > processMax
Definition: SRProxy.h:646
caf::Proxy< std::vector< float > > primNeutronE
Definition: SRProxy.h:644
caf::Proxy< std::vector< int > > daughterlist
Definition: SRProxy.h:637
caf::Proxy< std::vector< float > > daughterVisEnergies
Definition: SRProxy.h:636
caf::Proxy< float > eff
Definition: SRProxy.h:638
caf::Proxy< float > visEinslc
Definition: SRProxy.h:653
caf::Proxy< float > visE
Definition: SRProxy.h:651

Member Function Documentation

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

Definition at line 1222 of file SRProxy.cxx.

References caf::SRParticleTruth::daughterlist, caf::SRParticleTruth::daughterVisE, caf::SRParticleTruth::daughterVisEBirks, caf::SRParticleTruth::daughterVisEinslc, caf::SRParticleTruth::daughterVisEinslcBirks, caf::SRParticleTruth::daughterVisEnergies, nd_projection_maker::eff, caf::SRParticleTruth::eff, caf::SRParticleTruth::motherlist, caf::SRParticleTruth::motherp, caf::SRParticleTruth::motherpdg, caf::SRParticleTruth::p, caf::SRParticleTruth::pdg, make_root_from_grid_output::pdg, caf::SRParticleTruth::primNeutronE, caf::SRParticleTruth::primNeutronProcessE, caf::SRParticleTruth::processMax, caf::SRParticleTruth::processParticleE, caf::SRParticleTruth::pur, PandAna.Demos.pi0_spectra::pur, caf::SRParticleTruth::start, febshutoff_auto::start, caf::SRParticleTruth::trkID, caf::SRParticleTruth::visE, caf::SRParticleTruth::visEBirks, caf::SRParticleTruth::visEinslc, and caf::SRParticleTruth::visEinslcBirks.

1223 {
1230  eff.CheckEquals(sr.eff);
1234  p.CheckEquals(sr.p);
1235  pdg.CheckEquals(sr.pdg);
1240  pur.CheckEquals(sr.pur);
1241  start.CheckEquals(sr.start);
1242  trkID.CheckEquals(sr.trkID);
1243  visE.CheckEquals(sr.visE);
1247 }
caf::Proxy< float > visEinslcBirks
Definition: SRProxy.h:654
float daughterVisE
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
caf::Proxy< std::vector< int > > motherlist
Definition: SRProxy.h:639
caf::Proxy< float > daughterVisEBirks
Definition: SRProxy.h:633
std::vector< float > daughterVisEnergies
Energy of each particle contributing to the prong.
caf::Proxy< float > pur
Definition: SRProxy.h:648
caf::Proxy< float > processParticleE
Definition: SRProxy.h:647
SRLorentzVector p
True energy 4-vector of the best matched particle.
const char * p
Definition: xmltok.h:285
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:649
caf::Proxy< float > daughterVisEinslc
Definition: SRProxy.h:634
float eff
True deposited energy collection efficiency for the best matched particle relative to the slice...
caf::Proxy< float > daughterVisE
Definition: SRProxy.h:632
float daughterVisEinslcBirks
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
float daughterVisEBirks
Visible Energy in detector for all daughters of this particle, all summed FLSHits that made CellHits ...
caf::Proxy< int > motherpdg
Definition: SRProxy.h:641
caf::Proxy< float > visEBirks
Definition: SRProxy.h:652
caf::Proxy< float > daughterVisEinslcBirks
Definition: SRProxy.h:635
float visEinslc
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV].
float visE
Visible Energy in detector, all summed FLSHits that made CellHits [GeV].
float visEinslcBirks
Visible Energy in detector, slice summed FLSHits that made CellHits [GeV] with birks suppression...
int pdg
PDG Code of the best matched truth particle.
int motherpdg
PDG Code of the mother of the best matched truth particle.
caf::Proxy< caf::SRLorentzVector > motherp
Definition: SRProxy.h:640
float pur
True deposited energy purity for the best matched particle.
float visEBirks
Visible Energy in detector, all summed FLSHits that made CellHits [GeV] with birks suppression...
caf::Proxy< std::vector< float > > primNeutronProcessE
Definition: SRProxy.h:645
std::vector< float > primNeutronProcessE
std::vector< int > motherlist
caf::Proxy< caf::gen_process_t > processMax
Definition: SRProxy.h:646
gen_process_t processMax
The process conributing the most the prong.
std::vector< int > daughterlist
caf::Proxy< std::vector< float > > primNeutronE
Definition: SRProxy.h:644
float processParticleE
Energy of the particle causing the process that contirbuted the most.
caf::Proxy< std::vector< int > > daughterlist
Definition: SRProxy.h:637
caf::Proxy< std::vector< float > > daughterVisEnergies
Definition: SRProxy.h:636
int trkID
GEANT trackId for particle.
caf::Proxy< float > eff
Definition: SRProxy.h:638
void CheckEquals(const caf::SRLorentzVector &sr) const
Definition: SRProxy.cxx:478
caf::Proxy< float > visEinslc
Definition: SRProxy.h:653
float daughterVisEinslc
Visible Energy in detector for all daughters of this particle, slice summed FLSHits that made CellHit...
SRLorentzVector motherp
True energy 4-vector of the mother particle.
void CheckEquals(const T &x) const
std::vector< float > primNeutronE
Energy of the primary neutron that is linked to the prong, if one exists.
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
caf::Proxy< float > visE
Definition: SRProxy.h:651

Definition at line 1194 of file SRProxy.cxx.

References caf::SRParticleTruth::daughterlist, caf::SRParticleTruth::daughterVisE, caf::SRParticleTruth::daughterVisEBirks, caf::SRParticleTruth::daughterVisEinslc, caf::SRParticleTruth::daughterVisEinslcBirks, caf::SRParticleTruth::daughterVisEnergies, nd_projection_maker::eff, caf::SRParticleTruth::eff, caf::SRParticleTruth::motherlist, caf::SRParticleTruth::motherp, caf::SRParticleTruth::motherpdg, caf::SRParticleTruth::p, caf::SRParticleTruth::pdg, make_root_from_grid_output::pdg, caf::SRParticleTruth::primNeutronE, caf::SRParticleTruth::primNeutronProcessE, caf::SRParticleTruth::processMax, caf::SRParticleTruth::processParticleE, caf::SRParticleTruth::pur, PandAna.Demos.pi0_spectra::pur, caf::SRParticleTruth::start, febshutoff_auto::start, caf::SRParticleTruth::trkID, caf::SRParticleTruth::visE, caf::SRParticleTruth::visEBirks, caf::SRParticleTruth::visEinslc, and caf::SRParticleTruth::visEinslcBirks.

1195 {
1196  daughterVisE = sr.daughterVisE;
1197  daughterVisEBirks = sr.daughterVisEBirks;
1198  daughterVisEinslc = sr.daughterVisEinslc;
1199  daughterVisEinslcBirks = sr.daughterVisEinslcBirks;
1200  daughterVisEnergies = sr.daughterVisEnergies;
1201  daughterlist = sr.daughterlist;
1202  eff = sr.eff;
1203  motherlist = sr.motherlist;
1204  motherp = sr.motherp;
1205  motherpdg = sr.motherpdg;
1206  p = sr.p;
1207  pdg = sr.pdg;
1208  primNeutronE = sr.primNeutronE;
1209  primNeutronProcessE = sr.primNeutronProcessE;
1210  processMax = sr.processMax;
1211  processParticleE = sr.processParticleE;
1212  pur = sr.pur;
1213  start = sr.start;
1214  trkID = sr.trkID;
1215  visE = sr.visE;
1216  visEBirks = sr.visEBirks;
1217  visEinslc = sr.visEinslc;
1218  visEinslcBirks = sr.visEinslcBirks;
1219  return *this;
1220 }
caf::Proxy< float > visEinslcBirks
Definition: SRProxy.h:654
caf::Proxy< std::vector< int > > motherlist
Definition: SRProxy.h:639
caf::Proxy< float > daughterVisEBirks
Definition: SRProxy.h:633
caf::Proxy< float > pur
Definition: SRProxy.h:648
caf::Proxy< float > processParticleE
Definition: SRProxy.h:647
const char * p
Definition: xmltok.h:285
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:649
caf::Proxy< float > daughterVisEinslc
Definition: SRProxy.h:634
caf::Proxy< float > daughterVisE
Definition: SRProxy.h:632
caf::Proxy< int > motherpdg
Definition: SRProxy.h:641
caf::Proxy< float > visEBirks
Definition: SRProxy.h:652
caf::Proxy< float > daughterVisEinslcBirks
Definition: SRProxy.h:635
caf::Proxy< caf::SRLorentzVector > motherp
Definition: SRProxy.h:640
caf::StandardRecord * sr
caf::Proxy< std::vector< float > > primNeutronProcessE
Definition: SRProxy.h:645
caf::Proxy< caf::gen_process_t > processMax
Definition: SRProxy.h:646
caf::Proxy< std::vector< float > > primNeutronE
Definition: SRProxy.h:644
caf::Proxy< std::vector< int > > daughterlist
Definition: SRProxy.h:637
caf::Proxy< std::vector< float > > daughterVisEnergies
Definition: SRProxy.h:636
caf::Proxy< float > eff
Definition: SRProxy.h:638
caf::Proxy< float > visEinslc
Definition: SRProxy.h:653
caf::Proxy< float > visE
Definition: SRProxy.h:651

Member Data Documentation

caf::Proxy<std::vector<int> > caf::Proxy< caf::SRParticleTruth >::daughterlist

Definition at line 637 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::daughterVisE

Definition at line 632 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::daughterVisEBirks

Definition at line 633 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::daughterVisEinslc

Definition at line 634 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::daughterVisEinslcBirks

Definition at line 635 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRParticleTruth >::daughterVisEnergies

Definition at line 636 of file SRProxy.h.

Definition at line 638 of file SRProxy.h.

caf::Proxy<std::vector<int> > caf::Proxy< caf::SRParticleTruth >::motherlist

Definition at line 639 of file SRProxy.h.

Definition at line 640 of file SRProxy.h.

Definition at line 641 of file SRProxy.h.

Definition at line 642 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRParticleTruth >::primNeutronE

Definition at line 644 of file SRProxy.h.

caf::Proxy<std::vector<float> > caf::Proxy< caf::SRParticleTruth >::primNeutronProcessE

Definition at line 645 of file SRProxy.h.

Definition at line 646 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::processParticleE

Definition at line 647 of file SRProxy.h.

Definition at line 648 of file SRProxy.h.

Definition at line 649 of file SRProxy.h.

Referenced by progbar.ProgressBar::Start(), and progbar.ProgressBar::Update().

Definition at line 650 of file SRProxy.h.

Definition at line 651 of file SRProxy.h.

Definition at line 652 of file SRProxy.h.

Definition at line 653 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRParticleTruth >::visEinslcBirks

Definition at line 654 of file SRProxy.h.


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