CMS 3D CMS Logo

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