ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AllSiliconTrackerDisplayAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AllSiliconTrackerDisplayAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef ALLSILICONTRACKERDISPLAYACTION_H
4 #define ALLSILICONTRACKERDISPLAYACTION_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  AllSiliconTrackerDisplayAction(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 // ALLSILICONTRACKERDISPLAYACTION_H