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
MicromegasClusterizer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MicromegasClusterizer.h
1
#ifndef MICROMEGAS_MICROMEGASCLUSTERIZER_H
2
#define MICROMEGAS_MICROMEGASCLUSTERIZER_H
3
9
#include "
MicromegasCalibrationData.h
"
10
11
#include <
fun4all/SubsysReco.h
>
12
13
#include <string>
14
15
class
PHCompositeNode
;
16
18
class
MicromegasClusterizer
:
public
SubsysReco
19
{
20
public
:
21
23
MicromegasClusterizer
(
const
std::string
&
name
=
"MicromegasClusterizer"
);
24
26
int
Init
(
PHCompositeNode
*)
override
;
27
29
int
InitRun
(
PHCompositeNode
*)
override
;
30
32
int
process_event
(
PHCompositeNode
*)
override
;
33
35
void
set_default_pedestal
(
double
value
)
36
{
m_default_pedestal
=
value
; }
37
39
void
set_use_default_pedestal
(
bool
value
)
40
{
m_use_default_pedestal
=
value
; }
41
43
void
set_calibration_file
(
const
std::string
&
value
)
44
{
m_calibration_filename
=
value
; }
45
46
private
:
47
49
50
52
bool
m_use_default_pedestal
=
true
;
53
55
double
m_default_pedestal
= 74.6;
56
58
std::string
m_calibration_filename
;
59
61
MicromegasCalibrationData
m_calibration_data
;
62
64
65
66
};
67
68
#endif
coresoftware
blob
master
offline
packages
micromegas
MicromegasClusterizer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration