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
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
blob
master
analysis
reconstruction
simulation
g4simulation
g4b0
B0TrackFastSim.cc
B0TrackFastSim.h
B0TrackFastSimEval.cc
B0TrackFastSimEval.h
EICG4B0Detector.cc
EICG4B0Detector.h
EICG4B0Detector_Pipe.cc
EICG4B0SteppingAction.cc
EICG4B0SteppingAction.h
EICG4B0Subsystem.cc
EICG4B0Subsystem.h
g4b0ecal
g4barrelmmg
g4beastmagnet
g4bwd
g4drcalo
g4drich
g4eiccalos
g4eicdirc
g4etof
g4jleic
g4lblvtx
g4lumi
g4mrich
g4rich
g4rp
g4trd
g4ttl
g4zdc
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
EICG4B0Detector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EICG4B0Detector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef EICG4B0DETECTOR_H
4
#define EICG4B0DETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <map>
9
#include <set>
10
#include <string>
// for string
11
12
class
G4LogicalVolume;
13
class
G4VPhysicalVolume;
14
class
PHCompositeNode
;
15
class
PHG4Subsystem
;
16
class
PHParameters
;
17
18
class
EICG4B0Detector
:
public
PHG4Detector
19
{
20
public
:
22
EICG4B0Detector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParameters
*
parameters
,
const
std::string &dnam,
const
int
layer
= 0);
23
25
virtual
~EICG4B0Detector
()
override
{}
26
28
virtual
void
ConstructMe
(G4LogicalVolume *
world
)
override
;
29
30
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
31
33
34
int
IsInDetector
(G4VPhysicalVolume *)
const
;
36
37
int
GetDetId
(G4VPhysicalVolume *)
const
;
38
void
SuperDetector
(
const
std::string &
name
) {
m_SuperDetector
=
name
; }
39
const
std::string
SuperDetector
()
const
{
return
m_SuperDetector
; }
40
int
get_Layer
()
const
{
return
m_Layer
; }
41
PHParameters
*
getParams
();
42
43
private
:
44
PHParameters
*
m_Params
;
45
// active volumes
46
std::set<G4VPhysicalVolume *>
m_PhysicalVolumesSet
;
47
// std::set<G4LogicalVolume *> m_LogicalVolumesSet;
48
std::map<G4VPhysicalVolume *, int>
m_PhysicalVolumesDet
;
49
// std::map<G4LogicalVolume *, int> m_LogicalVolumesDet;
50
int
m_Layer
;
51
std::string
m_SuperDetector
;
52
};
53
54
#endif // EICG4B0DETECTOR_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4b0
EICG4B0Detector.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration