Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4InnerHcalDisplayAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4InnerHcalDisplayAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4INNERHCALDISPLAYACTION_H
4 #define G4DETECTORS_PHG4INNERHCALDISPLAYACTION_H
5 
7 
8 #include <set>
9 #include <string> // for string
10 #include <vector>
11 
12 class G4LogicalVolume;
13 class G4VisAttributes;
14 class G4VPhysicalVolume;
15 
17 {
18  public:
20 
21  ~PHG4InnerHcalDisplayAction() override;
22 
23  void ApplyDisplayAction(G4VPhysicalVolume *physvol) override;
25  void AddScintiVolume(G4LogicalVolume *vol) { m_ScintiLogVolSet.insert(vol); }
26  void AddSteelVolume(G4LogicalVolume *vol) { m_SteelVol = vol; }
27 
28  private:
30  G4LogicalVolume *m_SteelVol;
31  std::vector<G4VisAttributes *> m_VisAttVec;
32  std::set<G4LogicalVolume *> m_ScintiLogVolSet;
33 };
34 
35 #endif // G4DETECTORS_PHG4INNERHCALDISPLAYACTION_H