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
PHG4CylinderCellv2.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderCellv2.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CYLINDERCELLV2_H
4
#define G4DETECTORS_PHG4CYLINDERCELLV2_H
5
6
#include "
PHG4CylinderCellv1.h
"
7
8
#include <iostream>
9
#include <string>
// for string
10
11
class
PHG4CylinderCellv2
:
public
PHG4CylinderCellv1
12
{
13
public
:
14
PHG4CylinderCellv2
();
15
~PHG4CylinderCellv2
()
override
{}
16
17
// from PHObject
18
void
identify
(std::ostream&
os
= std::cout)
const override
;
19
20
void
set_sensor_index
(
const
std::string
& si)
override
{
sensor_index
= si; }
21
std::string
get_sensor_index
()
const override
{
return
sensor_index
; }
22
23
void
set_ladder_phi_index
(
const
int
i
)
override
{
ladder_phi_index
=
i
; }
24
int
get_ladder_phi_index
()
const override
{
return
ladder_phi_index
; }
25
26
void
set_ladder_z_index
(
const
int
i
)
override
{
ladder_z_index
=
i
; }
27
int
get_ladder_z_index
()
const override
{
return
ladder_z_index
; }
28
29
protected
:
30
int
ladder_phi_index
;
31
int
ladder_z_index
;
32
std::string
sensor_index
;
33
34
ClassDefOverride(
PHG4CylinderCellv2
, 1)
35
};
36
37
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4CylinderCellv2.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:12
using
1.8.2 with
sPHENIX GitHub integration