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
InttCombinedRawDataConverter.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file InttCombinedRawDataConverter.h
1
#ifndef INTT_INTTCOMBINEDRAWDATACONVERTER_H
2
#define INTT_INTTCOMBINEDRAWDATACONVERTER_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <Rtypes.h>
// for ROOT data types
7
8
#include <map>
9
#include <string>
10
#include <tuple>
11
#include <vector>
12
13
class
PHCompositeNode
;
14
class
TTree;
15
class
TFile;
16
17
class
InttCombinedRawDataConverter
:
public
SubsysReco
18
{
19
public
:
20
InttCombinedRawDataConverter
(
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
std::string
m_InttRawNodeName
=
"INTTRAWHIT"
;
32
33
TFile*
file
=
nullptr
;
34
TTree*
tree
=
nullptr
;
35
36
Int_t
n_evt
= 0;
37
Int_t
num_hits
= 0;
38
39
typedef
std::map<std::string, std::vector<Int_t>*>
Branches_i_t
;
40
typedef
std::map<std::string, std::vector<Long64_t>*>
Branches_l_t
;
41
typedef
std::map<std::string, std::vector<Double_t>*>
Branches_d_t
;
42
Branches_i_t
branches_i
;
43
Branches_l_t
branches_l
;
44
Branches_d_t
branches_d
;
45
};
46
47
#endif // INTT_INTTCOMBINEDRAWDATACONVERTER_H
coresoftware
blob
master
offline
packages
intt
InttCombinedRawDataConverter.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration