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
PHG4BbcDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4BbcDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4BBCDETECTOR_H
4
#define G4DETECTORS_PHG4BBCDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <cmath>
9
#include <set>
10
#include <string>
11
12
class
G4LogicalVolume
;
13
class
G4VPhysicalVolume
;
14
class
PHG4BbcDisplayAction
;
15
class
PHCompositeNode
;
16
class
PHG4Subsystem
;
17
class
PHParameters
;
18
19
class
PHG4BbcDetector
:
public
PHG4Detector
20
{
21
public
:
23
PHG4BbcDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParameters
*params,
const
std::string &dnam =
"BBC"
);
24
26
~PHG4BbcDetector
()
override
27
{
28
}
29
31
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
32
33
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
34
35
int
IsInBbc
(
G4VPhysicalVolume
*)
const
;
36
37
void
SuperDetector
(
const
std::string &
name
) {
m_SuperDetector
=
name
; }
38
const
std::string
SuperDetector
()
const
{
return
m_SuperDetector
; }
39
40
PHG4BbcDisplayAction
*
GetDisplayAction
() {
return
m_DisplayAction
; }
41
42
protected
:
43
PHG4BbcDisplayAction
*
m_DisplayAction
=
nullptr
;
44
45
PHParameters
*
m_Params
=
nullptr
;
46
47
int
m_ActiveFlag
= 0;
48
int
m_SupportActiveFlag
= 0;
49
50
float
m_bbcz
= NAN;
// z-location of mid-point of quartz ckov crystals
51
52
std::set<G4LogicalVolume *>
m_PhysLogicalVolSet
;
53
std::set<G4LogicalVolume *>
m_SupportLogicalVolSet
;
54
55
std::string
m_SuperDetector
;
56
};
57
58
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4BbcDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration