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