ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AllSi_Al_support_DisplayAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AllSi_Al_support_DisplayAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef ALLSI_AL_SUPPORT_DISPLAYACTION_H
4 #define ALLSI_AL_SUPPORT_DISPLAYACTION_H
5 
7 
8 #include <set>
9 #include <string> // for string
10 #include <vector>
11 
12 class G4VisAttributes;
13 class G4LogicalVolume;
14 class G4VPhysicalVolume;
15 
17 {
18  public:
19  AllSi_Al_support_DisplayAction(const std::string &name);
20 
22 
24  void SetMyVolume(G4LogicalVolume *vol) { m_MyVolume = vol; }
25  void AddLogicalVolume(G4LogicalVolume *vol) { m_LogVolSet.insert(vol); }
26 
27  private:
29  std::vector<G4VisAttributes *> m_VisAttVec;
30  std::set<G4LogicalVolume *> m_LogVolSet;
31 };
32 
33 #endif // ALLSI_AL_SUPPORT_DISPLAYACTION_H