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
InttRawDataConverter.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file InttRawDataConverter.h
1
#ifndef INTT_RAW_DATA_CONVERTER_H
2
#define INTT_RAW_DATA_CONVERTER_H
3
4
#include "
InttMapping.h
"
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <Rtypes.h>
9
10
#include <map>
11
#include <string>
12
13
class
PHCompositeNode
;
14
class
TFile;
15
class
TTree;
16
17
class
InttRawDataConverter
:
public
SubsysReco
18
{
19
public
:
20
InttRawDataConverter
(
std::string
const
&
name
=
"InttRawDataConverter"
);
21
22
int
SetOutputFile
(
std::string
const
&);
23
int
WriteOutputFile
();
24
25
int
Init
(
PHCompositeNode
*)
override
;
26
int
InitRun
(
PHCompositeNode
*)
override
;
27
int
process_event
(
PHCompositeNode
*)
override
;
28
int
End
(
PHCompositeNode
*)
override
;
29
30
private
:
31
TFile*
file
=
nullptr
;
32
TTree*
tree
=
nullptr
;
33
34
Int_t
n_evt
= -1;
35
Int_t
num_hits
= 0;
36
Long64_t
gtm_bco
= 0;
37
Int_t
flx_svr
= 0;
38
39
InttNameSpace::RawData_s
raw
;
40
InttNameSpace::Online_s
onl
;
41
42
typedef
std::map<std::string, Int_t*>
Branches_t
;
43
Branches_t
branches
;
44
};
45
46
#endif // INTT_RAW_DATA_CONVERTER_H
coresoftware
blob
master
offline
packages
intt
InttRawDataConverter.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration