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
RawClusterPositionCorrection.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawClusterPositionCorrection.h
1
#ifndef CALORECO_RAWCLUSTERPOSITIONCORRECTION_H
2
#define CALORECO_RAWCLUSTERPOSITIONCORRECTION_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <string>
7
#include <vector>
8
9
class
PHCompositeNode
;
10
class
RawClusterContainer
;
11
class
CDBHistos
;
12
class
CDBInterface
;
13
class
CDBTTree
;
14
class
TH1;
15
class
TH2;
16
17
class
RawClusterPositionCorrection
:
public
SubsysReco
18
{
19
public
:
20
explicit
RawClusterPositionCorrection
(
const
std::string
&
name
);
21
~RawClusterPositionCorrection
()
override
;
22
int
InitRun
(
PHCompositeNode
*topNode)
override
;
23
int
process_event
(
PHCompositeNode
*topNode)
override
;
24
int
End
(
PHCompositeNode
*topNode)
override
;
25
26
void
CreateNodeTree
(
PHCompositeNode
*topNode);
27
28
// const PHParameters &Get_eclus_CalibrationParameters() const
29
// {
30
// return _eclus_calib_params;
31
// }
32
// PHParameters &Get_eclus_CalibrationParameters()
33
// {
34
// return _eclus_calib_params;
35
// }
36
// const PHParameters &Get_eore_CalibrationParameters() const
37
// {
38
// return _ecore_calib_params;
39
// }
40
// PHParameters &Get_ecore_CalibrationParameters()
41
// {
42
// return _ecore_calib_params;
43
// }
44
45
// void Set_eclus_CalibrationParameters(const PHParameters &calib_params)
46
// {
47
// _eclus_calib_params = calib_params;
48
// }
49
// void Set_ecore_CalibrationParameters(const PHParameters &calib_params)
50
// {
51
// _ecore_calib_params = calib_params;
52
// }
53
54
void
set_UseTowerInfo
(
const
int
useMode)
55
{
// 0 only old tower, 1 only new (TowerInfo based),
56
m_UseTowerInfo
= useMode;
57
}
58
59
private
:
60
// PHParameters _eclus_calib_params;
61
// PHParameters _ecore_calib_params;
62
// void SetDefaultParameters(PHParameters ¶m);
63
RawClusterContainer
*
_recalib_clusters
{};
64
65
std::string
_det_name
;
66
67
// std::vector<float> binvals;
68
// std::vector<std::vector<double> > eclus_calib_constants;
69
// std::vector<std::vector<double> > ecore_calib_constants;
70
71
// key: phibin, etabin
72
std::vector<std::vector<float>>
calib_constants_north
;
73
std::vector<std::vector<float>>
calib_constants_north_ecore
;
74
std::vector<std::vector<float>>
calib_constants_south
;
75
std::vector<std::vector<float>>
calib_constants_south_ecore
;
76
77
int
m_UseTowerInfo
{0};
// 0 only old tower, 1 only new (TowerInfo based),
78
79
int
bins_eta
;
80
int
bins_phi
;
81
int
iEvent
;
82
83
TH2*
h2NorthSector
{
nullptr
};
84
TH2*
h2SouthSector
{
nullptr
};
85
TH1*
pdcCorrFlat
{
nullptr
};
86
87
CDBTTree
*
cdbttree
{
nullptr
};
88
CDBHistos
*
cdbHisto
{
nullptr
};
89
};
90
91
#endif
coresoftware
blob
master
offline
packages
CaloReco
RawClusterPositionCorrection.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration