PmtSpot Class Reference

#include <PmtPixels.h>

List of all members.

Public Member Functions

 PmtSpot (int spot_num, double xc, double yc, double radius)
 ~PmtSpot ()
void SetRelativeColor (double relvalue)

Detailed Description

Definition at line 71 of file PmtPixels.h.


Constructor & Destructor Documentation

PmtSpot::PmtSpot ( int  spot_num,
double  xc,
double  yc,
double  radius 
)

Definition at line 96 of file PmtPixels.cxx.

References SetRelativeColor().

00097     : TEllipse(xc,yc,radius,radius)
00098 {
00099     this->TEllipse::SetFillStyle(1001);
00100     this->SetRelativeColor(0);
00101 }

PmtSpot::~PmtSpot (  ) 

Definition at line 102 of file PmtPixels.cxx.

00103 {
00104 }


Member Function Documentation

void PmtSpot::SetRelativeColor ( double  relvalue  ) 

Definition at line 106 of file PmtPixels.cxx.

References Rainbow::GetRelativeColor(), and SetFillColor().

Referenced by PmtPixelsMxx::Clear(), and PmtSpot().

00107 {
00108     static Rainbow rainbow;
00109     this->TEllipse::SetFillColor(rainbow.GetRelativeColor(relval));
00110 }


The documentation for this class was generated from the following files:

Generated on 19 Jan 2018 for loon by  doxygen 1.6.1