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
PHG4PSTOFDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4PSTOFDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4PSTOFDETECTOR_H
4
#define G4DETECTORS_PHG4PSTOFDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <map>
9
#include <string>
// for string
10
11
class
G4LogicalVolume;
12
class
G4VPhysicalVolume
;
13
class
PHCompositeNode
;
14
class
PHParametersContainer
;
15
class
PHG4Subsystem
;
16
17
class
PHG4PSTOFDetector
:
public
PHG4Detector
18
{
19
public
:
21
PHG4PSTOFDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParametersContainer
*params_array,
const
std::string
&dnam);
22
24
~PHG4PSTOFDetector
()
override
{}
25
27
void
ConstructMe
(G4LogicalVolume *world)
override
;
28
29
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
30
32
33
int
IsInPSTOF
(
G4VPhysicalVolume
*)
const
;
35
36
void
SuperDetector
(
const
std::string
&
name
) {
superdetector
=
name
; }
37
const
std::string
SuperDetector
()
const
{
return
superdetector
; }
38
39
protected
:
40
int
IsActive
;
41
int
IsAbsorberActive
;
42
int
nmod
;
43
int
nrows
;
44
PHParametersContainer
*
paramscontainer
;
45
std::map<G4VPhysicalVolume *, int>
active_phys_vols
;
46
47
std::string
superdetector
;
48
};
49
50
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4PSTOFDetector.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration