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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4intt
g4jets
g4main
g4micromegas
PHG4MicromegasDetector.cc
PHG4MicromegasDetector.h
PHG4MicromegasDigitizer.cc
PHG4MicromegasDigitizer.h
PHG4MicromegasHitReco.cc
PHG4MicromegasHitReco.h
PHG4MicromegasSteppingAction.cc
PHG4MicromegasSteppingAction.h
PHG4MicromegasSubsystem.cc
PHG4MicromegasSubsystem.h
g4mvtx
g4tpc
g4trackfastsim
g4vertex
tpcresponse
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4MicromegasDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4MicromegasDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHG4MICROMEGASDETECTOR_H
4
#define PHG4MICROMEGASDETECTOR_H
5
11
#include <
g4main/PHG4Detector.h
>
12
13
#include <map>
14
#include <set>
15
#include <string>
16
17
class
G4LogicalVolume;
18
class
G4VPhysicalVolume;
19
class
PHCompositeNode
;
20
class
PHG4Subsystem
;
21
class
PHParameters
;
22
23
class
PHG4MicromegasDetector
:
public
PHG4Detector
24
{
25
public
:
26
28
PHG4MicromegasDetector
(
PHG4Subsystem
*,
PHCompositeNode
*,
PHParameters
*,
const
std::string&);
29
31
void
ConstructMe
(G4LogicalVolume*)
override
;
32
33
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
34
36
void
set_first_layer
(
int
layer
) {
m_FirstLayer
=
layer
; }
37
39
int
get_first_layer
()
const
{
return
m_FirstLayer
; }
40
42
bool
IsInDetector
(G4VPhysicalVolume*)
const
;
43
45
int
get_layer
(G4VPhysicalVolume*)
const
;
46
48
void
SuperDetector
(
const
std::string &
name
) {
m_SuperDetector
=
name
; }
49
51
const
std::string
SuperDetector
()
const
{
return
m_SuperDetector
; }
52
53
private
:
54
56
void
create_materials
()
const
;
57
59
void
construct_micromegas
(G4LogicalVolume*);
60
62
63
void
add_geometry_node
();
64
66
PHParameters
*
m_Params
=
nullptr
;
67
69
70
std::map<G4VPhysicalVolume*, int>
m_activeVolumes
;
71
73
std::set<G4VPhysicalVolume*>
m_passiveVolumes
;
74
76
std::string
m_SuperDetector
;
77
79
/* there are two layers in the detector */
80
int
m_FirstLayer
= 0;
81
82
};
83
84
#endif // MICROMEGASDETECTOR_H
fun4all_coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasDetector.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:50
using
1.8.2 with
EIC GitHub integration