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 128 of file CocoaDaqRootEvent.h.

Constructor & Destructor Documentation

◆ AliDaqDistance()

AliDaqDistance::AliDaqDistance ( )
inline

Definition at line 136 of file CocoaDaqRootEvent.h.

136 : fDistance(0), fDistance_error(0), fID(""), fTimeStamp(0) {}

◆ ~AliDaqDistance()

AliDaqDistance::~AliDaqDistance ( )
inlineoverride

Definition at line 137 of file CocoaDaqRootEvent.h.

137 {}

Member Function Documentation

◆ DumpIt()

void AliDaqDistance::DumpIt ( const TString &  Name)

Definition at line 129 of file CocoaDaqRootEvent.cc.

129  {
130  TString dashes = "------------------------------";
131  TString line = dashes + Name + dashes;
132  std::cout << std::endl;
133  std::cout << line << std::endl;
134  std::cout << "Time stamp = " << fTimeStamp << std::endl;
135  std::cout << "AliDaqDistance = " << fDistance << std::endl;
136  std::cout << "AliDaqDistance error = " << fDistance_error << std::endl;
137  std::cout << "ID = " << fID << std::endl;
138  std::cout << std::endl;
139 }

References gather_cfg::cout, fDistance, fDistance_error, fID, fTimeStamp, mps_splice::line, and SiStripClientConfig_Tier0_cff::Name.

Referenced by CocoaDaqRootEvent::DumpIt(), and CocoaDaqReaderRoot::ReadEvent().

◆ GetDistance()

Float_t AliDaqDistance::GetDistance ( ) const
inline

Definition at line 138 of file CocoaDaqRootEvent.h.

138 { return fDistance; }

References fDistance.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

◆ GetDistanceError()

Float_t AliDaqDistance::GetDistanceError ( ) const
inline

Definition at line 139 of file CocoaDaqRootEvent.h.

139 { return fDistance_error; }

References fDistance_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

◆ GetID()

TString AliDaqDistance::GetID ( )
inline

Definition at line 140 of file CocoaDaqRootEvent.h.

140 { return fID; }

References fID.

Referenced by CocoaDaqRootEvent::DumpIt(), CocoaDaqReaderRoot::GetMeasFromDist(), and CocoaDaqReaderRoot::ReadEvent().

◆ GetTimeStamp()

Int_t AliDaqDistance::GetTimeStamp ( ) const
inline

Definition at line 141 of file CocoaDaqRootEvent.h.

141 { return fTimeStamp; }

References fTimeStamp.

Member Data Documentation

◆ fDistance

Float_t AliDaqDistance::fDistance
private

Definition at line 130 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetDistance().

◆ fDistance_error

Float_t AliDaqDistance::fDistance_error
private

Definition at line 131 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetDistanceError().

◆ fID

TString AliDaqDistance::fID
private

Definition at line 132 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetID().

◆ fTimeStamp

Int_t AliDaqDistance::fTimeStamp
private

Definition at line 133 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().

SiStripClientConfig_Tier0_cff.Name
Name
Definition: SiStripClientConfig_Tier0_cff.py:13
gather_cfg.cout
cout
Definition: gather_cfg.py:144
AliDaqDistance::fID
TString fID
Definition: CocoaDaqRootEvent.h:132
AliDaqDistance::fDistance
Float_t fDistance
Definition: CocoaDaqRootEvent.h:130
AliDaqDistance::fDistance_error
Float_t fDistance_error
Definition: CocoaDaqRootEvent.h:131
AliDaqDistance::fTimeStamp
Int_t fTimeStamp
Definition: CocoaDaqRootEvent.h:133
mps_splice.line
line
Definition: mps_splice.py:76