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

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

Public Attributes

caf::Proxy< float > dk2gen
 
caf::Proxy< float > dk2vtx
 
caf::Proxy< float > gen2vtx
 
caf::Proxy< float > mupare
 
caf::Proxy< caf::SRVector3Dmuparp
 
caf::Proxy< intndecay
 
caf::Proxy< float > necm
 
caf::Proxy< float > nimpwt
 
caf::Proxy< caf::SRVector3Dpdp
 
caf::Proxy< intpotnum
 
caf::Proxy< float > ppdxdz
 
caf::Proxy< float > ppdydz
 
caf::Proxy< float > ppenergy
 
caf::Proxy< intppmedium
 
caf::Proxy< float > pppz
 
caf::Proxy< caf::SRVector3Dppv
 
caf::Proxy< intptype
 
caf::Proxy< float > runjob
 
caf::Proxy< inttgen
 
caf::Proxy< inttgptype
 
caf::Proxy< caf::SRVector3Dtp
 
caf::Proxy< inttptype
 
caf::Proxy< caf::SRVector3Dtv
 
caf::Proxy< caf::SRVector3Dv
 

Detailed Description

template<>
class caf::Proxy< caf::SRBeam >

Proxy for caf::SRBeam.

Definition at line 340 of file SRProxy.h.

Constructor & Destructor Documentation

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

Definition at line 581 of file SRProxy.cxx.

581  :
582  dk2gen(d, tr, Join(name, "dk2gen"), base, offset),
583  dk2vtx(d, tr, Join(name, "dk2vtx"), base, offset),
584  gen2vtx(d, tr, Join(name, "gen2vtx"), base, offset),
585  mupare(d, tr, Join(name, "mupare"), base, offset),
586  muparp(d, tr, Join(name, "muparp"), base, offset),
587  ndecay(d, tr, Join(name, "ndecay"), base, offset),
588  necm(d, tr, Join(name, "necm"), base, offset),
589  nimpwt(d, tr, Join(name, "nimpwt"), base, offset),
590  pdp(d, tr, Join(name, "pdp"), base, offset),
591  potnum(d, tr, Join(name, "potnum"), base, offset),
592  ppdxdz(d, tr, Join(name, "ppdxdz"), base, offset),
593  ppdydz(d, tr, Join(name, "ppdydz"), base, offset),
594  ppenergy(d, tr, Join(name, "ppenergy"), base, offset),
595  ppmedium(d, tr, Join(name, "ppmedium"), base, offset),
596  pppz(d, tr, Join(name, "pppz"), base, offset),
597  ppv(d, tr, Join(name, "ppv"), base, offset),
598  ptype(d, tr, Join(name, "ptype"), base, offset),
599  runjob(d, tr, Join(name, "runjob"), base, offset),
600  tgen(d, tr, Join(name, "tgen"), base, offset),
601  tgptype(d, tr, Join(name, "tgptype"), base, offset),
602  tp(d, tr, Join(name, "tp"), base, offset),
603  tptype(d, tr, Join(name, "tptype"), base, offset),
604  tv(d, tr, Join(name, "tv"), base, offset),
605  v(d, tr, Join(name, "v"), base, offset)
606 {
607 }
const XML_Char * name
Definition: expat.h:151
caf::Proxy< float > gen2vtx
Definition: SRProxy.h:352
caf::Proxy< float > necm
Definition: SRProxy.h:356
caf::Proxy< float > runjob
Definition: SRProxy.h:367
caf::Proxy< float > mupare
Definition: SRProxy.h:353
caf::Proxy< float > nimpwt
Definition: SRProxy.h:357
caf::Proxy< float > dk2vtx
Definition: SRProxy.h:351
caf::Proxy< int > tgen
Definition: SRProxy.h:368
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
caf::Proxy< caf::SRVector3D > tv
Definition: SRProxy.h:372
caf::Proxy< float > pppz
Definition: SRProxy.h:364
caf::Proxy< float > dk2gen
Definition: SRProxy.h:350
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
caf::Proxy< float > ppdydz
Definition: SRProxy.h:361
caf::Proxy< caf::SRVector3D > muparp
Definition: SRProxy.h:354
caf::Proxy< caf::SRVector3D > v
Definition: SRProxy.h:373
caf::Proxy< float > ppdxdz
Definition: SRProxy.h:360
Float_t d
Definition: plot.C:236
caf::Proxy< float > ppenergy
Definition: SRProxy.h:362
caf::Proxy< int > tgptype
Definition: SRProxy.h:369
caf::Proxy< caf::SRVector3D > ppv
Definition: SRProxy.h:365
caf::Proxy< int > ptype
Definition: SRProxy.h:366
caf::Proxy< int > potnum
Definition: SRProxy.h:359
caf::Proxy< int > ndecay
Definition: SRProxy.h:355
caf::Proxy< caf::SRVector3D > pdp
Definition: SRProxy.h:358
caf::Proxy< caf::SRVector3D > tp
Definition: SRProxy.h:370
caf::Proxy< int > tptype
Definition: SRProxy.h:371
caf::Proxy< int > ppmedium
Definition: SRProxy.h:363
caf::Proxy< caf::SRBeam >::Proxy ( const Proxy< caf::SRBeam > &  )
delete
caf::Proxy< caf::SRBeam >::Proxy ( const Proxy< caf::SRBeam > &&  )
delete

