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
PHG4CylinderDisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderDisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CYLINDERDISPLAYACTION_H
4
#define G4DETECTORS_PHG4CYLINDERDISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <string>
// for string
9
10
class
G4Colour
;
11
class
G4LogicalVolume
;
12
class
G4VisAttributes
;
13
class
G4VPhysicalVolume
;
14
class
PHParameters
;
15
16
class
PHG4CylinderDisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
PHG4CylinderDisplayAction
(
const
std::string &
name
,
PHParameters
*
parameters
);
20
21
~PHG4CylinderDisplayAction
()
override
;
22
23
void
ApplyDisplayAction
(
G4VPhysicalVolume
*physvol)
override
;
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_PHG4CYLINDERDISPLAYACTION_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4CylinderDisplayAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration