CMS 3D CMS Logo

Public Member Functions | Private Attributes

AliDaqPosition2D Class Reference

#include <CocoaDaqRootEvent.h>

List of all members.

Public Member Functions

 AliDaqPosition2D ()
void DumpIt (TString Name)
TString GetID ()
Int_t GetTimeStamp () const
Float_t GetX () const
Float_t GetXerror () const
Float_t GetY () const
Float_t GetYerror () const
virtual ~AliDaqPosition2D ()

Private Attributes

TString fID
Int_t fTimeStamp
Float_t fX
Float_t fX_error
Float_t fY
Float_t fY_error

Detailed Description

Definition at line 39 of file CocoaDaqRootEvent.h.


Constructor & Destructor Documentation

AliDaqPosition2D::AliDaqPosition2D ( ) [inline]

Definition at line 50 of file CocoaDaqRootEvent.h.

                     : fX(0), fY(0), fX_error(0), fY_error(0),
                 fID(""), fTimeStamp(0) { }
virtual AliDaqPosition2D::~AliDaqPosition2D ( ) [inline, virtual]

Definition at line 52 of file CocoaDaqRootEvent.h.

{ }

Member Function Documentation

void AliDaqPosition2D::DumpIt ( TString  Name)

Definition at line 82 of file CocoaDaqRootEvent.cc.

References gather_cfg::cout, fID, fTimeStamp, fX, fX_error, fY, fY_error, 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<<"X          = "<<fX<<std::endl;
  std::cout<<"Y          = "<<fY<<std::endl;
  std::cout<<"X error    = "<<fX_error<<std::endl;
  std::cout<<"Y error    = "<<fY_error<<std::endl;
  std::cout<<"ID         = "<<fID<<std::endl;
  std::cout<<std::endl;
}
TString AliDaqPosition2D::GetID ( ) [inline]
Int_t AliDaqPosition2D::GetTimeStamp ( ) const [inline]

Definition at line 58 of file CocoaDaqRootEvent.h.

References fTimeStamp.

{ return fTimeStamp; }
Float_t AliDaqPosition2D::GetX ( ) const [inline]

Definition at line 53 of file CocoaDaqRootEvent.h.

References fX.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

{ return fX; }
Float_t AliDaqPosition2D::GetXerror ( ) const [inline]

Definition at line 55 of file CocoaDaqRootEvent.h.

References fX_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

{ return fX_error; }
Float_t AliDaqPosition2D::GetY ( ) const [inline]

Definition at line 54 of file CocoaDaqRootEvent.h.

References fY.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

{ return fY; }
Float_t AliDaqPosition2D::GetYerror ( ) const [inline]

Definition at line 56 of file CocoaDaqRootEvent.h.

References fY_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

{ return fY_error; }

Member Data Documentation

TString AliDaqPosition2D::fID [private]

Definition at line 46 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetID().

Definition at line 47 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().

Float_t AliDaqPosition2D::fX [private]

Definition at line 42 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetX().

Float_t AliDaqPosition2D::fX_error [private]

Definition at line 44 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetXerror().

Float_t AliDaqPosition2D::fY [private]

Definition at line 43 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetY().

Float_t AliDaqPosition2D::fY_error [private]

Definition at line 45 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetYerror().