2 // Category: visualization
4 // Singleton data type class - store for the predefined colours.
6 #ifndef ALI_COLOUR_STORE_H
7 #define ALI_COLOUR_STORE_H
11 #include <g4rw/tvordvec.h>
15 typedef G4RWTValOrderedVector<AliColour> AliColourVector;
20 // AliColourStore(const AliColourStore& right);
21 virtual ~AliColourStore();
24 static AliColourStore* Instance();
27 G4Colour GetColour(G4String name) const;
28 G4String GetColoursList() const;
29 G4String GetColoursListWithCommas() const;
33 AliColourStore(const AliColourStore& right);
36 AliColourStore& operator=(const AliColourStore& right);
39 // static data members
40 static AliColourStore* fgInstance; //this instance
43 AliColourVector fColours; //vector of AliColour
46 #endif //ALI_COLOUR_STORE_H