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
G4Example03DisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4Example03DisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EXAMPLE03DISPLAYACTION_H
4
#define G4EXAMPLE03DISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <string>
// for string
9
10
class
G4Colour;
11
class
G4VisAttributes;
12
class
G4LogicalVolume;
13
class
G4VPhysicalVolume;
14
class
PHParameters
;
15
16
class
G4Example03DisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
G4Example03DisplayAction
(
const
std::string &
name
,
PHParameters
*
parameters
);
20
21
virtual
~G4Example03DisplayAction
();
22
23
void
ApplyDisplayAction
(G4VPhysicalVolume *physvol);
24
void
SetMyVolume
(G4LogicalVolume *vol) {
m_MyVolume
= vol; }
25
void
SetColor
(
const
double
red
,
const
double
green
,
const
double
blue
,
const
double
alpha
= 1.);
26
27
private
:
28
PHParameters
*
m_Params
;
29
G4LogicalVolume *
m_MyVolume
;
30
G4VisAttributes *
m_VisAtt
;
31
G4Colour *
m_Colour
;
32
};
33
34
#endif // G4DETECTORS_PHG4BLOCKDISPLAYACTION_H
g4exampledetector
blob
master
color
source
G4Example03DisplayAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:55
using
1.8.2 with
EIC GitHub integration