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
PHG4ScintillatorSlat.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ScintillatorSlat.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4SCINTILLATORSLAT_H
4
#define G4DETECTORS_PHG4SCINTILLATORSLAT_H
5
6
#include "
PHG4ScintillatorSlatDefs.h
"
7
8
#include <
g4main/PHG4HitDefs.h
>
9
#include <
phool/PHObject.h
>
10
#include <cmath>
11
#include <map>
12
#include <set>
13
14
class
PHG4ScintillatorSlat
:
public
PHObject
15
{
16
public
:
17
~PHG4ScintillatorSlat
()
override
{}
18
19
// from PHObject
20
void
identify
(std::ostream&
os
= std::cout)
const override
21
{
22
os
<<
"PHG4ScintillatorSlat base class"
<< std::endl;
23
}
24
25
virtual
void
add_edep
(
const
double
/*edep*/
,
const
double
/*e*/
,
const
double
/*light_yield*/
) {
return
; }
26
27
virtual
void
set_key
(
const
PHG4ScintillatorSlatDefs::keytype
) {
return
; }
28
virtual
void
add_hit_key
(
PHG4HitDefs::keytype
) {
return
; }
29
30
virtual
short
get_column
()
const
{
return
-1; }
31
virtual
short
get_row
()
const
{
return
-1; }
32
virtual
PHG4ScintillatorSlatDefs::keytype
get_key
()
const
{
return
0xFFFFFFFF; }
33
34
virtual
double
get_edep
()
const
{
return
NAN; }
35
virtual
double
get_eion
()
const
{
return
NAN; }
36
virtual
double
get_light_yield
()
const
{
return
NAN; }
37
virtual
std::pair<std::set<PHG4HitDefs::keytype>::const_iterator, std::set<PHG4HitDefs::keytype>::const_iterator>
get_hit_ids
()
const
= 0;
38
39
protected
:
40
PHG4ScintillatorSlat
() {}
41
ClassDefOverride(
PHG4ScintillatorSlat
, 1)
42
};
43
44
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4ScintillatorSlat.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration