CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Alignment/HIPAlignmentAlgorithm/python/collect_tpl.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 process = cms.Process("Alignment")
00003 
00004 # "including" common configuration <COMMON>
00005 
00006 process.source = cms.Source("EmptySource")
00007 
00008 process.maxEvents = cms.untracked.PSet(
00009     input = cms.untracked.int32(1)
00010 )
00011 
00012 process.AlignmentProducer.algoConfig.collectorActive = True
00013 process.AlignmentProducer.algoConfig.collectorNJobs  = '<JOBS>'
00014 process.AlignmentProducer.algoConfig.collectorPath   = '<PATH>'
00015 #process.AlignmentProducer.algoConfig.minimumNumberOfHits = 30
00016 process.AlignmentProducer.algoConfig.minimumNumberOfHits = 0
00017 process.AlignmentProducer.algoConfig.maxRelParameterError = '1e99'
00018 process.AlignmentProducer.algoConfig.outpath = '<PATH>/main/'
00019 ##
00020 process.AlignmentProducer.algoConfig.eventPrescale= 1
00021 process.AlignmentProducer.algoConfig.fillTrackMonitoring=True
00022 process.AlignmentProducer.algoConfig.outfile =  '/HIPAlignmentEvents.root'
00023 process.AlignmentProducer.algoConfig.outfile2 = '/HIPAlignmentAlignables.root'
00024 
00025 # this part only needed for survey constraint
00026 """
00027 process.survey = cms.ESSource("PoolDBESSource",
00028     process.CondDBSetup,
00029     timetype = cms.string('runnumber'),
00030     toGet = cms.VPSet(cms.PSet(
00031         record = cms.string('TrackerSurveyRcd'),
00032         tag = cms.string('valueTag')
00033     ), 
00034         cms.PSet(
00035             record = cms.string('TrackerSurveyErrorRcd'),
00036             tag = cms.string('errorTag')
00037         )),
00038      connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/HIP/surveyObjects/surveyRcd_ALLTK_PXFoppPXB_tightSSTUltraTightTOB_311.db')
00039 )
00040 
00041 #process.AlignmentProducer.algoConfig.surveyResiduals = ['DetUnit','Det','TOBRod','TECPetal','TECRing','TIDRing','TIDSide']
00042 process.AlignmentProducer.algoConfig.surveyResiduals = ['Det','TIBString','TOBRod','TECRing','TIDSide','TECPetal']
00043 process.AlignmentProducer.useSurvey = True
00044 """
00045 # end of survey constraint part