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.
m_myminbin
= 8;
// this really is min bin (no -1/+1 needed)
24
// but not sure if for summer 23 this should
25
// be 8 or 9 I think 8 according to Joey Clement
26
// on ~Nov 1, mattermost post
27
modlce.
m_mymaxbin
= 95 + 1 ;
// this actually means maxbin is 1 less
28
// modlce.m_mymaxbin = 95+1; // so that means maxbin is 95 which is
29
// really the max eta bin for emc, indexed 0 through 95
30
31
32
modlce.
setFitMin
(0.12);
33
modlce.
setFitMax
(0.7);
34
35
modlce.
FitRelativeShifts
(&modlce,110);
36
37
t.Stop();
38
t.Print();
39
40
}
macros
blob
master
calibrations
calo
calib_nov23
towerslope
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