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
MvtxCombinedRawDataDecoder.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MvtxCombinedRawDataDecoder.h
1
#ifndef MVTX_MVTXCOMBINEDRAWDATADECODER_H
2
#define MVTX_MVTXCOMBINEDRAWDATADECODER_H
3
10
#include <
fun4all/SubsysReco.h
>
11
12
#include <
trackbase/TrkrDefs.h
>
13
14
#include <map>
15
#include <memory>
16
#include <string>
17
#include <vector>
18
19
class
MvtxEventInfo
;
20
class
MvtxRawEvtHeader
;
21
class
MvtxRawHitContainer
;
22
class
MvtxRawHit
;
23
class
PHCompositeNode
;
24
class
TrkrHitSetContainer
;
25
27
class
MvtxCombinedRawDataDecoder
:
public
SubsysReco
28
{
29
public
:
31
MvtxCombinedRawDataDecoder
(
const
std::string
&
name
=
"MvtxCombinedRawDataDecoder"
);
32
34
int
Init
(
PHCompositeNode
*)
override
;
35
37
int
InitRun
(
PHCompositeNode
*)
override
;
38
40
int
process_event
(
PHCompositeNode
*)
override
;
41
43
int
End
(
PHCompositeNode
*)
override
;
44
45
void
useRawHitNodeName
(
const
std::string
&
name
) {
m_MvtxRawHitNodeName
=
name
; }
46
47
void
useRawEvtHeaderNodeName
(
const
std::string
&
name
) {
m_MvtxRawEvtHeaderNodeName
=
name
; }
48
49
void
writeMvtxEventHeader
(
bool
write
) {
m_writeMvtxEventHeader
=
write
; }
50
51
private
:
52
void
removeDuplicates
(std::vector<std::pair<uint64_t, uint32_t>>&
v
);
53
TrkrHitSetContainer
*
hit_set_container
=
nullptr
;
54
MvtxEventInfo
*
mvtx_event_header
=
nullptr
;
55
MvtxRawEvtHeader
*
mvtx_raw_event_header
=
nullptr
;
56
MvtxRawHitContainer
*
mvtx_hit_container
=
nullptr
;
57
MvtxRawHit
*
mvtx_hit
=
nullptr
;
58
59
std::string
m_MvtxRawHitNodeName
=
"MVTXRAWHIT"
;
60
std::string
m_MvtxRawEvtHeaderNodeName
=
"MVTXRAWEVTHEADER"
;
61
float
m_strobeWidth
= 89.;
62
bool
m_writeMvtxEventHeader
=
true
;
63
std::vector<std::pair<TrkrDefs::hitsetkey, TrkrDefs::hitkey>>
m_hotPixelMap
;
64
};
65
66
#endif
coresoftware
blob
master
offline
packages
mvtx
MvtxCombinedRawDataDecoder.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration