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

Flat encoding of SRHoughVertex. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float time
FlatVector3D vtx
FlatFuzzyK fuzzyk

Detailed Description

Flat encoding of SRHoughVertex.

Definition at line 22 of file FlatHoughVertex.h.

Constructor & Destructor Documentation

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

Definition at line 3031 of file FlatRecord.cxx.

References compare_h5_caf::branch.

3032  : vtx(prefix+"vtx.", tr, policy),
3033  fuzzyk(prefix+"fuzzyk.", tr, policy)
3034 {
3035  branch(tr, prefix+"time", &time, policy);
3036 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatHoughVertex::~FlatHoughVertex ( )

Definition at line 3038 of file FlatRecord.cxx.

3039 {
3040 }

Member Function Documentation

void flat::FlatHoughVertex::Fill ( const caf::SRHoughVertex sr)

Definition at line 3042 of file FlatRecord.cxx.

References flat::FlatVector3D::Fill(), flat::FlatFuzzyK::Fill(), caf::SRHoughVertex::fuzzyk, fuzzyk, caf::SRHoughVertex::time, caf::SRHoughVertex::vtx, and vtx.

3043 {
3044  time = sr.time;
3046  vtx.Fill(sr.vtx);
3047  fuzzyk.Fill(sr.fuzzyk);
3048 }
void Fill(const caf::SRVector3D &sr)
SRFuzzyK fuzzyk
Primary 3D prong object.
Definition: SRHoughVertex.h:29
float time
Time [ns].
Definition: SRHoughVertex.h:25
void Fill(const caf::SRFuzzyK &sr)
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRHoughVertex.h:26

Member Data Documentation

FlatFuzzyK flat::FlatHoughVertex::fuzzyk

Definition at line 34 of file FlatHoughVertex.h.

Referenced by Fill().

float flat::FlatHoughVertex::time

Definition at line 31 of file FlatHoughVertex.h.

FlatVector3D flat::FlatHoughVertex::vtx

Definition at line 33 of file FlatHoughVertex.h.

Referenced by Fill().

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