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

Flat encoding of SRVertex. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float time
FlatVector3D vtx

Detailed Description

Flat encoding of SRVertex.

Definition at line 21 of file FlatVertex.h.

Constructor & Destructor Documentation

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

Definition at line 3012 of file FlatRecord.cxx.

References compare_h5_caf::branch.

3013  : vtx(prefix+"vtx.", tr, policy)
3014 {
3015  branch(tr, prefix+"time", &time, policy);
3016 }
FlatVector3D vtx
Definition: FlatVertex.h:32
const XML_Char * prefix
Definition: expat.h:380
flat::FlatVertex::~FlatVertex ( )

Definition at line 3018 of file FlatRecord.cxx.

3019 {
3020 }

Member Function Documentation

void flat::FlatVertex::Fill ( const caf::SRVertex sr)

Definition at line 3022 of file FlatRecord.cxx.

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

3023 {
3024  time = sr.time;
3026  vtx.Fill(sr.vtx);
3027 }
float time
Time [ns].
Definition: SRVertex.h:23
void Fill(const caf::SRVector3D &sr)
FlatVector3D vtx
Definition: FlatVertex.h:32
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRVertex.h:24

Member Data Documentation

float flat::FlatVertex::time

Definition at line 30 of file FlatVertex.h.

FlatVector3D flat::FlatVertex::vtx

Definition at line 32 of file FlatVertex.h.

Referenced by Fill().

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