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
SingleInttPoolInput.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SingleInttPoolInput.h
1
#ifndef FUN4ALLRAW_SINGLEINTTPOOLINPUT_H
2
#define FUN4ALLRAW_SINGLEINTTPOOLINPUT_H
3
4
#include "
SingleStreamingInput.h
"
5
6
#include <array>
7
#include <cstdint>
// for uint64_t
8
#include <map>
9
#include <set>
10
#include <string>
11
#include <vector>
12
13
class
InttRawHit
;
14
class
Packet
;
15
class
PHCompositeNode
;
16
class
intt_pool
;
17
18
class
SingleInttPoolInput
:
public
SingleStreamingInput
19
{
20
public
:
21
explicit
SingleInttPoolInput
(
const
std::string
&
name
);
22
~SingleInttPoolInput
()
override
;
23
void
FillPool
(
const
unsigned
int
)
override
;
24
void
CleanupUsedPackets
(
const
uint64_t bclk)
override
;
25
bool
CheckPoolDepth
(
const
uint64_t bclk)
override
;
26
void
ClearCurrentEvent
()
override
;
27
bool
GetSomeMoreEvents
(
const
uint64_t ibclk);
28
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
29
void
CreateDSTNode
(
PHCompositeNode
*topNode)
override
;
30
31
void
SetBcoRange
(
const
unsigned
int
value
) {
m_BcoRange
=
value
; }
32
void
ConfigureStreamingInputManager
()
override
;
33
void
SetNegativeBco
(
const
unsigned
int
value
) {
m_NegativeBco
=
value
; }
34
35
private
:
36
Packet
**
plist
{
nullptr
};
37
unsigned
int
m_NumSpecialEvents
{0};
38
unsigned
int
m_BcoRange
{0};
39
unsigned
int
m_NegativeBco
{0};
40
41
std::array<uint64_t, 14>
m_PreviousClock
{};
42
std::array<uint64_t, 14>
m_Rollover
{};
43
std::map<uint64_t, std::set<int>>
m_BeamClockFEE
;
44
std::map<uint64_t, std::vector<InttRawHit *>>
m_InttRawHitMap
;
45
std::map<int, uint64_t>
m_FEEBclkMap
;
46
std::set<uint64_t>
m_BclkStack
;
47
std::map<int, intt_pool *>
poolmap
;
48
};
49
50
#endif
coresoftware
blob
master
offline
framework
fun4allraw
SingleInttPoolInput.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration