CMS 3D CMS Logo

Public Member Functions | Private Attributes

AliDaqDistance Class Reference

#include <CocoaDaqRootEvent.h>

List of all members.

Public Member Functions

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

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.

                   : fDistance(0), fDistance_error(0), 
               fID(""), fTimeStamp(0) { }
virtual AliDaqDistance::~AliDaqDistance ( ) [inline, virtual]

Definition at line 136 of file CocoaDaqRootEvent.h.

{ }

Member Function Documentation

void AliDaqDistance::DumpIt ( TString  Name)

Definition at line 135 of file CocoaDaqRootEvent.cc.

References gather_cfg::cout, fDistance, fDistance_error, fID, fTimeStamp, and geometryCSVtoXML::line.

Referenced by CocoaDaqReaderRoot::ReadEvent().

{
  TString dashes = "------------------------------";
  TString line = dashes+Name+dashes;
  std::cout<<std::endl;
  std::cout<<line<<std::endl;
  std::cout<<"Time stamp     = "<<fTimeStamp<<std::endl;
  std::cout<<"AliDaqDistance       = "<<fDistance<<std::endl;
  std::cout<<"AliDaqDistance error = "<<fDistance_error<<std::endl;
  std::cout<<"ID             = "<<fID<<std::endl;
  std::cout<<std::endl;
}
Float_t AliDaqDistance::GetDistance ( ) const [inline]

Definition at line 137 of file CocoaDaqRootEvent.h.

References fDistance.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

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

Definition at line 138 of file CocoaDaqRootEvent.h.

References fDistance_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromDist().

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

Definition at line 140 of file CocoaDaqRootEvent.h.

References fTimeStamp.

{ return fTimeStamp; }

Member Data Documentation

Float_t AliDaqDistance::fDistance [private]

Definition at line 128 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetDistance().

Definition at line 129 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetDistanceError().

TString AliDaqDistance::fID [private]

Definition at line 130 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetID().

Int_t AliDaqDistance::fTimeStamp [private]

Definition at line 131 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().