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

Flat encoding of SREnergyBranch. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

FlatNueEnergy nue
FlatNumuEnergy numu

Detailed Description

Flat encoding of SREnergyBranch.

Definition at line 22 of file FlatEnergyBranch.h.

Constructor & Destructor Documentation

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

Definition at line 2554 of file FlatRecord.cxx.

2555  : nue(prefix+"nue.", tr, policy),
2556  numu(prefix+"numu.", tr, policy)
2557 {
2558 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatEnergyBranch::~FlatEnergyBranch ( )

Definition at line 2560 of file FlatRecord.cxx.

2561 {
2562 }

Member Function Documentation

void flat::FlatEnergyBranch::Fill ( const caf::SREnergyBranch sr)

Definition at line 2564 of file FlatRecord.cxx.

References flat::FlatNueEnergy::Fill(), caf::SREnergyBranch::nue, nue, and caf::SREnergyBranch::numu.

Referenced by flat::FlatRecord::Fill().

2565 {
2566  nue.Fill(sr.nue);
2567  numu.Fill(sr.numu);
2568 }
SRNueEnergy nue
Nue energy variables.
void Fill(const caf::SRNueEnergy &sr)
SRNumuEnergy numu
Numu energy estimator.

Member Data Documentation

FlatNueEnergy flat::FlatEnergyBranch::nue
FlatNumuEnergy flat::FlatEnergyBranch::numu

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