CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AliDaqDistance Class Reference

#include <CocoaDaqRootEvent.h>

Inheritance diagram for AliDaqDistance:

Public Member Functions

 AliDaqDistance ()
 
void DumpIt (const TString &Name)
 
Float_t GetDistance () const
 
Float_t GetDistanceError () const
 
TString GetID ()
 
Int_t GetTimeStamp () const
 
 ~AliDaqDistance () override
 

Private Attributes

Float_t fDistance
 
Float_t fDistance_error
 
TString fID
 
Int_t fTimeStamp
 

Detailed Description

Definition at line 125 of file CocoaDaqRootEvent.h.

Constructor & Destructor Documentation

AliDaqDistance::AliDaqDistance ( )
inline

Definition at line 134 of file CocoaDaqRootEvent.h.

134  : fDistance(0), fDistance_error(0),
135  fID(""), fTimeStamp(0) { }
AliDaqDistance::~AliDaqDistance ( )
inlineoverride

Definition at line 136 of file CocoaDaqRootEvent.h.

136 { }

Member Function Documentation

void AliDaqDistance::DumpIt ( const TString &  Name)

Definition at line 135 of file CocoaDaqRootEvent.cc.

References gather_cfg::cout, and geometryCSVtoXML::line.

Referenced by CocoaDaqReaderRoot::ReadEvent().

136 {
137  TString dashes = "------------------------------";
138  TString line = dashes+Name+dashes;
139  std::cout<<std::endl;
140  std::cout<<line<<std::endl;
141  std::cout<<"Time stamp = "<<fTimeStamp<<std::endl;
142  std::cout<<"AliDaqDistance = "<<fDistance<<std::endl;
143  std::cout<<"AliDaqDistance error = "<<fDistance_error<<std::endl;
144  std::cout<<"ID = "<<fID<<std::endl;
145  std::cout<<std::endl;
146 }
Float_t AliDaqDistance::GetDistance ( ) const
inline

Definition at line 137 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

137 { return fDistance; }
Float_t AliDaqDistance::GetDistanceError ( ) const
inline

Definition at line 138 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

138 { return fDistance_error; }
TString AliDaqDistance::GetID ( )
inline
Int_t AliDaqDistance::GetTimeStamp ( ) const
inline

Member Data Documentation

Float_t AliDaqDistance::fDistance
private

Definition at line 128 of file CocoaDaqRootEvent.h.

Float_t AliDaqDistance::fDistance_error
private

Definition at line 129 of file CocoaDaqRootEvent.h.

TString AliDaqDistance::fID
private

Definition at line 130 of file CocoaDaqRootEvent.h.

Int_t AliDaqDistance::fTimeStamp
private

Definition at line 131 of file CocoaDaqRootEvent.h.