Belle II Software light-2406-ragdoll
ColorPalette.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <string>
11
12namespace Belle2 {
23 namespace TangoPalette {
28 const char* getHex(const std::string& tangoName, int tangoId = 1);
29
33 int getTColorID(const std::string& tangoName, int tangoId = 1);
34 }
36}
const char * getHex(const std::string &tangoName, int tangoId=1)
Get six-digit hex code (#abcdef) for given name in tango colour palette.
Definition: ColorPalette.cc:18
int getTColorID(const std::string &tangoName, int tangoId=1)
Get TColor ID for given name in tango colour palette.
Definition: ColorPalette.cc:39
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24