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

Proxy for caf::SRShowerLID. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/StandardRecord/Proxy/SRProxy.h"

Inheritance diagram for caf::Proxy< caf::SRShowerLID >:
caf::Proxy< caf::SRShower >

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::SRShowerLID &x)
 
void CheckEquals (const caf::SRShowerLID &sr) const
 
void CheckEquals (const caf::SRShower &sr) const
 

Public Attributes

caf::Proxy< caf::SRSLidlid
 
caf::Proxy< caf::SRSLidEnergylidE
 
caf::Proxy< float > shwE
 
caf::Proxy< float > vtxE
 
caf::Proxy< float > calE
 
caf::Proxy< caf::SRVector3Ddir
 
caf::Proxy< float > gap
 
caf::Proxy< float > len
 
caf::Proxy< short unsigned intmaxplanecont
 
caf::Proxy< short unsigned intmaxplanegap
 
caf::Proxy< short unsigned intnhit
 
caf::Proxy< short unsigned intnhitx
 
caf::Proxy< short unsigned intnhity
 
caf::Proxy< short unsigned intnplane
 
caf::Proxy< short unsigned intnplanex
 
caf::Proxy< short unsigned intnplaney
 
caf::Proxy< caf::SRVector3Dstart
 
caf::Proxy< caf::SRVector3Dstop
 
caf::Proxy< caf::SRParticleTruthtruth
 
caf::Proxy< caf::SRParticleTruthtruthXView
 
caf::Proxy< caf::SRParticleTruthtruthYView
 
caf::Proxy< caf::View_tview
 
caf::Proxy< float > width
 

Detailed Description

template<>
class caf::Proxy< caf::SRShowerLID >

Proxy for caf::SRShowerLID.

Definition at line 1606 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3235 of file SRProxy.cxx.

