test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ApeEstimatorSummary_cfi.py
Go to the documentation of this file.
1 import os
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 
6 ApeEstimatorSummary = cms.EDAnalyzer('ApeEstimatorSummary',
7 
8  # Set baseline or calculate APE
9  setBaseline = cms.bool(False),
10 
11  # Weights for bins in sigmaX used for APE calculation from the values per bin,
12  # make sure to use the same configuration for baseline and iterations!!!
13  # Currently implemented: "unity", "entries", "entriesOverSigmaX2"
14  apeWeight = cms.string("entries"),
15 
16  # Define minimum number of hits per interval per sector for use of interval in APE calculation
17  minHitsPerInterval = cms.double(100.),
18 
19  # Sigma factor for second gauss fit (+-2.5 sigma1 around mean1 of first fit)
20  sigmaFactorFit = cms.double(2.5),
21 
22  # Multiplicative APE correction scaling factor (to prevent overestimation, since estimation is iterative process)
23  # Also in smmothing mode used for the first iteration
24  correctionScaling = cms.double(1.),
25 
26  # Use smoothing for iterations instead of scaling factor,
27  # specify fraction [0,1] of recently calculated value (the rest is taken from previous one)
28  smoothIteration = cms.bool(False),
29  smoothFraction = cms.double(0.5),
30 
31  # File name for input file containing normalized residual distributions per sector per error bin (specified in first step's TFileService)
32  InputFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/inputFile.root'),
33 
34  # File name for result histograms of: estimated width of normalized residuals, calculated APE value
35  ResultsFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/resultsFile.root'),
36 
37  #File name for root file defining the baseline of normalized residual width per sector for design geometry
38  BaselineFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/baselineApe.root'),
39 
40  #File name for root file used for iterations where calculated squared APE values are written to
41  IterationFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/iterationApe.root'),
42 
43  #File name for root file used for iterations where calculated squared APE values are written to
44  DefaultFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/defaultApe.root'),
45 
46  #File name for text file where calculated APE values are written to, used for DBobject creation
47  ApeOutputFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/apeOutput.txt'),
48 
49 )