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
fun4allutils
phool
phoolraw
PHRawDataNode.cc
PHRawDataNode.h
PHRawOManager.cc
PHRawOManager.h
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
PHRawDataNode.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHRawDataNode.cc
1
// Implementation of class PHRawDataNode
2
// Author: Matthias Messer
3
4
#include "
PHRawDataNode.h
"
5
6
#include "
PHRawOManager.h
"
7
8
#include <
phool/PHDataNode.h
>
// for PHDataNode
9
#include <
phool/PHIOManager.h
>
10
11
#include <Event/phenixTypes.h>
12
13
PHRawDataNode::PHRawDataNode
(
PHDWORD
* d,
const
std::string
&
n
,
14
const
int
l,
const
int
i
,
const
int
w,
const
int
h
)
15
:
PHDataNode
<
PHDWORD
>(d, n)
16
,
length
(l)
17
, ID(i)
18
, wordLength(w)
19
, hitFormat(h)
20
{
21
}
22
23
PHRawDataNode::~PHRawDataNode
()
24
{
25
// set the data poitner to 0 so
26
// the dtor of the PHDataNode parent class doesn't try
27
// to delete it
28
setData
(
nullptr
);
29
}
30
31
bool
PHRawDataNode::write
(
PHIOManager
* IOManager,
const
std::string
&)
32
{
33
PHRawOManager
* rawOManager =
dynamic_cast<
PHRawOManager
*
>
(IOManager);
34
bool
bret =
false
;
35
if
(rawOManager)
36
{
37
bret = rawOManager->
write
(
this
);
38
}
39
40
return
bret;
41
}
coresoftware
blob
master
offline
framework
phoolraw
PHRawDataNode.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration