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


#include "hrichlabel.h"

ClassImp(HRichLabel)


Int_t HRichLabel::iLabelNr = 0;

HRichLabel::HRichLabel()
{
   iLeftX = 127;
   iRightX = -1;
   iLowerY = 127;
   iUpperY = -1;
   iSignature = 0;
   iFiredPadsNr = 0;
   iLabeledPadsNr = 0;
}

HRichLabel::HRichLabel(const HRichLabel& source) :TObject(source)
{
   iLeftX = source.iLeftX;
   iRightX = source.iRightX;
   iLowerY = source.iLowerY;
   iUpperY = source.iUpperY;
   iSignature = source.iSignature;
   iFiredPadsNr = source.iFiredPadsNr;
   iLabeledPadsNr = source.iLabeledPadsNr;
}


HRichLabel& HRichLabel::operator=(const HRichLabel& source)
{
   if (this != &source) {
      iLeftX = source.iLeftX;
      iRightX = source.iRightX;
      iLowerY = source.iLowerY;
      iUpperY = source.iUpperY;
      iSignature = source.iSignature;
      iFiredPadsNr = source.iFiredPadsNr;
      iLabeledPadsNr = source.iLabeledPadsNr;
   }

   return *this;
}


void HRichLabel::Reset()
{
   iSignature = 0;
   iFiredPadsNr = 0;
   iLabeledPadsNr = 0;
   if (iLabelNr) iLabelNr--;
}


 hrichlabel.cc:1
 hrichlabel.cc:2
 hrichlabel.cc:3
 hrichlabel.cc:4
 hrichlabel.cc:5
 hrichlabel.cc:6
 hrichlabel.cc:7
 hrichlabel.cc:8
 hrichlabel.cc:9
 hrichlabel.cc:10
 hrichlabel.cc:11
 hrichlabel.cc:12
 hrichlabel.cc:13
 hrichlabel.cc:14
 hrichlabel.cc:15
 hrichlabel.cc:16
 hrichlabel.cc:17
 hrichlabel.cc:18
 hrichlabel.cc:19
 hrichlabel.cc:20
 hrichlabel.cc:21
 hrichlabel.cc:22
 hrichlabel.cc:23
 hrichlabel.cc:24
 hrichlabel.cc:25
 hrichlabel.cc:26
 hrichlabel.cc:27
 hrichlabel.cc:28
 hrichlabel.cc:29
 hrichlabel.cc:30
 hrichlabel.cc:31
 hrichlabel.cc:32
 hrichlabel.cc:33
 hrichlabel.cc:34
 hrichlabel.cc:35
 hrichlabel.cc:36
 hrichlabel.cc:37
 hrichlabel.cc:38
 hrichlabel.cc:39
 hrichlabel.cc:40
 hrichlabel.cc:41
 hrichlabel.cc:42
 hrichlabel.cc:43
 hrichlabel.cc:44
 hrichlabel.cc:45
 hrichlabel.cc:46
 hrichlabel.cc:47
 hrichlabel.cc:48
 hrichlabel.cc:49
 hrichlabel.cc:50
 hrichlabel.cc:51
 hrichlabel.cc:52
 hrichlabel.cc:53
 hrichlabel.cc:54
 hrichlabel.cc:55
 hrichlabel.cc:56
 hrichlabel.cc:57
 hrichlabel.cc:58
 hrichlabel.cc:59
 hrichlabel.cc:60
 hrichlabel.cc:61
 hrichlabel.cc:62
 hrichlabel.cc:63
 hrichlabel.cc:64
 hrichlabel.cc:65
 hrichlabel.cc:66
 hrichlabel.cc:67
 hrichlabel.cc:68
 hrichlabel.cc:69
 hrichlabel.cc:70
 hrichlabel.cc:71