3235  :
3237  lid(d, tr, Join(name, "lid"), base, offset),
3238  lidE(d, tr, Join(name, "lidE"), base, offset),
3239  shwE(d, tr, Join(name, "shwE"), base, offset),
3240  vtxE(d, tr, Join(name, "vtxE"), base, offset)
3241 {
3242 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1616
Proxy for caf::SRShower.
Definition: SRProxy.h:1516
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
caf::Proxy< float > shwE
Definition: SRProxy.h:1618
caf::Proxy< float > vtxE
Definition: SRProxy.h:1619
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1617
caf::Proxy< caf::SRShowerLID >::Proxy ( const Proxy< caf::SRShowerLID > &&  )
delete

Member Function Documentation

void caf::Proxy< caf::SRShower >::CheckEquals ( const caf::SRShower sr) const
inherited

Definition at line 3064 of file SRProxy.cxx.

References caf::SRShower::calE, dir, caf::SRShower::dir, caf::SRShower::gap, caf::SRShower::len, caf::SRShower::maxplanecont, caf::SRShower::maxplanegap, demo1::nhit, caf::SRShower::nhit, caf::SRShower::nhitx, caf::SRShower::nhity, caf::SRShower::nplane, caf::SRShower::nplanex, caf::SRShower::nplaney, caf::SRShower::start, febshutoff_auto::start, caf::SRShower::stop, caf::SRShower::truth, caf::SRShower::truthXView, caf::SRShower::truthYView, caf::SRShower::view, POTSpillRate::view, and caf::SRShower::width.

3065 {
3066  calE.CheckEquals(sr.calE);
3067  dir.CheckEquals(sr.dir);
3068  gap.CheckEquals(sr.gap);
3069  len.CheckEquals(sr.len);
3072  nhit.CheckEquals(sr.nhit);
3073  nhitx.CheckEquals(sr.nhitx);
3074  nhity.CheckEquals(sr.nhity);
3078  start.CheckEquals(sr.start);
3079  stop.CheckEquals(sr.stop);
3080  truth.CheckEquals(sr.truth);
3083  view.CheckEquals(sr.view);
3084  width.CheckEquals(sr.width);
3085 }
const XML_Char int len
Definition: expat.h:262
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1533
unsigned short maxplanecont
maximum number of contiguous planes in prong
Definition: SRShower.h:29
SRVector3D dir
Shower direction at start point [unit vector recommended].
Definition: SRShower.h:33
caf::Proxy< caf::SRVector3D > stop
Definition: SRProxy.h:1539
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1537
unsigned short nplaney
number of planes spanned in y view
Definition: SRShower.h:39
float gap
gap from shower start to ElasticArms vertex [cm]
Definition: SRShower.h:40
unsigned short nhit
number of hits
Definition: SRShower.h:25
caf::Proxy< caf::SRVector3D > dir
Definition: SRProxy.h:1527
unsigned short nhitx
number of hits in x-view
Definition: SRShower.h:26
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1543
SRParticleTruth truth
Truth information for the prong.
Definition: SRShower.h:42
float calE
energy based on summed calibrated deposited charge [GeV]
Definition: SRShower.h:31
void CheckEquals(const caf::SRParticleTruth &sr) const
Definition: SRProxy.cxx:1222
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:1540
caf::Proxy< short unsigned int > maxplanegap
Definition: SRProxy.h:1531
caf::Proxy< short unsigned int > nhit
Definition: SRProxy.h:1532
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:1538
unsigned short nplanex
number of planes spanned in x view
Definition: SRShower.h:38
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1535
SRVector3D start
Shower start point in detector coordinates. [cm].
Definition: SRShower.h:32
SRParticleTruth truthYView
Truth information for the prong.
Definition: SRShower.h:44
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1530
unsigned short nplane
number of planes spanned
Definition: SRShower.h:28
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1534
unsigned short nhity
number of hits in y-view
Definition: SRShower.h:27
caf::Proxy< caf::SRParticleTruth > truthXView
Definition: SRProxy.h:1541
caf::Proxy< caf::SRParticleTruth > truthYView
Definition: SRProxy.h:1542
caf::Proxy< float > width
Definition: SRProxy.h:1544
SRVector3D stop
shower stop point
Definition: SRShower.h:41
caf::Proxy< float > gap
Definition: SRProxy.h:1528
caf::Proxy< float > calE
Definition: SRProxy.h:1526
float len
track length [cm]
Definition: SRShower.h:34
unsigned short maxplanegap
maximum number of gapped planes in prong
Definition: SRShower.h:30
float width
Shower width [cm].
Definition: SRShower.h:37
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
Definition: SRShower.h:35
void CheckEquals(const T &x) const
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1536
SRParticleTruth truthXView
Truth information for the prong.
Definition: SRShower.h:43
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
void caf::Proxy< caf::SRShowerLID >::CheckEquals ( const caf::SRShowerLID sr) const

Definition at line 3254 of file SRProxy.cxx.

References caf::Proxy< T >::CheckEquals(), caf::SRShowerLID::lid, caf::SRShowerLID::lidE, caf::SRShowerLID::shwE, and caf::SRShowerLID::vtxE.

3255 {
3257  lid.CheckEquals(sr.lid);
3258  lidE.CheckEquals(sr.lidE);
3259  shwE.CheckEquals(sr.shwE);
3260  vtxE.CheckEquals(sr.vtxE);
3261 }
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1616
void CheckEquals(const caf::SRSLidEnergy &sr) const
Definition: SRProxy.cxx:34
caf::Proxy< float > shwE
Definition: SRProxy.h:1618
void CheckEquals(const caf::SRSLid &sr) const
Definition: SRProxy.cxx:3186
caf::Proxy< float > vtxE
Definition: SRProxy.h:1619
float shwE
reconstructed shower energy [GeV]
Definition: SRShowerLID.h:28
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1617
SRSLidEnergy lidE
Definition: SRShowerLID.h:34
void CheckEquals(const T &x) const
float vtxE
calorimetric energy of [GeV]
Definition: SRShowerLID.h:29

Definition at line 3244 of file SRProxy.cxx.

References caf::SRShowerLID::lid, caf::SRShowerLID::lidE, caf::Proxy< T >::operator=(), caf::SRShowerLID::shwE, and caf::SRShowerLID::vtxE.

3245 {
3247  lid = sr.lid;
3248  lidE = sr.lidE;
3249  shwE = sr.shwE;
3250  vtxE = sr.vtxE;
3251  return *this;
3252 }
caf::Proxy< caf::SRSLid > lid
Definition: SRProxy.h:1616
Proxy & operator=(const Proxy &)=delete
caf::Proxy< float > shwE
Definition: SRProxy.h:1618
caf::StandardRecord * sr
caf::Proxy< float > vtxE
Definition: SRProxy.h:1619
caf::Proxy< caf::SRSLidEnergy > lidE
Definition: SRProxy.h:1617

Member Data Documentation

caf::Proxy<float> caf::Proxy< caf::SRShower >::calE
inherited

Definition at line 1526 of file SRProxy.h.

Definition at line 1527 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRShower >::gap
inherited

Definition at line 1528 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRShower >::len
inherited

Definition at line 1529 of file SRProxy.h.

Definition at line 1616 of file SRProxy.h.

Definition at line 1617 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::maxplanecont
inherited

Definition at line 1530 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::maxplanegap
inherited

Definition at line 1531 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nhit
inherited

Definition at line 1532 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nhitx
inherited

Definition at line 1533 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nhity
inherited

Definition at line 1534 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nplane
inherited

Definition at line 1535 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nplanex
inherited

Definition at line 1536 of file SRProxy.h.

caf::Proxy<short unsigned int> caf::Proxy< caf::SRShower >::nplaney
inherited

Definition at line 1537 of file SRProxy.h.

Definition at line 1618 of file SRProxy.h.

Definition at line 1538 of file SRProxy.h.

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

Definition at line 1539 of file SRProxy.h.

Definition at line 1540 of file SRProxy.h.

Definition at line 1541 of file SRProxy.h.

Definition at line 1542 of file SRProxy.h.

Definition at line 1543 of file SRProxy.h.

Definition at line 1619 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRShower >::width
inherited

Definition at line 1544 of file SRProxy.h.


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