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

Flat encoding of SREnergy. More...

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

Public Member Functions

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

Protected Attributes

float E
 

Detailed Description

Flat encoding of SREnergy.

Definition at line 20 of file FlatEnergy.h.

Constructor & Destructor Documentation

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

Definition at line 2572 of file FlatRecord.cxx.

References compare_h5_caf::branch, and E.

2573 {
2574  branch(tr, prefix+"E", &E, policy);
2575 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatEnergy::~FlatEnergy ( )

Definition at line 2577 of file FlatRecord.cxx.

2578 {
2579 }

Member Function Documentation

void flat::FlatEnergy::Fill ( const caf::SREnergy sr)

Definition at line 2581 of file FlatRecord.cxx.

References E, and caf::SREnergy::E.

2582 {
2583  E = sr.E;
2584 }
float E
Energy [GeV].
Definition: SREnergy.h:20

Member Data Documentation

float flat::FlatEnergy::E
protected

Definition at line 29 of file FlatEnergy.h.


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