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
DumpMvtxRawEvtHeader.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DumpMvtxRawEvtHeader.cc
1
#include "
DumpMvtxRawEvtHeader.h
"
2
3
#include <
ffarawobjects/MvtxRawEvtHeader.h
>
4
5
#include <
phool/PHIODataNode.h
>
6
7
#include <ostream>
8
#include <string>
9
10
using
MyNode_t
=
PHIODataNode<MvtxRawEvtHeader>
;
11
12
DumpMvtxRawEvtHeader::DumpMvtxRawEvtHeader
(
const
std::string
&NodeName)
13
:
DumpObject
(NodeName)
14
{
15
return
;
16
}
17
18
int
DumpMvtxRawEvtHeader::process_Node
(
PHNode
*myNode)
19
{
20
MvtxRawEvtHeader
*mvtxRawEvtHeader =
nullptr
;
21
MyNode_t
*thisNode =
static_cast<
MyNode_t
*
>
(myNode);
22
if
(thisNode)
23
{
24
mvtxRawEvtHeader = thisNode->
getData
();
25
}
26
if
(mvtxRawEvtHeader)
27
{
28
for
(
auto
iter: mvtxRawEvtHeader->
getMvtxFeeIdSet
())
29
{
30
*
fout
<<
"FeeIdSet: "
<< iter << std::endl;
31
}
32
for
(
auto
iter: mvtxRawEvtHeader->
getMvtxLvL1BCO
())
33
{
34
*
fout
<<
"LvL1BCO: "
<< iter << std::endl;
35
}
36
}
37
return
0;
38
}
coresoftware
blob
master
offline
packages
NodeDump
DumpMvtxRawEvtHeader.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration