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

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

Public Attributes

caf::Proxy< intbestBpfIdx
 
caf::Proxy< intbestPngIdx
 
caf::Proxy< intbestVtxIdx
 
caf::Proxy< float > chi2T
 
caf::Proxy< float > dEdXLL
 
caf::Proxy< float > energy
 
caf::Proxy< float > hitRatio
 
caf::Proxy< float > len
 
caf::Proxy< caf::SRVector3Dmomentum
 
caf::Proxy< intpdg
 
caf::Proxy< float > pid
 

Detailed Description

template<>
class caf::Proxy< caf::SRBpfId >

Proxy for caf::SRBpfId.

Definition at line 770 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 1455 of file SRProxy.cxx.

1455  :
1456  bestBpfIdx(d, tr, Join(name, "bestBpfIdx"), base, offset),
1457  bestPngIdx(d, tr, Join(name, "bestPngIdx"), base, offset),
1458  bestVtxIdx(d, tr, Join(name, "bestVtxIdx"), base, offset),
1459  chi2T(d, tr, Join(name, "chi2T"), base, offset),
1460  dEdXLL(d, tr, Join(name, "dEdXLL"), base, offset),
1461  energy(d, tr, Join(name, "energy"), base, offset),
1462  hitRatio(d, tr, Join(name, "hitRatio"), base, offset),
1463  len(d, tr, Join(name, "len"), base, offset),
1464  momentum(d, tr, Join(name, "momentum"), base, offset),
1465  pdg(d, tr, Join(name, "pdg"), base, offset),
1466  pid(d, tr, Join(name, "pid"), base, offset)
1467 {
1468 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRVector3D > momentum
Definition: SRProxy.h:788
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< float > hitRatio
Definition: SRProxy.h:786
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< int > bestVtxIdx
Definition: SRProxy.h:782
caf::Proxy< float > pid
Definition: SRProxy.h:790
caf::Proxy< int > bestPngIdx
Definition: SRProxy.h:781
Float_t d
Definition: plot.C:236
caf::Proxy< int > pdg
Definition: SRProxy.h:789
caf::Proxy< float > dEdXLL
Definition: SRProxy.h:784
caf::Proxy< int > bestBpfIdx
Definition: SRProxy.h:780
caf::Proxy< float > energy
Definition: SRProxy.h:785
caf::Proxy< float > len
Definition: SRProxy.h:787
caf::Proxy< float > chi2T
Definition: SRProxy.h:783
caf::Proxy< caf::SRBpfId >::Proxy ( const Proxy< caf::SRBpfId > &  )
delete
caf::Proxy< caf::SRBpfId >::Proxy ( const Proxy< caf::SRBpfId > &&  )
delete

Member Function Documentation

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

Definition at line 1486 of file SRProxy.cxx.

References caf::SRBpfId::bestBpfIdx, caf::SRBpfId::bestPngIdx, caf::SRBpfId::bestVtxIdx, caf::SRBpfId::chi2T, caf::SRBpfId::dEdXLL, energy, caf::SRBpfId::energy, caf::SRBpfId::hitRatio, caf::SRBpfId::len, caf::SRBpfId::momentum, make_training::momentum, caf::SRBpfId::pdg, make_root_from_grid_output::pdg, BlessedPlots::pid, and caf::SRBpfId::pid.

1487 {
1491  chi2T.CheckEquals(sr.chi2T);
1495  len.CheckEquals(sr.len);
1497  pdg.CheckEquals(sr.pdg);
1498  pid.CheckEquals(sr.pid);
1499 }
const XML_Char int len
Definition: expat.h:262
int pdg
pdg code for the tracking assumption used to make the best muon track
Definition: SRBpfId.h:27
caf::Proxy< caf::SRVector3D > momentum
Definition: SRProxy.h:788
int bestVtxIdx
elastic arms vertex index for the best muon track
Definition: SRBpfId.h:24
caf::Proxy< float > hitRatio
Definition: SRProxy.h:786
int bestBpfIdx
bpf track index for the best muon track
Definition: SRBpfId.h:26
float len
reconstructed track length for the best muon track (input variable for the muon PID) ...
Definition: SRBpfId.h:35
caf::Proxy< int > bestVtxIdx
Definition: SRProxy.h:782
float hitRatio
ratio of hits in track to hits in prong (input to the muon PID) for the best muon track ...
Definition: SRBpfId.h:31
caf::Proxy< float > pid
Definition: SRProxy.h:790
float energy
reconstructed total energy for the best muon track
Definition: SRBpfId.h:33
caf::Proxy< int > bestPngIdx
Definition: SRProxy.h:781
float pid
muon PID value from the best muon track
Definition: SRBpfId.h:28
caf::Proxy< int > pdg
Definition: SRProxy.h:789
float chi2T
total chi^2 from the track fit for the best muon track
Definition: SRBpfId.h:29
caf::Proxy< float > dEdXLL
Definition: SRProxy.h:784
int bestPngIdx
fuzzyk prong index for the best muon track
Definition: SRBpfId.h:25
caf::Proxy< int > bestBpfIdx
Definition: SRProxy.h:780
SRVector3D momentum
reconstructed momentum for the best muon track (access via: sel.bpfid.momentum.{x,y,z})
Definition: SRBpfId.h:32
caf::Proxy< float > energy
Definition: SRProxy.h:785
float dEdXLL
dE/dx log-likelihood from the best muon track (input to the muon PID)
Definition: SRBpfId.h:30
caf::Proxy< float > chi2T
Definition: SRProxy.h:783
void CheckEquals(const T &x) const
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
caf::Proxy< caf::SRBpfId > & caf::Proxy< caf::SRBpfId >::operator= ( const caf::SRBpfId x)

Definition at line 1470 of file SRProxy.cxx.

References caf::SRBpfId::bestBpfIdx, caf::SRBpfId::bestPngIdx, caf::SRBpfId::bestVtxIdx, caf::SRBpfId::chi2T, caf::SRBpfId::dEdXLL, energy, caf::SRBpfId::energy, caf::SRBpfId::hitRatio, caf::SRBpfId::len, caf::SRBpfId::momentum, make_training::momentum, caf::SRBpfId::pdg, make_root_from_grid_output::pdg, BlessedPlots::pid, and caf::SRBpfId::pid.

1471 {
1472  bestBpfIdx = sr.bestBpfIdx;
1473  bestPngIdx = sr.bestPngIdx;
1474  bestVtxIdx = sr.bestVtxIdx;
1475  chi2T = sr.chi2T;
1476  dEdXLL = sr.dEdXLL;
1477  energy = sr.energy;
1478  hitRatio = sr.hitRatio;
1479  len = sr.len;
1480  momentum = sr.momentum;
1481  pdg = sr.pdg;
1482  pid = sr.pid;
1483  return *this;
1484 }
const XML_Char int len
Definition: expat.h:262
caf::Proxy< caf::SRVector3D > momentum
Definition: SRProxy.h:788
caf::Proxy< float > hitRatio
Definition: SRProxy.h:786
caf::Proxy< int > bestVtxIdx
Definition: SRProxy.h:782
caf::Proxy< float > pid
Definition: SRProxy.h:790
caf::Proxy< int > bestPngIdx
Definition: SRProxy.h:781
caf::StandardRecord * sr
caf::Proxy< int > pdg
Definition: SRProxy.h:789
caf::Proxy< float > dEdXLL
Definition: SRProxy.h:784
caf::Proxy< int > bestBpfIdx
Definition: SRProxy.h:780
caf::Proxy< float > energy
Definition: SRProxy.h:785
SREnergyBranch energy
Energy estimator branch.
caf::Proxy< float > chi2T
Definition: SRProxy.h:783

Member Data Documentation

Definition at line 780 of file SRProxy.h.

Definition at line 781 of file SRProxy.h.

Definition at line 782 of file SRProxy.h.

Definition at line 783 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBpfId >::dEdXLL

Definition at line 784 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBpfId >::energy

Definition at line 785 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBpfId >::hitRatio

Definition at line 786 of file SRProxy.h.

Definition at line 787 of file SRProxy.h.

Definition at line 788 of file SRProxy.h.

Definition at line 789 of file SRProxy.h.

Definition at line 790 of file SRProxy.h.


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