Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:55:57

0001 import os
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 
0006 ApeEstimatorSummary = cms.EDAnalyzer('ApeEstimatorSummary',
0007     
0008     # Set baseline or calculate APE
0009     setBaseline = cms.bool(False),
0010     
0011     # Weights for bins in sigmaX used for APE calculation from the values per bin,
0012     # make sure to use the same configuration for baseline and iterations!!!
0013     # Currently implemented: "unity", "entries", "entriesOverSigmaX2" 
0014     apeWeight = cms.string("entries"),
0015     
0016     # Define minimum number of hits per interval per sector for use of interval in APE calculation
0017     minHitsPerInterval = cms.double(100.),
0018     
0019     # Sigma factor for second gauss fit (+-2.5 sigma1 around mean1 of first fit)
0020     sigmaFactorFit = cms.double(2.5),
0021     
0022     # Multiplicative APE correction scaling factor (to prevent overestimation, since estimation is iterative process)
0023     # Also in smmothing mode used for the first iteration
0024     correctionScaling = cms.double(1.),
0025     
0026     # Use smoothing for iterations instead of scaling factor,
0027     # specify fraction [0,1] of recently calculated value (the rest is taken from previous one)
0028     smoothIteration = cms.bool(False),
0029     smoothFraction = cms.double(0.5),
0030     
0031     # File name for input file containing normalized residual distributions per sector per error bin (specified in first step's TFileService)
0032     InputFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/inputFile.root'),
0033     
0034     # File name for result histograms of: estimated width of normalized residuals, calculated APE value
0035     ResultsFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/resultsFile.root'),
0036     
0037     #File name for root file defining the baseline of normalized residual width per sector for design geometry
0038     BaselineFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/baselineApe.root'),
0039     
0040     #File name for root file used for iterations where calculated squared APE values are written to
0041     IterationFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/iterationApe.root'),
0042     
0043     #File name for root file used for iterations where calculated squared APE values are written to
0044     DefaultFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/defaultApe.root'),
0045     
0046     #File name for text file where calculated APE values are written to, used for DBobject creation
0047     ApeOutputFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/APEEstimation/hists/apeOutput.txt'),
0048     
0049 )