File indexing completed on 2024-04-06 11:56:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("LAS")
0004
0005
0006
0007
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009 process.MessageLogger.cerr = cms.untracked.PSet(enable = cms.untracked.bool(False))
0010 process.MessageLogger.cout = cms.untracked.PSet(INFO = cms.untracked.PSet(
0011 reportEvery = cms.untracked.int32(100)
0012
0013 ))
0014 process.MessageLogger.cout.enableStatistics = cms.untracked.bool(True)
0015
0016
0017
0018
0019 process.options = cms.untracked.PSet(
0020 Rethrow = cms.untracked.vstring("ProductNotFound")
0021 )
0022
0023
0024
0025
0026 process.source = cms.Source(
0027 "PoolSource",
0028 fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/k/kaschube/cms/CMSSW_3_2_4/src/Alignment/LaserAlignment/test/tkLasBeams_ideal_newtest.root'
0029 )
0030 )
0031 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0032
0033
0034
0035
0036 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0037 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0038 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0039
0040 process.load("Configuration.StandardSequences.MagneticField_cff")
0041 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0042
0043 process.GlobalTag.globaltag = "DESIGN_31X_V5::All"
0044
0045
0046 process.TFileService = cms.Service("TFileService",
0047 fileName = cms.string("histograms.root"),
0048 closeFileFast = cms.untracked.bool(True)
0049 )
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070 process.load("Alignment.LaserAlignment.TkLasBeamFitter_cfi")
0071 process.TkLasBeamFitter.fitBeamSplitters = True
0072 process.TkLasBeamFitter.numberOfFittedAtParameters = 6
0073
0074 process.out = cms.OutputModule(
0075 "PoolOutputModule",
0076 outputCommands = cms.untracked.vstring('drop *', 'keep Tk*Beams_*_*_*'),
0077 fileName = cms.untracked.string('./tkFittedLasBeams.root')
0078 )
0079
0080
0081
0082
0083
0084 process.path = cms.Path(process.TkLasBeamFitter)
0085 process.outputPath = cms.EndPath(process.out)
0086
0087
0088