ATLAS Offline Software
AGDDColor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AGDDColor_H
6 #define AGDDColor_H
7 
8 #include <string>
9 
10 class AGDDColorStore;
11 
12 class AGDDColor {
13 public:
15  const std::string& n,
16  double a,double b,double c):m_name(n),m_red(a),m_green(b),m_blue(c)
17  {
18  RegisterToStore(cs);
19  }
20  double Red() const {return m_red;}
21  double Green() const {return m_green;}
22  double Blue() const {return m_blue;}
23  std::string GetName() const {return m_name;}
24 private:
25  std::string m_name;
28 };
29 
30 #endif
AGDDColor::m_green
double m_green
Definition: AGDDColor.h:27
AGDDColor::m_name
std::string m_name
Definition: AGDDColor.h:25
AGDDColor::m_blue
double m_blue
Definition: AGDDColor.h:27
AGDDColor::AGDDColor
AGDDColor(AGDDColorStore &cs, const std::string &n, double a, double b, double c)
Definition: AGDDColor.h:14
AGDDColor::RegisterToStore
void RegisterToStore(AGDDColorStore &cs)
Definition: AGDDColor.cxx:8
AGDDColor::Blue
double Blue() const
Definition: AGDDColor.h:22
beamspotman.n
n
Definition: beamspotman.py:731
AGDDColor
Definition: AGDDColor.h:12
AGDDColorStore
Definition: AGDDColorStore.h:15
AGDDColor::m_red
double m_red
Definition: AGDDColor.h:27
AGDDColor::GetName
std::string GetName() const
Definition: AGDDColor.h:23
AGDDColor::Red
double Red() const
Definition: AGDDColor.h:20
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10
AGDDColor::Green
double Green() const
Definition: AGDDColor.h:21
python.compressB64.c
def c
Definition: compressB64.py:93