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