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

Flat encoding of SRVertexDT. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float time
FlatVector3D vtx

Detailed Description

Flat encoding of SRVertexDT.

Definition at line 21 of file FlatVertexDT.h.

Constructor & Destructor Documentation

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

Definition at line 2993 of file FlatRecord.cxx.

References compare_h5_caf::branch.

2994  : vtx(prefix+"vtx.", tr, policy)
2995 {
2996  branch(tr, prefix+"time", &time, policy);
2997 }
const XML_Char * prefix
Definition: expat.h:380
FlatVector3D vtx
Definition: FlatVertexDT.h:32
flat::FlatVertexDT::~FlatVertexDT ( )

Definition at line 2999 of file FlatRecord.cxx.

3000 {
3001 }

Member Function Documentation

void flat::FlatVertexDT::Fill ( const caf::SRVertexDT sr)

Definition at line 3003 of file FlatRecord.cxx.

References flat::FlatVector3D::Fill(), caf::SRVertexDT::time, caf::SRVertexDT::vtx, and vtx.

3004 {
3005  time = sr.time;
3007  vtx.Fill(sr.vtx);
3008 }
void Fill(const caf::SRVector3D &sr)
float time
Time [ns].
Definition: SRVertexDT.h:22
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRVertexDT.h:23
FlatVector3D vtx
Definition: FlatVertexDT.h:32

Member Data Documentation

float flat::FlatVertexDT::time

Definition at line 30 of file FlatVertexDT.h.

FlatVector3D flat::FlatVertexDT::vtx

Definition at line 32 of file FlatVertexDT.h.

Referenced by Fill().

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