CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
collect_tpl.py
Go to the documentation of this file.
2 process = cms.Process("Alignment")
3 
4 # "including" common configuration
5 <COMMON>
6 
7 process.source = cms.Source("EmptySource")
8 
9 process.maxEvents = cms.untracked.PSet(
10  input = cms.untracked.int32(1)
11 )
12 
13 process.AlignmentProducer.algoConfig.collectorActive = True
14 process.AlignmentProducer.algoConfig.collectorNJobs = <JOBS>
15 process.AlignmentProducer.algoConfig.collectorPath = '<PATH>'
16 #process.AlignmentProducer.algoConfig.minimumNumberOfHits = 30
17 process.AlignmentProducer.algoConfig.minimumNumberOfHits = 0
18 process.AlignmentProducer.algoConfig.maxRelParameterError = '1e99'
19 process.AlignmentProducer.algoConfig.outpath = '<PATH>/main/'
20 ##
21 process.AlignmentProducer.algoConfig.eventPrescale= 1
22 process.AlignmentProducer.algoConfig.fillTrackMonitoring=True
23 process.AlignmentProducer.algoConfig.outfile = '/HIPAlignmentEvents.root'
24 process.AlignmentProducer.algoConfig.outfile2 = '/HIPAlignmentAlignables.root'
25 
26 # this part only needed for survey constraint
27 """
28 process.survey = cms.ESSource("PoolDBESSource",
29  process.CondDBSetup,
30  timetype = cms.string('runnumber'),
31  toGet = cms.VPSet(cms.PSet(
32  record = cms.string('TrackerSurveyRcd'),
33  tag = cms.string('valueTag')
34  ),
35  cms.PSet(
36  record = cms.string('TrackerSurveyErrorRcd'),
37  tag = cms.string('errorTag')
38  )),
39  connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/HIP/surveyObjects/surveyRcd_ALLTK_PXFoppPXB_tightSSTUltraTightTOB_311.db')
40 )
41 
42 #process.AlignmentProducer.algoConfig.surveyResiduals = ['DetUnit','Det','TOBRod','TECPetal','TECRing','TIDRing','TIDSide']
43 process.AlignmentProducer.algoConfig.surveyResiduals = ['Det','TIBString','TOBRod','TECRing','TIDSide','TECPetal']
44 process.AlignmentProducer.useSurvey = True
45 """
46 # end of survey constraint part