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
PHG4OHCalDisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4OHCalDisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4OHCAL_PHG4OHCALDISPLAYACTION_H
4
#define G4OHCAL_PHG4OHCALDISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <set>
9
#include <string>
// for string
10
#include <vector>
11
12
class
G4LogicalVolume;
13
class
G4VisAttributes;
14
class
G4VPhysicalVolume
;
15
16
class
PHG4OHCalDisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
explicit
PHG4OHCalDisplayAction
(
const
std::string
&
name
);
20
21
~PHG4OHCalDisplayAction
()
override
;
22
23
void
ApplyDisplayAction
(
G4VPhysicalVolume
*physvol)
override
;
24
void
SetMyTopVolume
(
G4VPhysicalVolume
*vol) {
m_MyTopVolume
= vol; }
25
void
AddScintiVolume
(G4LogicalVolume *vol) {
m_ScintiLogVolSet
.insert(vol); }
26
void
AddSteelVolume
(G4LogicalVolume *vol) {
m_SteelVol
= vol; }
27
void
AddChimSteelVolume
(G4LogicalVolume *vol) {
m_ChimSteelVol
= vol; }
28
29
private
:
30
G4VPhysicalVolume
*
m_MyTopVolume
=
nullptr
;
31
G4LogicalVolume *
m_SteelVol
=
nullptr
;
32
G4LogicalVolume *
m_ChimSteelVol
=
nullptr
;
33
std::vector<G4VisAttributes *>
m_VisAttVec
;
34
std::vector<G4VisAttributes *>
m_VisAttVec2
;
35
std::set<G4LogicalVolume *>
m_ScintiLogVolSet
;
36
};
37
38
#endif // G4OHCAL_PHG4OHCALDISPLAYACTION_H
coresoftware
blob
master
simulation
g4simulation
g4ohcal
PHG4OHCalDisplayAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration