EIC Software
Reference for
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
EvalCluster.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EvalCluster.h
1
#ifndef EVALCLUSTER_H
2
#define EVALCLUSTER_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <cmath>
7
8
class
RawCluster
;
9
10
class
EvalCluster
:
public
PHObject
11
{
12
public
:
13
// ctor with no args to make root happy
14
EvalCluster
() {}
15
EvalCluster
(
const
RawCluster
*twr);
16
virtual
~EvalCluster
() {}
17
18
void
set_ctowers
(
const
int
i) {
ctowers
= i; }
19
int
get_ctowers
()
const
{
return
ctowers
; }
20
21
void
set_ce
(
const
float
f) {
ce
= f; }
22
float
get_ce
()
const
{
return
ce
; }
23
24
void
set_ceta
(
const
float
f) {
ceta
= f; }
25
float
get_ceta
()
const
{
return
ceta
; }
26
27
void
set_cphi
(
const
float
f) {
cphi
= f; }
28
float
get_cphi
()
const
{
return
cphi
; }
29
30
void
set_ctheta
(
const
float
f) {
ctheta
= f; }
31
float
get_ctheta
()
const
{
return
ctheta
; }
32
33
void
set_cx
(
const
float
f) {
cx
= f; }
34
float
get_cx
()
const
{
return
cx
; }
35
36
void
set_cy
(
const
float
f) {
cy
= f; }
37
float
get_cy
()
const
{
return
cy
; }
38
39
void
set_cz
(
const
float
f) {
cz
= f; }
40
float
get_cz
()
const
{
return
cz
; }
41
42
private
:
43
int
ctowers
= 0;
44
float
ce
= NAN;
45
float
ceta
= NAN;
46
float
cphi
= NAN;
47
float
ctheta
= NAN;
48
float
cx
= NAN;
49
float
cy
= NAN;
50
float
cz
= NAN;
51
52
ClassDef(
EvalCluster
, 1)
53
};
54
55
#endif
fun4all_eic_qa
blob
master
source
EvalCluster.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration