EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4LBLVtxDisplayAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4LBLVtxDisplayAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4LBLVTXDISPLAYACTION_H
4 #define G4LBLVTXDISPLAYACTION_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  G4LBLVtxDisplayAction(const std::string &name);
20 
21  virtual ~G4LBLVtxDisplayAction();
22 
23  void ApplyDisplayAction(G4VPhysicalVolume *physvol);
24  void AddLogVolume(G4LogicalVolume *vol) { m_LogVolSet.insert(vol); }
25 
26  private:
27  std::vector<G4VisAttributes *> m_VisAttVec;
28  std::set<G4LogicalVolume *> m_LogVolSet;
29 };
30 
31 #endif // G4LBLVTXDISPLAYACTION_H