ECCE @ EIC Software
Reference for
ECCE @ 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
PHG4EPDDisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4EPDDisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EPD_PHG4EPDDISPLAYACTION_H
4
#define G4EPD_PHG4EPDDISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <map>
9
#include <string>
// for string
10
#include <vector>
11
12
class
G4LogicalVolume
;
13
class
G4VisAttributes
;
14
class
G4VPhysicalVolume
;
15
16
class
PHG4EPDDisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
PHG4EPDDisplayAction
(
const
std::string &
name
);
20
21
~PHG4EPDDisplayAction
()
override
;
22
23
void
ApplyDisplayAction
(
G4VPhysicalVolume
*physvol)
override
;
24
void
AddVolume
(
G4LogicalVolume
*logvol,
const
std::string &
mat
) {
m_LogicalVolumeMap
[logvol] =
mat
; }
25
26
private
:
27
std::map<G4LogicalVolume *, std::string>
m_LogicalVolumeMap
;
28
std::vector<G4VisAttributes *>
m_VisAttVec
;
29
};
30
31
#endif // G4EPD_PHG4EPDDISPLAYACTION_H
coresoftware
blob
master
simulation
g4simulation
g4epd
PHG4EPDDisplayAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration