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
PHG4LFHcalDisplayAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4LFHcalDisplayAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4LFHCALDISPLAYACTION_H
4
#define G4DETECTORS_PHG4LFHCALDISPLAYACTION_H
5
6
#include <
g4main/PHG4DisplayAction.h
>
7
8
#include <map>
9
#include <string>
10
#include <vector>
11
12
class
G4VisAttributes
;
13
class
G4LogicalVolume
;
14
class
G4VPhysicalVolume
;
15
16
class
PHG4LFHcalDisplayAction
:
public
PHG4DisplayAction
17
{
18
public
:
19
PHG4LFHcalDisplayAction
(
const
std::string &
name
);
20
PHG4LFHcalDisplayAction
(
const
std::string &name,
bool
detailed);
21
22
virtual
~PHG4LFHcalDisplayAction
();
23
24
void
ApplyDisplayAction
(
G4VPhysicalVolume
*physvol);
25
void
AddVolume
(
G4LogicalVolume
*logvol,
const
std::string &
mat
) {
m_LogicalVolumeMap
[logvol] =
mat
; }
26
27
private
:
28
std::map<G4LogicalVolume *, std::string>
m_LogicalVolumeMap
;
29
std::vector<G4VisAttributes *>
m_VisAttVec
;
30
bool
showdetails
=
false
;
31
};
32
33
#endif // G4DETECTORS_PHG4LFHCALDISPLAYACTION_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4LFHcalDisplayAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration