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

Proxy for caf::SRShower. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/StandardRecord/Proxy/SRProxy.h"

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

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

Public Attributes

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::SRShower >

Proxy for caf::SRShower.

Definition at line 1516 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 3017 of file SRProxy.cxx.

3017  :
3018  calE(d, tr, Join(name, "calE"), base, offset),
3019  dir(d, tr, Join(name, "dir"), base, offset),
3020  gap(d, tr, Join(name, "gap"), base, offset),
3021  len(d, tr, Join(name, "len"), base, offset),
3022  maxplanecont(d, tr, Join(name, "maxplanecont"), base, offset),
3023  maxplanegap(d, tr, Join(name, "maxplanegap"), base, offset),
3024  nhit(d, tr, Join(name, "nhit"), base, offset),
3025  nhitx(d, tr, Join(name, "nhitx"), base, offset),
3026  nhity(d, tr, Join(name, "nhity"), base, offset),
3027  nplane(d, tr, Join(name, "nplane"), base, offset),
3028  nplanex(d, tr, Join(name, "nplanex"), base, offset),
3029  nplaney(d, tr, Join(name, "nplaney"), base, offset),
3030  start(d, tr, Join(name, "start"), base, offset),
3031  stop(d, tr, Join(name, "stop"), base, offset),
3032  truth(d, tr, Join(name, "truth"), base, offset),
3033  truthXView(d, tr, Join(name, "truthXView"), base, offset),
3034  truthYView(d, tr, Join(name, "truthYView"), base, offset),
3035  view(d, tr, Join(name, "view"), base, offset),
3036  width(d, tr, Join(name, "width"), base, offset)
3037 {
3038 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1533
caf::Proxy< caf::SRVector3D > stop
Definition: SRProxy.h:1539
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1537
caf::Proxy< caf::SRVector3D > dir
Definition: SRProxy.h:1527
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1543
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< caf::SRParticleTruth > truth
Definition: SRProxy.h:1540
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< short unsigned int > maxplanegap
Definition: SRProxy.h:1531
caf::Proxy< float > len
Definition: SRProxy.h:1529
caf::Proxy< short unsigned int > nhit
Definition: SRProxy.h:1532
Float_t d
Definition: plot.C:236
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:1538
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1535
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1530
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1534
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
caf::Proxy< float > gap
Definition: SRProxy.h:1528
caf::Proxy< float > calE
Definition: SRProxy.h:1526
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1536
caf::Proxy< caf::SRShower >::Proxy ( const Proxy< caf::SRShower > &  )
delete
caf::Proxy< caf::SRShower >::Proxy ( const Proxy< caf::SRShower > &&  )
delete

Member Function Documentation

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

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
caf::Proxy< caf::SRShower > & caf::Proxy< caf::SRShower >::operator= ( const caf::SRShower x)

Definition at line 3040 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.

3041 {
3042  calE = sr.calE;
3043  dir = sr.dir;
3044  gap = sr.gap;
3045  len = sr.len;
3046  maxplanecont = sr.maxplanecont;
3047  maxplanegap = sr.maxplanegap;
3048  nhit = sr.nhit;
3049  nhitx = sr.nhitx;
3050  nhity = sr.nhity;
3051  nplane = sr.nplane;
3052  nplanex = sr.nplanex;
3053  nplaney = sr.nplaney;
3054  start = sr.start;
3055  stop = sr.stop;
3056  truth = sr.truth;
3057  truthXView = sr.truthXView;
3058  truthYView = sr.truthYView;
3059  view = sr.view;
3060  width = sr.width;
3061  return *this;
3062 }
const XML_Char int len
Definition: expat.h:262
caf::Proxy< short unsigned int > nhitx
Definition: SRProxy.h:1533
caf::Proxy< caf::SRVector3D > stop
Definition: SRProxy.h:1539
caf::Proxy< short unsigned int > nplaney
Definition: SRProxy.h:1537
caf::Proxy< caf::SRVector3D > dir
Definition: SRProxy.h:1527
caf::Proxy< caf::View_t > view
Definition: SRProxy.h:1543
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::StandardRecord * sr
caf::Proxy< caf::SRVector3D > start
Definition: SRProxy.h:1538
caf::Proxy< short unsigned int > nplane
Definition: SRProxy.h:1535
caf::Proxy< short unsigned int > maxplanecont
Definition: SRProxy.h:1530
caf::Proxy< short unsigned int > nhity
Definition: SRProxy.h:1534
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
caf::Proxy< float > gap
Definition: SRProxy.h:1528
caf::Proxy< float > calE
Definition: SRProxy.h:1526
caf::Proxy< short unsigned int > nplanex
Definition: SRProxy.h:1536

Member Data Documentation

Definition at line 1526 of file SRProxy.h.

Definition at line 1527 of file SRProxy.h.

Definition at line 1528 of file SRProxy.h.

Definition at line 1529 of file SRProxy.h.

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

Definition at line 1530 of file SRProxy.h.

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

Definition at line 1531 of file SRProxy.h.

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

Definition at line 1532 of file SRProxy.h.

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

Definition at line 1533 of file SRProxy.h.

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

Definition at line 1534 of file SRProxy.h.

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

Definition at line 1535 of file SRProxy.h.

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

Definition at line 1536 of file SRProxy.h.

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

Definition at line 1537 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 1544 of file SRProxy.h.


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