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

Flat encoding of SRQepid. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

int pdg
int mode
int ntrk
float pid
float offE
float ediff
float ediffz
float dedx

Detailed Description

Flat encoding of SRQepid.

Definition at line 20 of file FlatQepid.h.

Constructor & Destructor Documentation

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

Definition at line 2417 of file FlatRecord.cxx.

References compare_h5_caf::branch, submit_nova_art::mode, make_root_from_grid_output::pdg, and BlessedPlots::pid.

2418 {
2419  branch(tr, prefix+"pdg", &pdg, policy);
2420  branch(tr, prefix+"mode", &mode, policy);
2421  branch(tr, prefix+"ntrk", &ntrk, policy);
2422  branch(tr, prefix+"pid", &pid, policy);
2423  branch(tr, prefix+"offE", &offE, policy);
2424  branch(tr, prefix+"ediff", &ediff, policy);
2425  branch(tr, prefix+"ediffz", &ediffz, policy);
2426  branch(tr, prefix+"dedx", &dedx, policy);
2427 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatQepid::~FlatQepid ( )

Definition at line 2429 of file FlatRecord.cxx.

2430 {
2431 }

Member Function Documentation

void flat::FlatQepid::Fill ( const caf::SRQepid sr)

Definition at line 2433 of file FlatRecord.cxx.

References caf::SRQepid::dedx, caf::SRQepid::ediff, caf::SRQepid::ediffz, caf::SRQepid::mode, submit_nova_art::mode, caf::SRQepid::ntrk, caf::SRQepid::offE, caf::SRQepid::pdg, make_root_from_grid_output::pdg, BlessedPlots::pid, and caf::SRQepid::pid.

2434 {
2435  pdg = sr.pdg;
2436  mode = sr.mode;
2437  ntrk = sr.ntrk;
2438  pid =;
2439  offE = sr.offE;
2440  ediff = sr.ediff;
2441  ediffz = sr.ediffz;
2442  dedx = sr.dedx;
2443 }
int mode
Neutrino mode of slice.
Definition: SRQepid.h:24
float dedx
Ratio of average dE/dx in non-muon track to muon identified track.
Definition: SRQepid.h:30
float pid
PID value of output kNN.
Definition: SRQepid.h:26
int pdg
PDG code of slice.
Definition: SRQepid.h:23
int ntrk
Number of tracks used by qepid.
Definition: SRQepid.h:25
float ediffz
Difference in energy between QE angle energy formula and weighted fit, normalized to error in QE angl...
Definition: SRQepid.h:29
float ediff
Difference in energy between QE angle energy formula and weighted fit, normalized to fit energy...
Definition: SRQepid.h:28
float offE
Ratio of energy not associated with tracks to energy on tracks.
Definition: SRQepid.h:27

Member Data Documentation

float flat::FlatQepid::dedx

Definition at line 36 of file FlatQepid.h.

float flat::FlatQepid::ediff

Definition at line 34 of file FlatQepid.h.

float flat::FlatQepid::ediffz

Definition at line 35 of file FlatQepid.h.

int flat::FlatQepid::mode
int flat::FlatQepid::ntrk

Definition at line 31 of file FlatQepid.h.

float flat::FlatQepid::offE

Definition at line 33 of file FlatQepid.h.

int flat::FlatQepid::pdg

Definition at line 29 of file FlatQepid.h.

float flat::FlatQepid::pid

Definition at line 32 of file FlatQepid.h.

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