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
EventInfoSummary.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventInfoSummary.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PROTOTYPE4_EVENTINFOSUMMARY_H
4
#define PROTOTYPE4_EVENTINFOSUMMARY_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <map>
9
#include <string>
10
11
class
PHCompositeNode
;
12
13
class
EventInfoSummary
:
public
SubsysReco
14
{
15
public
:
16
EventInfoSummary
();
17
18
int
InitRun
(
PHCompositeNode
*topNode);
19
20
int
process_event
(
PHCompositeNode
*topNode);
21
22
void
CreateNodeTree
(
PHCompositeNode
*topNode);
23
25
void
26
add_channel
(
const
std::string
&
name
,
27
const
int
packet_id,
28
const
unsigned
int
offset
,
29
const
double
calibration_const =
30
+1
31
);
32
33
private
:
34
class
channel_info
35
{
36
public
:
37
channel_info
(
int
p
,
unsigned
int
o,
double
c
)
38
: packet_id(p)
39
, offset(o)
40
,
calibration_const
(c)
41
{
42
}
43
44
int
packet_id
;
45
unsigned
offset
;
46
double
calibration_const
;
47
};
48
50
typedef
std::map<std::string, channel_info>
typ_channel_map
;
51
52
typ_channel_map
channel_map
;
53
54
std::string
eventinfo_node_name
;
55
};
56
57
#endif
analysis
blob
master
EMCTemplateFitting
src
EventInfoSummary.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration