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

Flat encoding of SRLorentzVector. More...

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

Public Member Functions

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

Protected Attributes

float E
 
float px
 
float py
 
float pz
 

Detailed Description

Flat encoding of SRLorentzVector.

Definition at line 20 of file FlatLorentzVector.h.

Constructor & Destructor Documentation

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

Definition at line 4851 of file FlatRecord.cxx.

References compare_h5_caf::branch, and E.

4852 {
4853  branch(tr, prefix+"E", &E, policy);
4854  branch(tr, prefix+"px", &px, policy);
4855  branch(tr, prefix+"py", &py, policy);
4856  branch(tr, prefix+"pz", &pz, policy);
4857 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatLorentzVector::~FlatLorentzVector ( )

Definition at line 4859 of file FlatRecord.cxx.

4860 {
4861 }

Member Function Documentation

void flat::FlatLorentzVector::Fill ( const caf::SRLorentzVector sr)

Member Data Documentation

float flat::FlatLorentzVector::E
protected

Definition at line 29 of file FlatLorentzVector.h.

float flat::FlatLorentzVector::px
protected

Definition at line 30 of file FlatLorentzVector.h.

Referenced by mcscore.MCParticle::__init__().

float flat::FlatLorentzVector::py
protected

Definition at line 31 of file FlatLorentzVector.h.

Referenced by mcscore.MCParticle::__init__().

float flat::FlatLorentzVector::pz
protected

Definition at line 32 of file FlatLorentzVector.h.

Referenced by mcscore.MCParticle::__init__().


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