Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
blob
master
A_N
Ana
AndersonAnalysisModules
AntiSigma
BBCStudy
Calo_Validation_Package
Calo_waveform_sim
Calorimeter
CalorimeterEmbedding
CalorimeterJets
cdbEMCalExample
cemcRecoAna
Centrality_Validation_Package
dNdEta_Run2023
EIC-IR
EIC-SynRad
EICAnalysis
EICMCAnalysis
EICTrigger
ElectronID
EMCal-analysis
EMCal-calibration
EMCal-commissioning
EMCal-LEDs
EMCal-position-dependent-calibration
EMCal-QA
EMCal_pi0_Calib_2023
EMCTemplateFitting
macros
src
CaloCalibration.cc
CaloCalibration.h
CaloTemplateFit.cc
CaloTemplateFit.h
CaloUnpackPRDF.cc
CaloUnpackPRDF.h
EventInfoSummary.cc
EventInfoSummary.h
GenericUnpackPRDF.cc
GenericUnpackPRDF.h
PROTOTYPE4_FEM.cc
PROTOTYPE4_FEM.h
Prototype4DSTReader.cc
Prototype4DSTReader.h
RawTower_Prototype4.cc
RawTower_Prototype4.h
RawTower_Prototype4LinkDef.h
RawTower_Temperature.cc
RawTower_Temperature.h
RawTower_TemperatureLinkDef.h
RunInfoUnpackPRDF.cc
RunInfoUnpackPRDF.h
TempInfoUnpackPRDF.cc
TempInfoUnpackPRDF.h
EpFinder
Event-Display
EventMix
FilterEvents
FilterEventsUpsilon
Fluence
ForwardCalo
ForwardTracking
FrawleyTrackEvalMacros
hbcup
HCal-analysis
HCalCosmicCalib
HCalHotTowerFinder
HCalib
HcalSingleHadronCalib
HF-Jet
HF-Particle
isoCluster
IsolatedTrackAnalysis
JS-Jet
mbdAnalysis
MBDStudy
MultiDetectorMultiplicity
MvtxTelescope
mybuild
ParticleID
PHFlowJetMaker
PhotonConversion
PhotonJet
pi0ClusterAna
pi0Efficiency
Pi0MassAnalysis
Prototype2
Prototype3
Prototype4
psTOF
pythiaEMCalAna
pythiaInfo
QuarkoniaBG
quickHIJING
ResonanceJetTaggingOutputs
runTrackingDiagnostics
Shift_emcal_g4hits
SimpleTrackingAnalysis
singlePhotonClusterAna
sPhenixAj
SvtxSimPerformanceCheckReco
TemplateCreation
Test
TowerInfoExample
TPC
TPC-ClusterAnimation
TPC-GemGain
Tracking
TrackPid
TreeMaker
ZDC-CALIB
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CaloCalibration.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CaloCalibration.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PROTOTYPE4_CALOCALIBRATION_H
4
#define PROTOTYPE4_CALOCALIBRATION_H
5
6
//* Unpacks raw HCAL PRDF files *//
7
// Abhisek Sen
8
9
#include <
fun4all/SubsysReco.h
>
10
11
#include <phparameter/PHParameters.h>
12
13
#include <string>
14
15
class
PHCompositeNode
;
16
class
RawTowerContainer
;
17
18
class
CaloCalibration
:
public
SubsysReco
19
{
20
public
:
21
CaloCalibration
(
const
std::string
&
name
);
22
23
int
InitRun
(
PHCompositeNode
*topNode);
24
25
int
process_event
(
PHCompositeNode
*topNode);
26
27
void
CreateNodeTree
(
PHCompositeNode
*topNode);
28
29
std::string
get_calib_tower_node_prefix
()
const
30
{
31
return
_calib_tower_node_prefix
;
32
}
33
34
void
set_calib_tower_node_prefix
(
const
std::string
&calibTowerNodePrefix)
35
{
36
_calib_tower_node_prefix
= calibTowerNodePrefix;
37
}
38
39
std::string
get_raw_tower_node_prefix
()
const
40
{
41
return
_raw_tower_node_prefix
;
42
}
43
44
void
set_raw_tower_node_prefix
(
const
std::string
&rawTowerNodePrefix)
45
{
46
_raw_tower_node_prefix
= rawTowerNodePrefix;
47
}
48
50
const
PHParameters
&
GetCalibrationParameters
()
const
{
return
_calib_params
; }
51
54
PHParameters
&
GetCalibrationParameters
() {
return
_calib_params
; }
55
58
void
SetCalibrationParameters
(
const
PHParameters
&calib_params)
59
{
60
_calib_params
= calib_params;
61
}
62
63
enum
FitMethodType
64
{
66
kPowerLawExp
,
67
69
kPowerLawDoubleExp
,
70
73
kPowerLawDoubleExpWithGlobalFitConstraint
,
74
76
kPeakSample
77
78
};
79
80
void
SetFitType
(
FitMethodType
t
) {
_fit_type
=
t
; }
81
82
private
:
83
RawTowerContainer
*
_calib_towers
;
84
RawTowerContainer
*
_raw_towers
;
85
86
std::string
detector
;
87
std::string
RawTowerNodeName
;
88
std::string
CaliTowerNodeName
;
89
90
std::string
_calib_tower_node_prefix
;
91
std::string
_raw_tower_node_prefix
;
92
93
PHParameters
_calib_params
;
94
95
FitMethodType
_fit_type
;
96
98
void
SetDefaultParameters
(
PHParameters
¶m);
99
};
100
101
#endif
analysis
blob
master
EMCTemplateFitting
src
CaloCalibration.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration