test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaserAlignment_cfi.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 # main configuration for LaserAlignment reconstruction module
5 
6 
7 LaserAlignment = cms.EDProducer( "LaserAlignment",
8 
9  ### USER OPTIONS:
10 
11  # create a plain ROOT file containing the collected profile histograms?
12  SaveHistograms = cms.untracked.bool( False ),
13  ROOTFileName = cms.untracked.string( 'LAS.histos.root' ),
14  ROOTFileCompression = cms.untracked.int32( 1 ),
15 
16  # list of digi producers
17  DigiProducersList = cms.VPSet(
18  cms.PSet(
19  DigiLabel = cms.string( '\0' ),
20  DigiProducer = cms.string( 'siStripDigis' ),
21  DigiType = cms.string( 'Raw' )
22  )
23  ),
24 
25  # the LASPeakFinder object will look for signals with peak amplitudes
26  # higher than: PeakFinderThreshold * <noiseLevel>,
27  # where <noiseLevel> is calculated from strips outside the "alignment hole"
28  PeakFinderThreshold = cms.untracked.double( 10 ),
29 
30  # enable the zero (empty profile) filter in the LASProfileJudge, so profiles without signal are rejected.
31  # might want to disable this for simulated data with typically low signal level on the last disks
32  EnableJudgeZeroFilter = cms.untracked.bool( True ),
33 
34  # set the threshold above which the LASProfileJudge considers a profile to be overdriven (processed digis only).
35  # this threshold is applied to the maximum strip ampitude in the "alignment hole"
36  JudgeOverdriveThreshold = cms.untracked.uint32( 220 ),
37 
38  # if this is set to True, the geometry update is reversely applied to the input geometry (not to IDEAL).
39  # should be set false only for geometry comparison purposes with MC (see TkLasCMSSW Twiki for more details)
40  UpdateFromInputGeometry = cms.untracked.bool( False ),
41 
42  # if this is set to True, the LASGeometryUpdater object will assume that any misalignment is introduced
43  # by the input geometry, rather than by (real) deviations of the local laser hits.
44  # this is e.g. the case for simulated data where digis are always created at their nominal positions.
45  MisalignedByRefGeometry = cms.untracked.bool( False ),
46 
47  # whether to create an sqlite file with a TrackerAlignmentRcd + error
48  SaveToDbase = cms.untracked.bool( True ),
49 
50  # do pedestal subtraction for raw digis. DISABLE THIS for simulated or zero suppressed data
51  SubtractPedestals = cms.untracked.bool( False ),
52 
53  # if true run the MINUIT based AT algorithm rather than the analytical one
54  RunMinuitAlignmentTubeAlgorithm = cms.untracked.bool( False ),
55 
56  # apply beam kink corrections
57  ApplyBeamKinkCorrections = cms.untracked.bool( True ),
58 
59  # detIDs of modules in the TECs (internal beams only!) which should not be considered
60  # by the TEC algorithm can be specified here
61  MaskTECModules = cms.untracked.vuint32(),
62 
63  # detIDs of modules along the alignment tube beams which should not be considered
64  # by the AT algorithm can be specified here
65  MaskATModules = cms.untracked.vuint32(),
66 
67  ### TESTING OPTIONS (EXPERTS ONLY):
68 
69  # override LASPeakFinder results and set hit strip numbers to nominal
70  ForceFitterToNominalStrips = cms.untracked.bool( False ), # NOT YET IN USE
71 
72 
73  ### STANDARD OPTIONS (DO NOT EDIT)
74 
75  # various LAS constants read from LaserAlignmentConstants_cff
76  LaserAlignmentConstants = cms.untracked.VPSet()
77 
78 
79 )
80 
82 LaserAlignment.LaserAlignmentConstants.extend( LaserAlignmentConstants )