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

Flat encoding of SRCVNParticleResult. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float muonid
float electronid
float protonid
float neutronid
float pionid
float pizeroid
float photonid
float otherid
float emid
float hadronid
float maxval
unsigned int pdgmax

Detailed Description

Flat encoding of SRCVNParticleResult.

Definition at line 20 of file FlatCVNParticleResult.h.

Constructor & Destructor Documentation

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

Definition at line 4657 of file FlatRecord.cxx.

References compare_h5_caf::branch, and ana::emid().

4658 {
4659  branch(tr, prefix+"muonid", &muonid, policy);
4660  branch(tr, prefix+"electronid", &electronid, policy);
4661  branch(tr, prefix+"protonid", &protonid, policy);
4662  branch(tr, prefix+"neutronid", &neutronid, policy);
4663  branch(tr, prefix+"pionid", &pionid, policy);
4664  branch(tr, prefix+"pizeroid", &pizeroid, policy);
4665  branch(tr, prefix+"photonid", &photonid, policy);
4666  branch(tr, prefix+"otherid", &otherid, policy);
4667  branch(tr, prefix+"emid", &emid, policy);
4668  branch(tr, prefix+"hadronid", &hadronid, policy);
4669  branch(tr, prefix+"maxval", &maxval, policy);
4670  branch(tr, prefix+"pdgmax", &pdgmax, policy);
4671 }
A PID for muons.
Definition: FillPIDs.h:11
const XML_Char * prefix
Definition: expat.h:380
flat::FlatCVNParticleResult::~FlatCVNParticleResult ( )

Definition at line 4673 of file FlatRecord.cxx.

4674 {
4675 }

Member Function Documentation

void flat::FlatCVNParticleResult::Fill ( const caf::SRCVNParticleResult sr)

Definition at line 4677 of file FlatRecord.cxx.

References caf::SRCVNParticleResult::electronid, caf::SRCVNParticleResult::emid, ana::emid(), caf::SRCVNParticleResult::hadronid, caf::SRCVNParticleResult::maxval, caf::SRCVNParticleResult::muonid, caf::SRCVNParticleResult::neutronid, caf::SRCVNParticleResult::otherid, caf::SRCVNParticleResult::pdgmax, caf::SRCVNParticleResult::photonid, caf::SRCVNParticleResult::pionid, caf::SRCVNParticleResult::pizeroid, and caf::SRCVNParticleResult::protonid.

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

4678 {
4679  muonid = sr.muonid;
4680  electronid = sr.electronid;
4681  protonid = sr.protonid;
4682  neutronid = sr.neutronid;
4683  pionid = sr.pionid;
4684  pizeroid = sr.pizeroid;
4685  photonid = sr.photonid;
4686  otherid = sr.otherid;
4687  emid = sr.emid;
4688  hadronid = sr.hadronid;
4689  maxval = sr.maxval;
4690  pdgmax = sr.pdgmax;
4691 }
float neutronid
Likelihood neutron.
float pionid
Likelihood pion.
float muonid
Likelihood muon.
A PID for muons.
Definition: FillPIDs.h:11
float photonid
Likelihood photon.
float electronid
Likelihood electron.
unsigned int pdgmax
pdg of largest likelihood
float protonid
Likelihood proton.
float emid
Likelihood electron or photon.
float maxval
Maximum likelihood among net outputs.
float otherid
Likelihood other.
float pizeroid
Likelihood pizero.
float hadronid
Likelihood Proton or Pion.

Member Data Documentation

float flat::FlatCVNParticleResult::electronid

Definition at line 30 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::emid

Definition at line 37 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::hadronid

Definition at line 38 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::maxval

Definition at line 39 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::muonid

Definition at line 29 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::neutronid

Definition at line 32 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::otherid

Definition at line 36 of file FlatCVNParticleResult.h.

unsigned int flat::FlatCVNParticleResult::pdgmax

Definition at line 40 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::photonid

Definition at line 35 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::pionid

Definition at line 33 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::pizeroid

Definition at line 34 of file FlatCVNParticleResult.h.

float flat::FlatCVNParticleResult::protonid

Definition at line 31 of file FlatCVNParticleResult.h.

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