Member Function Documentation

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

Definition at line 638 of file SRProxy.cxx.

References caf::SRBeam::dk2gen, caf::SRBeam::dk2vtx, caf::SRBeam::gen2vtx, caf::SRBeam::mupare, caf::SRBeam::muparp, caf::SRBeam::ndecay, caf::SRBeam::necm, caf::SRBeam::nimpwt, caf::SRBeam::pdp, caf::SRBeam::potnum, caf::SRBeam::ppdxdz, caf::SRBeam::ppdydz, caf::SRBeam::ppenergy, caf::SRBeam::ppmedium, caf::SRBeam::pppz, caf::SRBeam::ppv, caf::SRBeam::ptype, caf::SRBeam::runjob, caf::SRBeam::tgen, caf::SRBeam::tgptype, caf::SRBeam::tp, caf::SRBeam::tptype, caf::SRBeam::tv, registry_explorer::v, and caf::SRBeam::v.

639 {
646  necm.CheckEquals(sr.necm);
648  pdp.CheckEquals(sr.pdp);
654  pppz.CheckEquals(sr.pppz);
655  ppv.CheckEquals(sr.ppv);
656  ptype.CheckEquals(sr.ptype);
658  tgen.CheckEquals(sr.tgen);
660  tp.CheckEquals(sr.tp);
662  tv.CheckEquals(sr.tv);
663  v.CheckEquals(sr.v);
664 }
int potnum
Proton event number, indicates which simulated proton was taken.
Definition: SRBeam.h:34
int ndecay
"neutrino decay". Decay mode that produced neutrino
Definition: SRBeam.h:43
caf::Proxy< float > gen2vtx
Definition: SRProxy.h:352
int ppmedium
"parent particle medium". Tracking medium number where parent was produced
Definition: SRBeam.h:64
caf::Proxy< float > necm
Definition: SRProxy.h:356
caf::Proxy< float > runjob
Definition: SRProxy.h:367
caf::Proxy< float > mupare
Definition: SRProxy.h:353
int tptype
"target particle type". Parent particle ID exiting the target (PDG code)
Definition: SRBeam.h:37
caf::Proxy< float > nimpwt
Definition: SRProxy.h:357
caf::Proxy< float > dk2vtx
Definition: SRProxy.h:351
float gen2vtx
distance from ray origin to event vtx
Definition: SRBeam.h:91
SRVector3D muparp
Muon neutrino parent momentum, x component.
Definition: SRBeam.h:73
caf::Proxy< int > tgen
Definition: SRProxy.h:368
float dk2vtx
Definition: SRBeam.h:94
caf::Proxy< caf::SRVector3D > tv
Definition: SRProxy.h:372
caf::Proxy< float > pppz
Definition: SRProxy.h:364
caf::Proxy< float > dk2gen
Definition: SRProxy.h:350
SRVector3D pdp
"parent decay momentum". Parent momentum at decay point
Definition: SRBeam.h:49
float ppdydz
"parent particle momentum dy/dz". Parent dy/dz direction at production
Definition: SRBeam.h:55
caf::Proxy< float > ppdydz
Definition: SRProxy.h:361
caf::Proxy< caf::SRVector3D > muparp
Definition: SRProxy.h:354
caf::Proxy< caf::SRVector3D > v
Definition: SRProxy.h:373
caf::Proxy< float > ppdxdz
Definition: SRProxy.h:360
float ppenergy
"parent particle energy". Parent energy at production
Definition: SRBeam.h:61
int ptype
"parent type". Parent PDG code
Definition: SRBeam.h:67
caf::Proxy< float > ppenergy
Definition: SRProxy.h:362
float necm
Neutrino energy in CM frame.
Definition: SRBeam.h:79
SRVector3D tp
"target momentum". Parent momentum exiting the target
Definition: SRBeam.h:28
caf::Proxy< int > tgptype
Definition: SRProxy.h:369
caf::Proxy< caf::SRVector3D > ppv
Definition: SRProxy.h:365
float ppdxdz
"parent particle momentum dx/dx". Parent dx/dz direction at production
Definition: SRBeam.h:52
float mupare
Muon neutrino parent energy.
Definition: SRBeam.h:76
caf::Proxy< int > ptype
Definition: SRProxy.h:366
caf::Proxy< int > potnum
Definition: SRProxy.h:359
int tgptype
PDG of parent of the particle exiting the target.
Definition: SRBeam.h:85
float nimpwt
"neutrino importance weight". Weight of neutrino parent
Definition: SRBeam.h:40
float pppz
"parent particle p_z". Parent Z momentum at production
Definition: SRBeam.h:58
caf::Proxy< int > ndecay
Definition: SRProxy.h:355
caf::Proxy< caf::SRVector3D > pdp
Definition: SRProxy.h:358
float dk2gen
distance from decay to ray origin (ray origin is the intermediate point on the flux window) ...
Definition: SRBeam.h:88
SRVector3D v
"vertex". Position of hadron/muon decay
Definition: SRBeam.h:46
SRVector3D tv
"target vertex". Exit point of parent particle at the target
Definition: SRBeam.h:25
float runjob
Flux run number, indicates which FLUGG job created this flux.
Definition: SRBeam.h:31
SRVector3D ppv
"parent particle vertex". Parent production vertex
Definition: SRBeam.h:70
int tgen
nu parent generation 1=primary proton, 2=secondary, 3=tertiary, etc
Definition: SRBeam.h:82
void CheckEquals(const T &x) const
caf::Proxy< caf::SRVector3D > tp
Definition: SRProxy.h:370
caf::Proxy< int > tptype
Definition: SRProxy.h:371
caf::Proxy< int > ppmedium
Definition: SRProxy.h:363
void CheckEquals(const caf::SRVector3D &sr) const
Definition: SRProxy.cxx:140
caf::Proxy< caf::SRBeam > & caf::Proxy< caf::SRBeam >::operator= ( const caf::SRBeam x)

