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