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

Flat encoding of SRProngTrainingData. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

int label3d
int labelx
int labely
bool isprimary
double purity3d
double purityx
double purityy
double rece
unsigned int ncellx
unsigned int ncelly
double vertx
double verty
double vertz
double plength
double pangle
double pgap

Detailed Description

Flat encoding of SRProngTrainingData.

Definition at line 20 of file FlatProngTrainingData.h.

Constructor & Destructor Documentation

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

Definition at line 4559 of file FlatRecord.cxx.

References compare_h5_caf::branch.

4560 {
4561  branch(tr, prefix+"label3d", &label3d, policy);
4562  branch(tr, prefix+"labelx", &labelx, policy);
4563  branch(tr, prefix+"labely", &labely, policy);
4564  branch(tr, prefix+"isprimary", &isprimary, policy);
4565  branch(tr, prefix+"purity3d", &purity3d, policy);
4566  branch(tr, prefix+"purityx", &purityx, policy);
4567  branch(tr, prefix+"purityy", &purityy, policy);
4568  branch(tr, prefix+"rece", &rece, policy);
4569  branch(tr, prefix+"ncellx", &ncellx, policy);
4570  branch(tr, prefix+"ncelly", &ncelly, policy);
4571  branch(tr, prefix+"vertx", &vertx, policy);
4572  branch(tr, prefix+"verty", &verty, policy);
4573  branch(tr, prefix+"vertz", &vertz, policy);
4574  branch(tr, prefix+"plength", &plength, policy);
4575  branch(tr, prefix+"pangle", &pangle, policy);
4576  branch(tr, prefix+"pgap", &pgap, policy);
4577 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatProngTrainingData::~FlatProngTrainingData ( )

Definition at line 4579 of file FlatRecord.cxx.

4580 {
4581 }

Member Function Documentation

void flat::FlatProngTrainingData::Fill ( const caf::SRProngTrainingData sr)

Definition at line 4583 of file FlatRecord.cxx.

References caf::SRProngTrainingData::isprimary, caf::SRProngTrainingData::label3d, caf::SRProngTrainingData::labelx, caf::SRProngTrainingData::labely, caf::SRProngTrainingData::ncellx, caf::SRProngTrainingData::ncelly, caf::SRProngTrainingData::pangle, caf::SRProngTrainingData::pgap, caf::SRProngTrainingData::plength, caf::SRProngTrainingData::purity3d, caf::SRProngTrainingData::purityx, caf::SRProngTrainingData::purityy, caf::SRProngTrainingData::rece, caf::SRProngTrainingData::vertx, caf::SRProngTrainingData::verty, and caf::SRProngTrainingData::vertz.

Referenced by flat::FlatProng::Fill(), and flat::FlatFuzzyKProng::Fill().

4584 {
4585  label3d = sr.label3d;
4586  labelx = sr.labelx;
4587  labely = sr.labely;
4588  isprimary = sr.isprimary;
4589  purity3d = sr.purity3d;
4590  purityx = sr.purityx;
4591  purityy = sr.purityy;
4592  rece = sr.rece;
4593  ncellx = sr.ncellx;
4594  ncelly = sr.ncelly;
4595  vertx = sr.vertx;
4596  verty = sr.verty;
4597  vertz = sr.vertz;
4598  plength = sr.plength;
4599  pangle = sr.pangle;
4600  pgap = sr.pgap;
4601 }
int labelx
Class of the X view prong.
int labely
Class of the Y view prong.
int label3d
Class of the 3D prong.

Member Data Documentation

bool flat::FlatProngTrainingData::isprimary

Definition at line 32 of file FlatProngTrainingData.h.

int flat::FlatProngTrainingData::label3d

Definition at line 29 of file FlatProngTrainingData.h.

int flat::FlatProngTrainingData::labelx

Definition at line 30 of file FlatProngTrainingData.h.

int flat::FlatProngTrainingData::labely

Definition at line 31 of file FlatProngTrainingData.h.

unsigned int flat::FlatProngTrainingData::ncellx

Definition at line 37 of file FlatProngTrainingData.h.

unsigned int flat::FlatProngTrainingData::ncelly

Definition at line 38 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::pangle

Definition at line 43 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::pgap

Definition at line 44 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::plength

Definition at line 42 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::purity3d

Definition at line 33 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::purityx

Definition at line 34 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::purityy

Definition at line 35 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::rece

Definition at line 36 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::vertx

Definition at line 39 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::verty

Definition at line 40 of file FlatProngTrainingData.h.

double flat::FlatProngTrainingData::vertz

Definition at line 41 of file FlatProngTrainingData.h.

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