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
MvtxPrototype2UnpackPRDF.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MvtxPrototype2UnpackPRDF.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef MVTX_P2_UnpackPRDF_H
4
#define MVTX_P2_UnpackPRDF_H
5
6
#include "
MvtxPrototype2Geom.h
"
7
8
#include <
fun4all/SubsysReco.h
>
9
#include <
phool/PHObject.h
>
10
11
#include <map>
12
13
class
Event
;
14
class
Packet
;
15
class
Packet_hbd_fpgashort
;
16
class
TrkrHitSetContainer
;
17
18
class
MvtxPrototype2UnpackPRDF
:
public
SubsysReco
19
{
20
public
:
21
MvtxPrototype2UnpackPRDF
();
22
23
int
24
Init
(
PHCompositeNode
*topNode);
25
26
int
27
InitRun
(
PHCompositeNode
*topNode);
28
29
int
30
process_event
(
PHCompositeNode
*topNode);
31
32
int
33
End
(
PHCompositeNode
*topNode);
34
35
void
36
CreateNodeTree
(
PHCompositeNode
*topNode);
37
38
void
MakeHits
();
39
40
int
DecodeRow
(
int
val)
const
;
41
int
DecodeCol
(
int
val)
const
;
42
43
private
:
44
45
PHCompositeNode
*
dstNode
;
46
47
Event
*
_event
;
48
Packet_hbd_fpgashort
*
_packet
;
49
TrkrHitSetContainer
*
_hitsetcon
;
50
51
static
std::map <std::pair<int,int>,std::pair<int,int>>
s_map_chips
;
//<ruid, ruchn> to <stave, chipID>
52
static
std::map <int, int>
s_map_layers
;
53
54
int
_nevents
;
55
int
_verbosity
;
56
bool
_first
;
57
58
int
_nevent_per_chip
[
NLAYER
][
NCHIP
];
59
int
_npixel_per_chip
[
NLAYER
][
NCHIP
];
60
61
};
62
63
#endif //**MvtxPrototype2UnpackPRDFF**//
prototype
blob
master
offline
packages
MvtxPrototype2
MvtxPrototype2UnpackPRDF.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration