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
MicromegasRawDataCalibration.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MicromegasRawDataCalibration.h
1
#ifndef MICROMEGAS_MICROMEGASRAWDATACALIBRATION_H
2
#define MICROMEGAS_MICROMEGASRAWDATACALIBRATION_H
3
8
#include <
fun4all/SubsysReco.h
>
9
10
#include <map>
11
#include <memory>
12
#include <string>
13
14
class
PHCompositeNode
;
15
class
TFile;
16
class
TH1;
17
class
TH2;
18
class
TProfile;
19
21
class
MicromegasRawDataCalibration
:
public
SubsysReco
22
{
23
public
:
24
26
MicromegasRawDataCalibration
(
const
std::string
&
name
=
"MicromegasRawDataCalibration"
);
27
29
int
Init
(
PHCompositeNode
*)
override
;
30
32
int
InitRun
(
PHCompositeNode
*)
override
;
33
35
int
process_event
(
PHCompositeNode
*)
override
;
36
38
int
End
(
PHCompositeNode
*)
override
;
39
41
void
set_sample_min
(
int
value
) {
m_sample_min
=
value
; }
42
44
void
set_sample_max
(
int
value
) {
m_sample_max
=
value
; }
45
47
void
set_calibration_file
(
const
std::string
&
value
) {
m_calibration_filename
=
value
; }
48
49
private
:
50
52
int
m_sample_min
= 0;
53
55
int
m_sample_max
= 100;
56
58
std::string
m_calibration_filename
=
"TPOT_Pedestal_000.root"
;
59
61
using
profile_map_t
= std::map<int, TProfile*>;
62
profile_map_t
m_profile_map
;
63
64
};
65
66
#endif
coresoftware
blob
master
offline
packages
micromegas
MicromegasRawDataCalibration.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration