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

Flat encoding of SRSLidEnergy. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float E
float depE
float shwE
float hadE

Detailed Description

Flat encoding of SRSLidEnergy.

Definition at line 20 of file FlatSLidEnergy.h.

Constructor & Destructor Documentation

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

Definition at line 4290 of file FlatRecord.cxx.

References compare_h5_caf::branch, E, and flat::FlatShowerLID::shwE.

4291 {
4292  branch(tr, prefix+"E", &E, policy);
4293  branch(tr, prefix+"depE", &depE, policy);
4294  branch(tr, prefix+"shwE", &shwE, policy);
4295  branch(tr, prefix+"hadE", &hadE, policy);
4296 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatSLidEnergy::~FlatSLidEnergy ( )

Definition at line 4298 of file FlatRecord.cxx.

4299 {
4300 }

Member Function Documentation

void flat::FlatSLidEnergy::Fill ( const caf::SRSLidEnergy sr)

Definition at line 4302 of file FlatRecord.cxx.

References caf::SRSLidEnergy::depE, caf::SRSLidEnergy::E, E, caf::SRSLidEnergy::hadE, caf::SRSLidEnergy::shwE, and flat::FlatShowerLID::shwE.

Referenced by flat::FlatNueEnergy::Fill(), and flat::FlatShowerLID::Fill().

4303 {
4304  E = sr.E;
4305  depE = sr.depE;
4306  shwE = sr.shwE;
4307  hadE = sr.hadE;
4308 }
float shwE
Energy of shower [GeV].
Definition: SRSLidEnergy.h:21
float E
Energy [GeV].
Definition: SRSLidEnergy.h:18
float hadE
Hadronic energy [GeV].
Definition: SRSLidEnergy.h:22
float depE
Total energy deposited in shower [GeV].
Definition: SRSLidEnergy.h:20

Member Data Documentation

float flat::FlatSLidEnergy::depE

Definition at line 30 of file FlatSLidEnergy.h.

float flat::FlatSLidEnergy::E

Definition at line 29 of file FlatSLidEnergy.h.

float flat::FlatSLidEnergy::hadE

Definition at line 32 of file FlatSLidEnergy.h.

float flat::FlatSLidEnergy::shwE

Definition at line 31 of file FlatSLidEnergy.h.

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