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
PHG4CylinderCell.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderCell.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CYLINDERCELL_H
4
#define G4DETECTORS_PHG4CYLINDERCELL_H
5
6
#include "
PHG4Cell.h
"
7
8
#include "
PHG4CylinderCellDefs.h
"
9
10
#include <
g4main/PHG4HitDefs.h
>
11
12
#include <
phool/PHObject.h
>
13
14
#include <cmath>
15
#include <map>
16
17
class
PHG4CylinderCell
:
public
PHG4Cell
18
{
19
public
:
20
21
~PHG4CylinderCell
()
override
{}
22
23
// from PHObject
24
void
identify
(std::ostream& os = std::cout)
const override
25
{
26
os <<
"PHG4CylinderCell base class"
<< std::endl;
27
}
28
29
void
set_ladder_phi_index
(
const
int
)
override
{
return
;}
30
int
get_ladder_phi_index
()
const override
{
return
-9999;}
31
32
void
set_ladder_z_index
(
const
int
)
override
{
return
;}
33
int
get_ladder_z_index
()
const override
{
return
-9999;}
34
35
// our own - not inherited
36
virtual
void
set_cell_id
(
const
PHG4CylinderCellDefs::keytype
) {
return
;}
37
virtual
void
set_layer
(
const
unsigned
int
) {
return
;}
38
39
virtual
unsigned
int
get_layer
()
const
{
return
0xFFFFFFFF;}
40
virtual
PHG4CylinderCellDefs::keytype
get_cell_id
()
const
{
return
0xFFFFFFFF;}
41
virtual
int
get_binz
()
const
{
return
-1;}
42
virtual
int
get_binphi
()
const
{
return
-1;}
43
virtual
int
get_bineta
()
const
{
return
-1;}
44
45
virtual
void
set_etabin
(
const
int
) {
return
;}
46
virtual
void
set_light_yield
(
float
) {
return
; }
47
48
virtual
void
set_fiber_ID
(
int
) {
return
; }
49
virtual
int
get_fiber_ID
()
const
{
return
-1;}
50
51
virtual
void
set_sensor_index
(
const
std::string &) {
return
;}
52
virtual
std::string
get_sensor_index
()
const
{
return
""
;}
53
54
virtual
int
get_j_index
()
const
{
return
-9999;}
55
virtual
void
set_j_index
(
const
int
) {
return
;}
56
virtual
int
get_k_index
()
const
{
return
-9999;}
57
virtual
void
set_k_index
(
const
int
) {
return
;}
58
virtual
int
get_l_index
()
const
{
return
-9999;}
59
virtual
void
set_l_index
(
const
int
) {
return
;}
60
61
protected
:
62
63
PHG4CylinderCell
() {}
64
ClassDefOverride(
PHG4CylinderCell
,2)
65
};
66
67
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4CylinderCell.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration