EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <set>
9
#include <string>
// for string
10
#include <vector>
11
12
class
G4VisAttributes;
13
class
G4LogicalVolume;
14
class
G4VPhysicalVolume;
15
16
class
AllSi_Al_support_DisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
AllSi_Al_support_DisplayAction
(
const
std::string &
name
);
20
21
virtual
~AllSi_Al_support_DisplayAction
();
22
23
void
ApplyDisplayAction
(G4VPhysicalVolume *physvol);
24
void
SetMyVolume
(G4LogicalVolume *vol) {
m_MyVolume
= vol; }
25
void
AddLogicalVolume
(G4LogicalVolume *vol) {
m_LogVolSet
.insert(vol); }
26
27
private
:
28
G4LogicalVolume *
m_MyVolume
;
29
std::vector<G4VisAttributes *>
m_VisAttVec
;
30
std::set<G4LogicalVolume *>
m_LogVolSet
;
31
};
32
33
#endif // ALLSI_AL_SUPPORT_DISPLAYACTION_H
g4lblvtx
blob
master
source
AllSi_Al_support_DisplayAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:52
using
1.8.2 with
EIC GitHub integration