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

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

Public Attributes

caf::Proxy< float > E
 
caf::Proxy< caf::SRLorentzVectormustop
 
caf::Proxy< caf::SRLorentzVectorp
 
caf::Proxy< float > time
 
caf::Proxy< float > visE
 

Detailed Description

template<>
class caf::Proxy< caf::SRTrueMichelE >

Proxy for caf::SRTrueMichelE.

Definition at line 291 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 486 of file SRProxy.cxx.

486  :
487  E(d, tr, Join(name, "E"), base, offset),
488  mustop(d, tr, Join(name, "mustop"), base, offset),
489  p(d, tr, Join(name, "p"), base, offset),
490  time(d, tr, Join(name, "time"), base, offset),
491  visE(d, tr, Join(name, "visE"), base, offset)
492 {
493 }
const XML_Char * name
Definition: expat.h:151
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
caf::Proxy< float > visE
Definition: SRProxy.h:305
caf::Proxy< caf::SRLorentzVector > mustop
Definition: SRProxy.h:302
caf::Proxy< float > E
Definition: SRProxy.h:301
Float_t d
Definition: plot.C:236
caf::Proxy< caf::SRLorentzVector > p
Definition: SRProxy.h:303
caf::Proxy< float > time
Definition: SRProxy.h:304

Member Function Documentation

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

Definition at line 505 of file SRProxy.cxx.

References E, caf::SRTrueMichelE::E, caf::SRTrueMichelE::mustop, caf::SRTrueMichelE::p, caf::SRTrueMichelE::time, and caf::SRTrueMichelE::visE.

506 {
507  E.CheckEquals(sr.E);
509  p.CheckEquals(sr.p);
510  time.CheckEquals(sr.time);
511  visE.CheckEquals(sr.visE);
512 }
SRLorentzVector p
Momentum 4-vector.
Definition: SRTrueMichelE.h:27
float visE
Visible Energy in detector, all summed FLSHits that made CellHits [GeV].
Definition: SRTrueMichelE.h:22
const char * p
Definition: xmltok.h:285
caf::Proxy< float > visE
Definition: SRProxy.h:305
caf::Proxy< caf::SRLorentzVector > mustop
Definition: SRProxy.h:302
float time
Time of first Michel electron trajectory point [GeV].
Definition: SRTrueMichelE.h:23
caf::Proxy< float > E
Definition: SRProxy.h:301
float E
True energy of electron [GeV].
Definition: SRTrueMichelE.h:19
SRLorentzVector mustop
Stopping position of parent muon [cm].
Definition: SRTrueMichelE.h:26
void CheckEquals(const caf::SRLorentzVector &sr) const
Definition: SRProxy.cxx:478
void CheckEquals(const T &x) const

Definition at line 495 of file SRProxy.cxx.

References E, caf::SRTrueMichelE::E, caf::SRTrueMichelE::mustop, caf::SRTrueMichelE::p, caf::SRTrueMichelE::time, and caf::SRTrueMichelE::visE.

496 {
497  E = sr.E;
498  mustop = sr.mustop;
499  p = sr.p;
500  time = sr.time;
501  visE = sr.visE;
502  return *this;
503 }
const char * p
Definition: xmltok.h:285
caf::Proxy< float > visE
Definition: SRProxy.h:305
caf::Proxy< caf::SRLorentzVector > mustop
Definition: SRProxy.h:302
caf::Proxy< float > E
Definition: SRProxy.h:301
caf::StandardRecord * sr

Member Data Documentation

Definition at line 301 of file SRProxy.h.

Definition at line 302 of file SRProxy.h.

Definition at line 303 of file SRProxy.h.

Definition at line 304 of file SRProxy.h.

Definition at line 305 of file SRProxy.h.


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