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
rings_do_eta_fit2_emc.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file rings_do_eta_fit2_emc.C
1
#include <
GlobalVariables.C
>
2
3
#include "litecaloeval/LiteCaloEval.h"
4
R__LOAD_LIBRARY(libLiteCaloEvalTowSlope.so)
5
6
// regular file, modified file, output file
7
void
rings_do_eta_fit2_emc
(const
char
*
infile
, const
char
* modfile)
8
{
9
TStopwatch
t
;
10
t.Start();
11
12
gSystem->Load(
"libLiteCaloEvalTowSlope.so"
);
13
LiteCaloEval
modlce;
14
15
//reflce.CaloType(LiteCaloEval::CEMC);
16
modlce.
CaloType
(
LiteCaloEval::CEMC
);
17
20
21
modlce.
Get_Histos
(infile,modfile);
22
23
modlce.
setFitMin
(0.12);
24
modlce.
setFitMax
(0.7);
25
26
modlce.
FitRelativeShifts
(&modlce,110);
27
28
t.Stop();
29
t.Print();
30
31
}
macros
blob
master
calibrations
calo
tower_slope_run23
rings_do_eta_fit2_emc.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:26
using
1.8.2 with
sPHENIX GitHub integration