ROOT logo
//////////////////////////////////////////////////////////////////////////////
//
// $Id: $
//
//*-- Author  : RICH team member
//*-- Revised : Martin Jurkovic <martin.jurkovic@ph.tum.de> 2010
//
//_HADES_CLASS_DESCRIPTION
//////////////////////////////////////////////////////////////////////////////
//
//  HRichFrameCorner
//
//
//////////////////////////////////////////////////////////////////////////////


#ifndef HRICHFRAMECORNER_H
#define HRICHFRAMECORNER_H

#include "TObject.h"

class HRichFrameCorner: public TObject {

private:

   Float_t fXcor;        // X-coordinate of a frame corner
   Float_t fYcor;        // Y-coordinate of a frame corner
   Int_t   fCornerNr;    // Frame corner number
   Int_t   fFlagArea;    // Flag

public:

   HRichFrameCorner();
   ~HRichFrameCorner() {}

///////////////////////////////////////////////////////////////////
// GETTERS
   Float_t getX();
   Float_t getY();
   void getXY(Float_t *fX, Float_t *fY);
   Int_t getCornerNr();
   Int_t getFlagArea();

///////////////////////////////////////////////////////////////////
// SETTERS
   void setX(Float_t fX);
   void setY(Float_t fY);
   void setXY(Float_t fX, Float_t fY);
   void setCornerNr(Int_t corner);
   void setFlagArea(Int_t nFlag);

   ClassDef(HRichFrameCorner, 1)
};

///////////////////////////////////////////////////////////////////
// GETTERS
inline Float_t HRichFrameCorner::getX()
{
   return fXcor;
}
inline Float_t HRichFrameCorner::getY()
{
   return fYcor;
}
inline void HRichFrameCorner::getXY(Float_t *fX, Float_t *fY)
{
   *fX = fXcor;
   *fY = fYcor;
}
inline Int_t HRichFrameCorner::getCornerNr()
{
   return fCornerNr;
}
inline Int_t HRichFrameCorner::getFlagArea()
{
   return fFlagArea;
}

///////////////////////////////////////////////////////////////////
// SETTERS
inline void HRichFrameCorner::setX(Float_t fX)
{
   fXcor = fX;
}
inline void HRichFrameCorner::setY(Float_t fY)
{
   fYcor = fY;
}
inline void HRichFrameCorner::setXY(Float_t fX, Float_t fY)
{
   fXcor = fX;
   fYcor = fY;
}
inline void HRichFrameCorner::setCornerNr(Int_t corner)
{
   fCornerNr = corner;
}
inline void HRichFrameCorner::setFlagArea(Int_t nFlag)
{
   fFlagArea = nFlag;
}

#endif // HRICHFRAMECORNER_H
 hrichframecorner.h:1
 hrichframecorner.h:2
 hrichframecorner.h:3
 hrichframecorner.h:4
 hrichframecorner.h:5
 hrichframecorner.h:6
 hrichframecorner.h:7
 hrichframecorner.h:8
 hrichframecorner.h:9
 hrichframecorner.h:10
 hrichframecorner.h:11
 hrichframecorner.h:12
 hrichframecorner.h:13
 hrichframecorner.h:14
 hrichframecorner.h:15
 hrichframecorner.h:16
 hrichframecorner.h:17
 hrichframecorner.h:18
 hrichframecorner.h:19
 hrichframecorner.h:20
 hrichframecorner.h:21
 hrichframecorner.h:22
 hrichframecorner.h:23
 hrichframecorner.h:24
 hrichframecorner.h:25
 hrichframecorner.h:26
 hrichframecorner.h:27
 hrichframecorner.h:28
 hrichframecorner.h:29
 hrichframecorner.h:30
 hrichframecorner.h:31
 hrichframecorner.h:32
 hrichframecorner.h:33
 hrichframecorner.h:34
 hrichframecorner.h:35
 hrichframecorner.h:36
 hrichframecorner.h:37
 hrichframecorner.h:38
 hrichframecorner.h:39
 hrichframecorner.h:40
 hrichframecorner.h:41
 hrichframecorner.h:42
 hrichframecorner.h:43
 hrichframecorner.h:44
 hrichframecorner.h:45
 hrichframecorner.h:46
 hrichframecorner.h:47
 hrichframecorner.h:48
 hrichframecorner.h:49
 hrichframecorner.h:50
 hrichframecorner.h:51
 hrichframecorner.h:52
 hrichframecorner.h:53
 hrichframecorner.h:54
 hrichframecorner.h:55
 hrichframecorner.h:56
 hrichframecorner.h:57
 hrichframecorner.h:58
 hrichframecorner.h:59
 hrichframecorner.h:60
 hrichframecorner.h:61
 hrichframecorner.h:62
 hrichframecorner.h:63
 hrichframecorner.h:64
 hrichframecorner.h:65
 hrichframecorner.h:66
 hrichframecorner.h:67
 hrichframecorner.h:68
 hrichframecorner.h:69
 hrichframecorner.h:70
 hrichframecorner.h:71
 hrichframecorner.h:72
 hrichframecorner.h:73
 hrichframecorner.h:74
 hrichframecorner.h:75
 hrichframecorner.h:76
 hrichframecorner.h:77
 hrichframecorner.h:78
 hrichframecorner.h:79
 hrichframecorner.h:80
 hrichframecorner.h:81
 hrichframecorner.h:82
 hrichframecorner.h:83
 hrichframecorner.h:84
 hrichframecorner.h:85
 hrichframecorner.h:86
 hrichframecorner.h:87
 hrichframecorner.h:88
 hrichframecorner.h:89
 hrichframecorner.h:90
 hrichframecorner.h:91
 hrichframecorner.h:92
 hrichframecorner.h:93
 hrichframecorner.h:94
 hrichframecorner.h:95
 hrichframecorner.h:96
 hrichframecorner.h:97
 hrichframecorner.h:98
 hrichframecorner.h:99
 hrichframecorner.h:100
 hrichframecorner.h:101
 hrichframecorner.h:102
 hrichframecorner.h:103