ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EicDircDisplayAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4EicDircDisplayAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4EICDIRCDISPLAYACTION_H
4 #define G4EICDIRCDISPLAYACTION_H
5 
7 
8 #include <map>
9 #include <string> // for string
10 
11 class G4Colour;
12 class G4VisAttributes;
13 class G4LogicalVolume;
14 class G4VPhysicalVolume;
15 class PHParameters;
16 
18 {
19  public:
20  G4EicDircDisplayAction(const std::string &name, PHParameters *parameters);
21 
22  virtual ~G4EicDircDisplayAction();
23 
25  void SetMyVolume(G4LogicalVolume *vol) { m_MyVolume = vol; }
26  void SetColor(const double red, const double green, const double blue, const double alpha = 1.);
27 
28  private:
31  std::map<G4LogicalVolume *, std::string> m_LogicalVolumeMap;
34 };
35 
36 #endif // G4DETECTORS_PHG4BLOCKDISPLAYACTION_H