Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:25

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 # main configuration for LaserAlignment reconstruction module
0005 
0006 
0007 LaserAlignment = cms.EDProducer( "LaserAlignment",
0008 
0009     ### USER OPTIONS:
0010 
0011     # create a plain ROOT file containing the collected profile histograms?
0012     SaveHistograms = cms.untracked.bool( False ),
0013     ROOTFileName = cms.untracked.string( 'LAS.histos.root' ),
0014     ROOTFileCompression = cms.untracked.int32( 1 ),
0015                                
0016     # list of digi producers
0017     DigiProducersList = cms.VPSet(
0018       cms.PSet(
0019         DigiLabel = cms.string( '\0' ),
0020         DigiProducer = cms.string( 'siStripDigis' ),
0021         DigiType = cms.string( 'Raw' )
0022       )
0023     ),
0024 
0025     # the LASPeakFinder object will look for signals with peak amplitudes
0026     # higher than: PeakFinderThreshold * <noiseLevel>,
0027     # where <noiseLevel> is calculated from strips outside the "alignment hole"
0028     PeakFinderThreshold = cms.untracked.double( 10 ),
0029     
0030     # enable the zero (empty profile) filter in the LASProfileJudge, so profiles without signal are rejected.
0031     # might want to disable this for simulated data with typically low signal level on the last disks
0032     EnableJudgeZeroFilter = cms.untracked.bool( True ),
0033 
0034     # set the threshold above which the LASProfileJudge considers a profile to be overdriven (processed digis only).
0035     # this threshold is applied to the maximum strip ampitude in the "alignment hole"
0036     JudgeOverdriveThreshold = cms.untracked.uint32( 220 ),
0037    
0038     # if this is set to True, the geometry update is reversely applied to the input geometry (not to IDEAL).
0039     # should be set false only for geometry comparison purposes with MC (see TkLasCMSSW Twiki for more details)
0040     UpdateFromInputGeometry = cms.untracked.bool( False ),
0041 
0042     # if this is set to True, the LASGeometryUpdater object will assume that any misalignment is introduced
0043     # by the input geometry, rather than by (real) deviations of the local laser hits.
0044     # this is e.g. the case for simulated data where digis are always created at their nominal positions.
0045     MisalignedByRefGeometry = cms.untracked.bool( False ),
0046 
0047     # whether to create an sqlite file with a TrackerAlignmentRcd + error
0048     SaveToDbase = cms.untracked.bool( True ),
0049 
0050     # do pedestal subtraction for raw digis. DISABLE THIS for simulated or zero suppressed data
0051     SubtractPedestals = cms.untracked.bool( False ),
0052 
0053     # if true run the MINUIT based AT algorithm rather than the analytical one
0054     RunMinuitAlignmentTubeAlgorithm = cms.untracked.bool( False ),
0055 
0056     # apply beam kink corrections                               
0057     ApplyBeamKinkCorrections = cms.untracked.bool( True ),                               
0058 
0059     # detIDs of modules in the TECs (internal beams only!) which should not be considered
0060     # by the TEC algorithm can be specified here
0061     MaskTECModules = cms.untracked.vuint32(),
0062 
0063     # detIDs of modules along the alignment tube beams which should not be considered
0064     # by the AT algorithm can be specified here
0065     MaskATModules = cms.untracked.vuint32(),
0066 
0067     ### TESTING OPTIONS (EXPERTS ONLY):
0068 
0069     # override LASPeakFinder results and set hit strip numbers to nominal                               
0070     ForceFitterToNominalStrips = cms.untracked.bool( False ), # NOT YET IN USE
0071 
0072 
0073     ### STANDARD OPTIONS (DO NOT EDIT)
0074 
0075     # various LAS constants read from LaserAlignmentConstants_cff
0076     LaserAlignmentConstants = cms.untracked.VPSet()
0077 
0078 
0079 )
0080 
0081 from Alignment.LaserAlignment.LaserAlignmentConstants_cff import *
0082 LaserAlignment.LaserAlignmentConstants.extend( LaserAlignmentConstants )