Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
ffamodules
ffaobjects
ffarawmodules
ffarawobjects
frog
fun4all
fun4allraw
Fun4AllEventOutputManager.cc
Fun4AllEventOutputManager.h
Fun4AllEventOutStream.cc
Fun4AllEventOutStream.h
Fun4AllFileOutStream.cc
Fun4AllFileOutStream.h
Fun4AllPrdfInputManager.cc
Fun4AllPrdfInputManager.h
Fun4AllPrdfInputPoolManager.cc
Fun4AllPrdfInputPoolManager.h
Fun4AllPrdfOutputManager.cc
Fun4AllPrdfOutputManager.h
Fun4AllRolloverFileOutStream.cc
Fun4AllRolloverFileOutStream.h
Fun4AllStreamingInputManager.cc
Fun4AllStreamingInputManager.h
intt_pool.cc
intt_pool.h
SingleGl1PoolInput.cc
SingleGl1PoolInput.h
SingleInttPoolInput.cc
SingleInttPoolInput.h
SingleMicromegasPoolInput.cc
SingleMicromegasPoolInput.h
SingleMvtxPoolInput.cc
SingleMvtxPoolInput.h
SinglePrdfInput.cc
SinglePrdfInput.h
SingleStreamingInput.cc
SingleStreamingInput.h
SingleTpcPoolInput.cc
SingleTpcPoolInput.h
SingleZdcInput.cc
SingleZdcInput.h
tpc_pool.cc
tpc_pool.h
fun4allutils
phool
phoolraw
packages
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SingleZdcInput.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SingleZdcInput.h
1
#ifndef FUN4ALLRAW_SINGLEZDCINPUT_H
2
#define FUN4ALLRAW_SINGLEZDCINPUT_H
3
4
#include "
SinglePrdfInput.h
"
5
6
#include <array>
7
#include <map>
8
#include <set>
9
#include <string>
10
#include <utility>
// for pair
11
#include <vector>
12
13
class
Eventiterator
;
14
class
Fun4AllPrdfInputPoolManager
;
15
class
Packet
;
16
17
class
SingleZdcInput
:
public
SinglePrdfInput
18
{
19
public
:
20
explicit
SingleZdcInput
(
const
std::string
&
name
,
Fun4AllPrdfInputPoolManager
*inman);
21
~SingleZdcInput
()
override
;
22
void
FillPool
(
const
unsigned
int
nevents
)
override
;
23
24
private
:
25
int
majority_eventnumber
();
26
int
majority_beamclock
();
27
void
adjust_eventnumber_offset
(
const
int
decided_evtno);
28
struct
PacketInfo
29
{
30
std::vector<Packet *>
PacketVector
;
31
unsigned
int
EventFoundCounter
= 0;
32
};
33
Packet
**
plist
=
nullptr
;
34
unsigned
int
m_NumSpecialEvents
= 0;
35
int
*
m_PacketEventNumberOffset
=
nullptr
;
// packet event counters start at 0 but we start with event number 1
36
std::map<int, std::vector<Packet *>>
m_PacketMap
;
37
std::set<int>
m_EvtSet
;
38
std::vector<std::pair<int, int>>
m_Event
;
39
std::array<unsigned int,100>
rollover
;
40
std::array<int,100>
previous_eventnumber
;
41
};
42
43
#endif
coresoftware
blob
master
offline
framework
fun4allraw
SingleZdcInput.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration