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
CMFlashCluster.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CMFlashCluster.h
1
7
#ifndef TRACKBASE_CMFLASHCLUSTER_H
8
#define TRACKBASE_CMFLASHCLUSTER_H
9
10
#include <
phool/PHObject.h
>
11
12
#include <climits>
13
#include <cmath>
14
#include <iostream>
15
#include <memory>
16
17
23
class
CMFlashCluster
:
public
PHObject
24
{
25
public
:
27
~CMFlashCluster
()
override
{}
28
// PHObject virtual overloads
29
void
identify
(std::ostream&
os
= std::cout)
const override
30
{
31
os
<<
"CMFlashCluster base class"
<< std::endl;
32
}
33
void
Reset
()
override
{}
34
int
isValid
()
const override
{
return
0; }
35
36
38
using
PHObject::CopyFrom
;
39
41
virtual
void
CopyFrom
(
const
CMFlashCluster
& ) {}
42
44
virtual
void
CopyFrom
(
CMFlashCluster
* ) {}
45
46
//
47
// cluster position
48
//
49
virtual
float
getX
()
const
{
return
NAN; }
50
virtual
void
setX
(
float
) {}
51
virtual
float
getY
()
const
{
return
NAN; }
52
virtual
void
setY
(
float
) {}
53
virtual
float
getZ
()
const
{
return
NAN; }
54
virtual
void
setZ
(
float
) {}
55
56
virtual
float
getX1
()
const
{
return
NAN; }
57
virtual
void
setX1
(
float
) {}
58
virtual
float
getY1
()
const
{
return
NAN; }
59
virtual
void
setY1
(
float
) {}
60
virtual
float
getZ1
()
const
{
return
NAN; }
61
virtual
void
setZ1
(
float
) {}
62
63
virtual
float
getX2
()
const
{
return
NAN; }
64
virtual
void
setX2
(
float
) {}
65
virtual
float
getY2
()
const
{
return
NAN; }
66
virtual
void
setY2
(
float
) {}
67
virtual
float
getZ2
()
const
{
return
NAN; }
68
virtual
void
setZ2
(
float
) {}
69
70
71
virtual
void
setLayer1
(
unsigned
int
) {}
72
virtual
unsigned
int
getLayer1
()
const
{
return
UINT_MAX; }
73
74
virtual
void
setLayer2
(
unsigned
int
) {}
75
virtual
unsigned
int
getLayer2
()
const
{
return
UINT_MAX; }
76
77
//
78
// cluster info
79
//
80
virtual
void
setAdc
(
unsigned
int
) {}
81
virtual
unsigned
int
getAdc
()
const
{
return
UINT_MAX; }
82
83
84
virtual
void
setAdc1
(
unsigned
int
) {}
85
virtual
unsigned
int
getAdc1
()
const
{
return
UINT_MAX; }
86
87
virtual
void
setAdc2
(
unsigned
int
) {}
88
virtual
unsigned
int
getAdc2
()
const
{
return
UINT_MAX; }
89
90
virtual
unsigned
int
getNclusters
()
const
{
return
UINT_MAX;}
91
virtual
void
setNclusters
(
unsigned
int
) {}
92
virtual
void
setIsRGap
(
bool
) {}
93
virtual
bool
getIsRGap
()
const
{
return
false
; }
94
virtual
void
setIsPhiGap
(
bool
) {}
95
virtual
bool
getIsPhiGap
()
const
{
return
false
; }
96
97
98
protected
:
99
CMFlashCluster
() =
default
;
100
ClassDefOverride(
CMFlashCluster
, 1)
101
};
102
103
#endif //TRACKBASE_CMFLASHCLUSTER_H
coresoftware
blob
master
offline
packages
trackbase
CMFlashCluster.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration