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
G4RootScintillatorTower.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RootScintillatorTower.h
1
// Tell emacs that this is a C++ source
2
// This file is really -*- C++ -*-.
3
#ifndef G4HISTOS_G4ROOTSCINTILLATORTOWER_H
4
#define G4HISTOS_G4ROOTSCINTILLATORTOWER_H
5
6
#include <
phool/PHObject.h
>
7
8
#include <iostream>
// for cout, ostream
9
10
/* class TowerInfo; */
11
12
class
G4RootScintillatorTower
:
public
PHObject
13
{
14
public
:
15
G4RootScintillatorTower
();
16
G4RootScintillatorTower
(
double
towerenergy,
int
ieta,
int
iphi);
17
~G4RootScintillatorTower
()
override
{}
18
19
void
Reset
()
override
;
20
int
isValid
()
const override
;
21
void
identify
(std::ostream&
os
= std::cout)
const override
;
22
23
int
get_row
()
const
{
return
row
; }
24
int
get_column
()
const
{
return
column
; }
25
double
get_energy
()
const
{
return
energy
; }
26
27
protected
:
28
short
row
;
29
short
column
;
30
double
energy
;
31
32
ClassDefOverride(
G4RootScintillatorTower
, 1)
33
};
34
35
#endif // G4HISTOS_G4ROOTSCINTILLATORTOWER_H
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RootScintillatorTower.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration