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
TpcTpotEventInfo.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcTpotEventInfo.h
1
7
#ifndef TRACKBASE_TPCTPOTEVENTINFO_H
8
#define TRACKBASE_TPCTPOTEVENTINFO_H
9
10
#include "
TrkrDefs.h
"
11
12
#include <
phool/PHObject.h
>
13
14
#include <climits>
15
#include <cmath>
16
#include <iostream>
17
#include <memory>
18
19
26
class
TpcTpotEventInfo
:
public
PHObject
27
{
28
public
:
29
31
~TpcTpotEventInfo
()
override
=
default
;
32
33
// PHObject virtual overloads
34
void
identify
(std::ostream&
os
= std::cout)
const override
35
{
36
os
<<
"TpcTpotEventInfo base class"
<< std::endl;
37
}
38
void
Reset
()
override
{}
39
int
isValid
()
const override
{
return
0; }
40
41
43
using
PHObject::CopyFrom
;
44
46
virtual
void
CopyFrom
(
const
TpcTpotEventInfo
& )
47
{}
48
50
virtual
void
CopyFrom
(
TpcTpotEventInfo
* )
51
{}
52
53
//
54
// event tagger info
55
//
56
57
enum
SectorID
{
kTPCSector0
= 0,
kTPCSector1
,
kTPCSector2
,
kTPCSector3
,
kTPCSector4
,
58
kTPCSector5
,
kTPCSector6
,
kTPCSector7
,
kTPCSector8
,
kTPCSector9
,
59
kTPCSector10
,
kTPCSector11
,
kTPCSector12
,
kTPCSector13
,
kTPCSector14
,
60
kTPCSector15
,
kTPCSector16
,
kTPCSector17
,
kTPCSector18
,
kTPCSector19
,
61
kTPCSector20
,
kTPCSector21
,
kTPCSector22
,
kTPCSector23
,
kTPOT
= 24};
62
// TPC has sectors 0..23, TPOT uses index 24 in this storage
63
enum
PCIeEndPointID
{
kEndPoint0
= 0,
kEndPoint1
= 1} ;
64
enum
TaggerID
{
kLVL1Tagger
= 0,
kEnDatTagger
= 1} ;
65
66
virtual
void
checkIndexes
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
67
{}
68
69
virtual
uint64_t
getBCO
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
const
{
return
UINT64_MAX; }
70
virtual
void
setBCO
(uint64_t,
SectorID
,
PCIeEndPointID
,
TaggerID
) {}
71
virtual
uint32_t
getLevel1Count
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
const
{
return
UINT32_MAX; }
72
virtual
void
setLevel1Count
(uint32_t,
SectorID
,
PCIeEndPointID
,
TaggerID
) {}
73
virtual
uint32_t
getEnDatCount
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
const
{
return
UINT32_MAX; }
74
virtual
void
setEnDatCount
(uint32_t,
SectorID
,
PCIeEndPointID
,
TaggerID
) {}
75
virtual
uint64_t
getLastBCO
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
const
{
return
UINT64_MAX; }
76
virtual
void
setLastBCO
(uint64_t,
SectorID
,
PCIeEndPointID
,
TaggerID
) {}
77
virtual
uint8_t
getModebits
(
SectorID
,
PCIeEndPointID
,
TaggerID
)
const
{
return
UINT8_MAX; }
78
virtual
void
setModebits
(uint8_t,
SectorID
,
PCIeEndPointID
,
TaggerID
) {}
79
80
protected
:
81
TpcTpotEventInfo
() =
default
;
82
ClassDefOverride(
TpcTpotEventInfo
, 1)
83
};
84
85
#endif //TRACKBASE_TRKRCLUSTER_H
coresoftware
blob
master
offline
packages
trackbase
TpcTpotEventInfo.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration