Warning, /Validation/EcalClusters/test/macro/InstructionsForScripts is written in an unsupported language. File is not indexed.
0001
0002 ///////////////////////
0003
0004
0005 Starting Scripts FitEta.C or FitEt.C
0006
0007 //--------------------
0008 Main points:
0009 A.
0010 There are three types of SC analyzed by the code
0011 EnergyScaleAnalyzer.cc. The tree 'energyScale' has a brach em_scType.
0012 Depending which one you are interested to look at you need to require that SuperCluster type
0013
0014 Hybrid SC -> "em_scType == 1"
0015 Dynamic SC -> "em_scType == 2"
0016 FixedMatrix SC -> "em_scType == 3"
0017
0018 As a default, in scripts it is set to 1 ( Hybrid SC ).
0019
0020
0021 B
0022 In case multiple root files as a input function
0023 void load_noET() {}
0024 need to be modified.
0025
0026
0027
0028 //---------------------
0029 (1)
0030 FitEta.C and FitEt.C is used to make the performance plots ( mean/effSigma of ETreco/ETmc ) as a function Eta and Et accordingly.
0031
0032 (2)
0033 e.g. how to plot performace vs. ET:
0034
0035 > root -l FitEt.C > out.et
0036 > grep Result out.et > output
0037 > python3 plotMeanVsET.py
0038 ( Which takes file 'output' as an input and produces plot_MeanVsET.C )
0039 > root -l plot_MeanVsET.C
0040
0041 or
0042
0043 > python3 plotEffSigmaVsET.py
0044 > root -l plot_EffSigmaVsET.C
0045
0046 //-------------------------------------
0047 Similarly, if you wnat to look at performance vs Eta.
0048
0049