CMS 3D CMS Logo

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
 
 ~AliDaqPosition2D () override
 

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

Constructor & Destructor Documentation

◆ AliDaqPosition2D()

AliDaqPosition2D::AliDaqPosition2D ( )
inline

Definition at line 50 of file CocoaDaqRootEvent.h.

◆ ~AliDaqPosition2D()

AliDaqPosition2D::~AliDaqPosition2D ( )
inlineoverride

Definition at line 51 of file CocoaDaqRootEvent.h.

51 {}

Member Function Documentation

◆ DumpIt()

void AliDaqPosition2D::DumpIt ( const TString &  Name)

Definition at line 79 of file CocoaDaqRootEvent.cc.

References gather_cfg::cout, fID, fTimeStamp, fX, fX_error, fY, fY_error, mps_splice::line, and ALCARECOPromptCalibProdPPSAlignment_cff::Name.

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

79  {
80  TString dashes = "------------------------------";
81  TString line = dashes + Name + dashes;
82  std::cout << std::endl;
83  std::cout << line << std::endl;
84  std::cout << "Time stamp = " << fTimeStamp << std::endl;
85  std::cout << "X = " << fX << std::endl;
86  std::cout << "Y = " << fY << std::endl;
87  std::cout << "X error = " << fX_error << std::endl;
88  std::cout << "Y error = " << fY_error << std::endl;
89  std::cout << "ID = " << fID << std::endl;
90  std::cout << std::endl;
91 }

◆ GetID()

TString AliDaqPosition2D::GetID ( )
inline

◆ GetTimeStamp()

Int_t AliDaqPosition2D::GetTimeStamp ( ) const
inline

Definition at line 57 of file CocoaDaqRootEvent.h.

References fTimeStamp.

57 { return fTimeStamp; }

◆ GetX()

Float_t AliDaqPosition2D::GetX ( ) const
inline

Definition at line 52 of file CocoaDaqRootEvent.h.

References fX.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

52 { return fX; }

◆ GetXerror()

Float_t AliDaqPosition2D::GetXerror ( ) const
inline

Definition at line 54 of file CocoaDaqRootEvent.h.

References fX_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

54 { return fX_error; }

◆ GetY()

Float_t AliDaqPosition2D::GetY ( ) const
inline

Definition at line 53 of file CocoaDaqRootEvent.h.

References fY.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

53 { return fY; }

◆ GetYerror()

Float_t AliDaqPosition2D::GetYerror ( ) const
inline

Definition at line 55 of file CocoaDaqRootEvent.h.

References fY_error.

Referenced by CocoaDaqReaderRoot::GetMeasFromPosition2D().

55 { return fY_error; }

Member Data Documentation

◆ fID

TString AliDaqPosition2D::fID
private

Definition at line 46 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetID().

◆ fTimeStamp

Int_t AliDaqPosition2D::fTimeStamp
private

Definition at line 47 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetTimeStamp().

◆ fX

Float_t AliDaqPosition2D::fX
private

Definition at line 42 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetX().

◆ fX_error

Float_t AliDaqPosition2D::fX_error
private

Definition at line 44 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetXerror().

◆ fY

Float_t AliDaqPosition2D::fY
private

Definition at line 43 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetY().

◆ fY_error

Float_t AliDaqPosition2D::fY_error
private

Definition at line 45 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetYerror().