Public Member Functions | Protected Attributes | List of all members
flat::FlatNumuSandbox Class Reference

Flat encoding of SRNumuSandbox. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/FlatMaker/FlatNumuSandbox.h"

Public Member Functions

 FlatNumuSandbox (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatNumuSandbox ()
 
void Fill (const caf::SRNumuSandbox &sr)
 

Protected Attributes

int pimudecay
 
int nprotons
 
int nmutrks
 
int nhadHits
 
int nhadCellsFromEdge
 
float offTrkFra
 
float actVtx
 
float avedEdxtrk1
 
float avedEdxtrk2
 
float avedEdxtrk1Last4Cells
 
float avedEdxtrk2Last4Cells
 
float avedEdxtrk1Last6Cells
 
float avedEdxtrk2Last6Cells
 
float avedEdxtrk1Last8Cells
 
float avedEdxtrk2Last8Cells
 
float scattAngtrk1
 
float scattAngtrk2
 
float vtxE20
 
float vtxE40
 
float vtxE60
 

Detailed Description

Flat encoding of SRNumuSandbox.

Definition at line 20 of file FlatNumuSandbox.h.

Constructor & Destructor Documentation

flat::FlatNumuSandbox::FlatNumuSandbox ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 423 of file FlatRecord.cxx.

References compare_h5_caf::branch.

424 {
425  branch(tr, prefix+"pimudecay", &pimudecay, policy);
426  branch(tr, prefix+"nprotons", &nprotons, policy);
427  branch(tr, prefix+"nmutrks", &nmutrks, policy);
428  branch(tr, prefix+"nhadHits", &nhadHits, policy);
429  branch(tr, prefix+"nhadCellsFromEdge", &nhadCellsFromEdge, policy);
430  branch(tr, prefix+"offTrkFra", &offTrkFra, policy);
431  branch(tr, prefix+"actVtx", &actVtx, policy);
432  branch(tr, prefix+"avedEdxtrk1", &avedEdxtrk1, policy);
433  branch(tr, prefix+"avedEdxtrk2", &avedEdxtrk2, policy);
434  branch(tr, prefix+"avedEdxtrk1Last4Cells", &avedEdxtrk1Last4Cells, policy);
435  branch(tr, prefix+"avedEdxtrk2Last4Cells", &avedEdxtrk2Last4Cells, policy);
436  branch(tr, prefix+"avedEdxtrk1Last6Cells", &avedEdxtrk1Last6Cells, policy);
437  branch(tr, prefix+"avedEdxtrk2Last6Cells", &avedEdxtrk2Last6Cells, policy);
438  branch(tr, prefix+"avedEdxtrk1Last8Cells", &avedEdxtrk1Last8Cells, policy);
439  branch(tr, prefix+"avedEdxtrk2Last8Cells", &avedEdxtrk2Last8Cells, policy);
440  branch(tr, prefix+"scattAngtrk1", &scattAngtrk1, policy);
441  branch(tr, prefix+"scattAngtrk2", &scattAngtrk2, policy);
442  branch(tr, prefix+"vtxE20", &vtxE20, policy);
443  branch(tr, prefix+"vtxE40", &vtxE40, policy);
444  branch(tr, prefix+"vtxE60", &vtxE60, policy);
445 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatNumuSandbox::~FlatNumuSandbox ( )

Definition at line 447 of file FlatRecord.cxx.

448 {
449 }

Member Function Documentation

void flat::FlatNumuSandbox::Fill ( const caf::SRNumuSandbox sr)

Definition at line 451 of file FlatRecord.cxx.

References caf::SRNumuSandbox::actVtx, caf::SRNumuSandbox::avedEdxtrk1, caf::SRNumuSandbox::avedEdxtrk1Last4Cells, caf::SRNumuSandbox::avedEdxtrk1Last6Cells, caf::SRNumuSandbox::avedEdxtrk1Last8Cells, caf::SRNumuSandbox::avedEdxtrk2, caf::SRNumuSandbox::avedEdxtrk2Last4Cells, caf::SRNumuSandbox::avedEdxtrk2Last6Cells, caf::SRNumuSandbox::avedEdxtrk2Last8Cells, caf::SRNumuSandbox::nhadCellsFromEdge, caf::SRNumuSandbox::nhadHits, caf::SRNumuSandbox::nmutrks, caf::SRNumuSandbox::nprotons, caf::SRNumuSandbox::offTrkFra, caf::SRNumuSandbox::pimudecay, caf::SRNumuSandbox::scattAngtrk1, caf::SRNumuSandbox::scattAngtrk2, caf::SRNumuSandbox::vtxE20, caf::SRNumuSandbox::vtxE40, and caf::SRNumuSandbox::vtxE60.

452 {
453  pimudecay = sr.pimudecay;
454  nprotons = sr.nprotons;
455  nmutrks = sr.nmutrks;
456  nhadHits = sr.nhadHits;
458  offTrkFra = sr.offTrkFra;
459  actVtx = sr.actVtx;
470  vtxE20 = sr.vtxE20;
471  vtxE40 = sr.vtxE40;
472  vtxE60 = sr.vtxE60;
473 }
float avedEdxtrk2Last4Cells
average dEdx for second track in slice for last 4 cells
Definition: SRNumuSandbox.h:33
float scattAngtrk2
scattering angle for second track in slice
Definition: SRNumuSandbox.h:39
float avedEdxtrk1
average dEdx for first track in slice
Definition: SRNumuSandbox.h:30
int nhadHits
number of hits from hadronic system
Definition: SRNumuSandbox.h:26
float scattAngtrk1
scattering angle for second track in slice
Definition: SRNumuSandbox.h:38
int pimudecay
did slice contain pi->mu decay?
Definition: SRNumuSandbox.h:22
float vtxE40
Energy within 40 cm of vtx.
Definition: SRNumuSandbox.h:42
float avedEdxtrk2Last6Cells
average dEdx for second track in slice for last 6 cells
Definition: SRNumuSandbox.h:35
int nhadCellsFromEdge
cells from edge from hadronic system
Definition: SRNumuSandbox.h:27
float avedEdxtrk1Last4Cells
average dEdx for first track in slice for last 4 cells
Definition: SRNumuSandbox.h:32
float avedEdxtrk1Last8Cells
average dEdx for first track in slice for last 8 cells
Definition: SRNumuSandbox.h:36
float vtxE20
Energy within 20 cm of vtx.
Definition: SRNumuSandbox.h:41
float actVtx
proxy for (hadE-calE[2nd trk])/nu energy
Definition: SRNumuSandbox.h:29
float avedEdxtrk1Last6Cells
average dEdx for first track in slice for last 6 cells
Definition: SRNumuSandbox.h:34
float avedEdxtrk2Last8Cells
average dEdx for second track in slice for last 8 cells
Definition: SRNumuSandbox.h:37
float offTrkFra
proxy for off track energy fraction
Definition: SRNumuSandbox.h:28
float avedEdxtrk2
average dEdx for second track in slice
Definition: SRNumuSandbox.h:31
float vtxE60
Energy within 60 cm of vtx.
Definition: SRNumuSandbox.h:43

Member Data Documentation

float flat::FlatNumuSandbox::actVtx
protected

Definition at line 35 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk1
protected

Definition at line 36 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk1Last4Cells
protected

Definition at line 38 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk1Last6Cells
protected

Definition at line 40 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk1Last8Cells
protected

Definition at line 42 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk2
protected

Definition at line 37 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk2Last4Cells
protected

Definition at line 39 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk2Last6Cells
protected

Definition at line 41 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::avedEdxtrk2Last8Cells
protected

Definition at line 43 of file FlatNumuSandbox.h.

int flat::FlatNumuSandbox::nhadCellsFromEdge
protected

Definition at line 33 of file FlatNumuSandbox.h.

int flat::FlatNumuSandbox::nhadHits
protected

Definition at line 32 of file FlatNumuSandbox.h.

int flat::FlatNumuSandbox::nmutrks
protected

Definition at line 31 of file FlatNumuSandbox.h.

int flat::FlatNumuSandbox::nprotons
protected

Definition at line 30 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::offTrkFra
protected

Definition at line 34 of file FlatNumuSandbox.h.

int flat::FlatNumuSandbox::pimudecay
protected

Definition at line 29 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::scattAngtrk1
protected

Definition at line 44 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::scattAngtrk2
protected

Definition at line 45 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::vtxE20
protected

Definition at line 46 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::vtxE40
protected

Definition at line 47 of file FlatNumuSandbox.h.

float flat::FlatNumuSandbox::vtxE60
protected

Definition at line 48 of file FlatNumuSandbox.h.


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