test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
AliDaqPosition2D Class Reference

#include <CocoaDaqRootEvent.h>

Inheritance diagram for AliDaqPosition2D:

Public Member Functions

 AliDaqPosition2D ()
 
void DumpIt (const 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.

50  : fX(0), fY(0), fX_error(0), fY_error(0),
51  fID(""), fTimeStamp(0) { }
virtual AliDaqPosition2D::~AliDaqPosition2D ( )
inlinevirtual

Definition at line 52 of file CocoaDaqRootEvent.h.

52 { }

Member Function Documentation

void AliDaqPosition2D::DumpIt ( const 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().

83 {
84  TString dashes = "------------------------------";
85  TString line = dashes+Name+dashes;
86  std::cout<<std::endl;
87  std::cout<<line<<std::endl;
88  std::cout<<"Time stamp = "<<fTimeStamp<<std::endl;
89  std::cout<<"X = "<<fX<<std::endl;
90  std::cout<<"Y = "<<fY<<std::endl;
91  std::cout<<"X error = "<<fX_error<<std::endl;
92  std::cout<<"Y error = "<<fY_error<<std::endl;
93  std::cout<<"ID = "<<fID<<std::endl;
94  std::cout<<std::endl;
95 }
tuple cout
Definition: gather_cfg.py:121
TString AliDaqPosition2D::GetID ( )
inline
Int_t AliDaqPosition2D::GetTimeStamp ( ) const
inline

Definition at line 58 of file CocoaDaqRootEvent.h.

References fTimeStamp.

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

Definition at line 53 of file CocoaDaqRootEvent.h.

References fX.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

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

Definition at line 55 of file CocoaDaqRootEvent.h.

References fX_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

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

Definition at line 54 of file CocoaDaqRootEvent.h.

References fY.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

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

Definition at line 56 of file CocoaDaqRootEvent.h.

References fY_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

56 { return fY_error; }

Member Data Documentation

TString AliDaqPosition2D::fID
private

Definition at line 46 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetID().

Int_t AliDaqPosition2D::fTimeStamp
private

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().