Definition at line 609 of file SRProxy.cxx.

References caf::SRBeam::dk2gen, caf::SRBeam::dk2vtx, caf::SRBeam::gen2vtx, caf::SRBeam::mupare, caf::SRBeam::muparp, caf::SRBeam::ndecay, caf::SRBeam::necm, caf::SRBeam::nimpwt, caf::SRBeam::pdp, caf::SRBeam::potnum, caf::SRBeam::ppdxdz, caf::SRBeam::ppdydz, caf::SRBeam::ppenergy, caf::SRBeam::ppmedium, caf::SRBeam::pppz, caf::SRBeam::ppv, caf::SRBeam::ptype, caf::SRBeam::runjob, caf::SRBeam::tgen, caf::SRBeam::tgptype, caf::SRBeam::tp, caf::SRBeam::tptype, caf::SRBeam::tv, registry_explorer::v, and caf::SRBeam::v.

610 {
611  dk2gen = sr.dk2gen;
612  dk2vtx = sr.dk2vtx;
613  gen2vtx = sr.gen2vtx;
614  mupare = sr.mupare;
615  muparp = sr.muparp;
616  ndecay = sr.ndecay;
617  necm = sr.necm;
618  nimpwt = sr.nimpwt;
619  pdp = sr.pdp;
620  potnum = sr.potnum;
621  ppdxdz = sr.ppdxdz;
622  ppdydz = sr.ppdydz;
623  ppenergy = sr.ppenergy;
624  ppmedium = sr.ppmedium;
625  pppz = sr.pppz;
626  ppv = sr.ppv;
627  ptype = sr.ptype;
628  runjob = sr.runjob;
629  tgen = sr.tgen;
630  tgptype = sr.tgptype;
631  tp = sr.tp;
632  tptype = sr.tptype;
633  tv = sr.tv;
634  v = sr.v;
635  return *this;
636 }
caf::Proxy< float > gen2vtx
Definition: SRProxy.h:352
caf::Proxy< float > necm
Definition: SRProxy.h:356
caf::Proxy< float > runjob
Definition: SRProxy.h:367
caf::Proxy< float > mupare
Definition: SRProxy.h:353
caf::Proxy< float > nimpwt
Definition: SRProxy.h:357
caf::Proxy< float > dk2vtx
Definition: SRProxy.h:351
caf::Proxy< int > tgen
Definition: SRProxy.h:368
caf::Proxy< caf::SRVector3D > tv
Definition: SRProxy.h:372
caf::Proxy< float > pppz
Definition: SRProxy.h:364
caf::Proxy< float > dk2gen
Definition: SRProxy.h:350
caf::Proxy< float > ppdydz
Definition: SRProxy.h:361
caf::Proxy< caf::SRVector3D > muparp
Definition: SRProxy.h:354
caf::Proxy< caf::SRVector3D > v
Definition: SRProxy.h:373
caf::Proxy< float > ppdxdz
Definition: SRProxy.h:360
caf::StandardRecord * sr
caf::Proxy< float > ppenergy
Definition: SRProxy.h:362
caf::Proxy< int > tgptype
Definition: SRProxy.h:369
caf::Proxy< caf::SRVector3D > ppv
Definition: SRProxy.h:365
caf::Proxy< int > ptype
Definition: SRProxy.h:366
caf::Proxy< int > potnum
Definition: SRProxy.h:359
caf::Proxy< int > ndecay
Definition: SRProxy.h:355
caf::Proxy< caf::SRVector3D > pdp
Definition: SRProxy.h:358
caf::Proxy< caf::SRVector3D > tp
Definition: SRProxy.h:370
caf::Proxy< int > tptype
Definition: SRProxy.h:371
caf::Proxy< int > ppmedium
Definition: SRProxy.h:363

Member Data Documentation

caf::Proxy<float> caf::Proxy< caf::SRBeam >::dk2gen

Definition at line 350 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::dk2vtx

Definition at line 351 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::gen2vtx

Definition at line 352 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::mupare

Definition at line 353 of file SRProxy.h.

Definition at line 354 of file SRProxy.h.

Definition at line 355 of file SRProxy.h.

Definition at line 356 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::nimpwt

Definition at line 357 of file SRProxy.h.

Definition at line 358 of file SRProxy.h.

Definition at line 359 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::ppdxdz

Definition at line 360 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::ppdydz

Definition at line 361 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::ppenergy

Definition at line 362 of file SRProxy.h.

Definition at line 363 of file SRProxy.h.

Definition at line 364 of file SRProxy.h.

Definition at line 365 of file SRProxy.h.

Definition at line 366 of file SRProxy.h.

caf::Proxy<float> caf::Proxy< caf::SRBeam >::runjob

Definition at line 367 of file SRProxy.h.

Definition at line 368 of file SRProxy.h.

Definition at line 369 of file SRProxy.h.

Definition at line 370 of file SRProxy.h.

Definition at line 371 of file SRProxy.h.

Definition at line 372 of file SRProxy.h.

Definition at line 373 of file SRProxy.h.


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