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
GenericUnpackPRDF.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GenericUnpackPRDF.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PROTOTYPE4_GENERICUNPACKPRDF_H
4
#define PROTOTYPE4_GENERICUNPACKPRDF_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <map>
9
#include <string>
10
#include <utility>
// for pair
11
12
class
PHCompositeNode
;
13
class
RawTowerContainer
;
14
15
class
GenericUnpackPRDF
:
public
SubsysReco
16
{
17
public
:
18
GenericUnpackPRDF
(
const
std::string
&
detector
);
19
20
int
InitRun
(
PHCompositeNode
*topNode);
21
22
int
process_event
(
PHCompositeNode
*topNode);
23
24
void
CreateNodeTree
(
PHCompositeNode
*topNode);
25
27
void
add_channel
(
const
int
packet_id,
28
const
int
channel
,
29
const
int
tower_id
30
);
31
32
private
:
33
std::string
_detector
;
34
36
typedef
std::pair<int, int>
channel_typ
;
37
39
typedef
std::map<channel_typ, int>
channel_map
;
40
41
channel_map
_channel_map
;
42
43
// output -> Towers
44
RawTowerContainer
*
_towers
;
45
};
46
47
#endif
analysis
blob
master
EMCTemplateFitting
src
GenericUnpackPRDF.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration