Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4MicromegasDisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4MicromegasDisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MICROMEGAS_PHG4MICROMEGASDISPLAYACTION_H
4
#define G4MICROMEGAS_PHG4MICROMEGASDISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <Geant4/G4Color.hh>
9
10
#include <map>
11
#include <string>
// for string
12
#include <vector>
13
14
class
G4LogicalVolume;
15
class
G4VisAttributes;
16
class
G4VPhysicalVolume
;
17
18
class
PHG4MicromegasDisplayAction
:
public
PHG4DisplayAction
19
{
20
public
:
21
PHG4MicromegasDisplayAction
(
const
std::string
&
name
);
22
23
~PHG4MicromegasDisplayAction
()
override
;
24
25
void
ApplyDisplayAction
(
G4VPhysicalVolume
*physvol)
override
;
26
void
AddVolume
(G4LogicalVolume *logvol,
const
G4Colour &
col
) {
m_LogicalVolumeMap
[logvol] =
col
; }
27
28
private
:
29
std::map<G4LogicalVolume *, G4Color>
m_LogicalVolumeMap
;
30
std::vector<G4VisAttributes *>
m_VisAttVec
;
31
};
32
33
#endif // G4MICROMEGAS_PHG4MICROMEGASDISPLAYACTION_H
coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasDisplayAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration