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

Proxy for caf::SRCVNParticleResult. More...

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

Public Attributes

caf::Proxy< float > electronid
 
caf::Proxy< float > emid
 
caf::Proxy< float > hadronid
 
caf::Proxy< float > maxval
 
caf::Proxy< float > muonid
 
caf::Proxy< float > neutronid
 
caf::Proxy< float > otherid
 
caf::Proxy< unsigned intpdgmax
 
caf::Proxy< float > photonid
 
caf::Proxy< float > pionid
 
caf::Proxy< float > pizeroid
 
caf::Proxy< float > protonid
 

Detailed Description

template<>
class caf::Proxy< caf::SRCVNParticleResult >

Proxy for caf::SRCVNParticleResult.

Definition at line 1842 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3718 of file SRProxy.cxx.

3718  :
3719  electronid(d, tr, Join(name, "electronid"), base, offset),
3720  emid(d, tr, Join(name, "emid"), base, offset),
3721  hadronid(d, tr, Join(name, "hadronid"), base, offset),
3722  maxval(d, tr, Join(name, "maxval"), base, offset),
3723  muonid(d, tr, Join(name, "muonid"), base, offset),
3724  neutronid(d, tr, Join(name, "neutronid"), base, offset),
3725  otherid(d, tr, Join(name, "otherid"), base, offset),
3726  pdgmax(d, tr, Join(name, "pdgmax"), base, offset),
3727  photonid(d, tr, Join(name, "photonid"), base, offset),
3728  pionid(d, tr, Join(name, "pionid"), base, offset),
3729  pizeroid(d, tr, Join(name, "pizeroid"), base, offset),
3730  protonid(d, tr, Join(name, "protonid"), base, offset)
3731 {
3732 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< unsigned int > pdgmax
Definition: SRProxy.h:1859
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
Float_t d
Definition: plot.C:236

Member Function Documentation

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

Definition at line 3751 of file SRProxy.cxx.

References caf::SRCVNParticleResult::electronid, caf::SRCVNParticleResult::emid, ana::emid(), caf::SRCVNParticleResult::hadronid, caf::SRCVNParticleResult::maxval, caf::SRCVNParticleResult::muonid, caf::SRCVNParticleResult::neutronid, caf::SRCVNParticleResult::otherid, caf::SRCVNParticleResult::pdgmax, caf::SRCVNParticleResult::photonid, caf::SRCVNParticleResult::pionid, caf::SRCVNParticleResult::pizeroid, and caf::SRCVNParticleResult::protonid.

3752 {
3754  emid.CheckEquals(sr.emid);
3757  muonid.CheckEquals(sr.muonid);
3765 }
float neutronid
Likelihood neutron.
float pionid
Likelihood pion.
float muonid
Likelihood muon.
caf::Proxy< unsigned int > pdgmax
Definition: SRProxy.h:1859
A PID for muons.
Definition: FillPIDs.h:11
float photonid
Likelihood photon.
float electronid
Likelihood electron.
unsigned int pdgmax
pdg of largest likelihood
float protonid
Likelihood proton.
float emid
Likelihood electron or photon.
float maxval
Maximum likelihood among net outputs.
float otherid
Likelihood other.
float pizeroid
Likelihood pizero.
float hadronid
Likelihood Proton or Pion.
void CheckEquals(const T &x) const

Definition at line 3734 of file SRProxy.cxx.

References caf::SRCVNParticleResult::electronid, caf::SRCVNParticleResult::emid, ana::emid(), caf::SRCVNParticleResult::hadronid, caf::SRCVNParticleResult::maxval, caf::SRCVNParticleResult::muonid, caf::SRCVNParticleResult::neutronid, caf::SRCVNParticleResult::otherid, caf::SRCVNParticleResult::pdgmax, caf::SRCVNParticleResult::photonid, caf::SRCVNParticleResult::pionid, caf::SRCVNParticleResult::pizeroid, and caf::SRCVNParticleResult::protonid.

3735 {
3736  electronid = sr.electronid;
3737  emid = sr.emid;
3738  hadronid = sr.hadronid;
3739  maxval = sr.maxval;
3740  muonid = sr.muonid;
3741  neutronid = sr.neutronid;
3742  otherid = sr.otherid;
3743  pdgmax = sr.pdgmax;
3744  photonid = sr.photonid;
3745  pionid = sr.pionid;
3746  pizeroid = sr.pizeroid;
3747  protonid = sr.protonid;
3748  return *this;
3749 }
caf::Proxy< unsigned int > pdgmax
Definition: SRProxy.h:1859
A PID for muons.
Definition: FillPIDs.h:11
caf::StandardRecord * sr

Member Data Documentation

Definition at line 1852 of file SRProxy.h.

Definition at line 1853 of file SRProxy.h.

Definition at line 1854 of file SRProxy.h.

Definition at line 1855 of file SRProxy.h.

Definition at line 1856 of file SRProxy.h.

Definition at line 1857 of file SRProxy.h.

Definition at line 1858 of file SRProxy.h.

Definition at line 1859 of file SRProxy.h.

Definition at line 1860 of file SRProxy.h.

Definition at line 1861 of file SRProxy.h.

Definition at line 1862 of file SRProxy.h.

Definition at line 1863 of file SRProxy.h.


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