forked from CTPPS/ctpps-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_9998.152127.py
90 lines (69 loc) · 3.64 KB
/
config_9998.152127.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# config from /eos/totem/data/offline/2015/90m/Reco/version2/4511/CONFIGS
import FWCore.ParameterSet.Config as cms
process = cms.Process("rpReconstruction")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1000)
)
process.load('TotemRawData.Readers.TotemStandaloneRawDataSource_cfi')
process.source.fileNames = cms.untracked.vstring()
process.source.fileNames.append('run_9998_EVB15_2.127.srs')
process.load("Configuration.TotemCommon.LoggerMax_cfi")
process.load("Geometry.VeryForwardGeometry.geometryRP_cfi")
process.load("Alignment.RPDataFormats.TotemRPIncludeAlignments_cfi")
process.TotemRPIncludeAlignments.RealFiles = cms.vstring(
'Alignment/RPData/LHC/2015_10_18_fill4511/version2/sr+el/45.xml',
'Alignment/RPData/LHC/2015_10_18_fill4511/version2/sr+el/56.xml'
)
# raw to digi conversion
process.load('CondFormats.TotemReadoutObjects.TotemDAQMappingESSourceXML_cfi')
process.TotemDAQMappingESSourceXML.mappingFileNames.append("CondFormats/TotemReadoutObjects/xml/totem_rp_210far_220_mapping.xml")
process.load('EventFilter.TotemRawToDigi.TotemRPRawToDigi_cfi')
process.TotemRPRawToDigi.rawDataTag = cms.InputTag("source")
process.TotemRPRawToDigi.RawToDigi.printErrorSummary = 1
process.TotemRPRawToDigi.RawToDigi.printUnknownFrameSummary = 1
process.load("Configuration.TotemOpticsConfiguration.OpticsConfig_6500GeV_90_50urad_cfi")
process.load("RecoTotemRP.RPClusterizer.RPClusterizationConf_cfi")
process.RPClustProd.DigiLabel = cms.InputTag("TotemRawToDigi")
# reco hit production
process.load("RecoTotemRP.RPRecoHitProducer.RPRecoHitProdConf_cfi")
# non-parallel pattern recognition
process.load("RecoTotemRP.RPNonParallelTrackCandidateFinder.RPNonParallelTrackCandidateFinder_cfi")
process.NonParallelTrackFinder.verbosity = 0
process.NonParallelTrackFinder.maxHitsPerPlaneToSearch = 5
process.NonParallelTrackFinder.minPlanesPerProjectionToSearch = 2
process.NonParallelTrackFinder.minPlanesPerProjectionToFit = 3
process.NonParallelTrackFinder.threshold = 2.99
process.load("RecoTotemRP.RPSingleCandidateTrackFinder.RPSingleTrackCandFindConf_cfi")
process.load("RecoTotemRP.RPTrackCandidateCollectionFitter.RPSingleTrackCandCollFitted_cfi")
process.RPSingleTrackCandCollFit.Verbosity = 0
process.RPSingleTrackCandCollFit.RPTrackCandCollProducer = 'NonParallelTrackFinder'
process.load("RecoTotemRP.RPMulCandidateTrackFinder.RPMulTrackCandFindConf_cfi")
process.RPMulTrackCandFind.Verbosity = 0
process.load("RecoTotemRP.RPMulTrackCandidateCollectionFitter.RPMulTrackCandCollFitter_cfi")
process.RPMulTrackCandCollFit.Verbosity = 0
process.load("RecoTotemRP.RPInelasticReconstruction.Rec_6500GeV_beta_90_50urad_cfi")
process.RP220Reconst.BeamProtTransportSetup = process.BeamProtTransportSetup
process.load("TotemAnalysis.TotemNtuplizer.TotemNtuplizer_cfi")
process.TotemNtuplizer.outputFileName = cms.untracked.string('file:./totcsi_9998.152127.ntuple.root')
process.TotemNtuplizer.RPReconstructedProtonCollectionLabel = cms.InputTag('RP220Reconst')
process.TotemNtuplizer.RPReconstructedProtonPairCollectionLabel = cms.InputTag('RP220Reconst')
process.TotemNtuplizer.includeDigi = cms.bool(True)
process.TotemNtuplizer.includePatterns = cms.bool(True)
process.output = cms.OutputModule(
"PoolOutputModule",
fileName = cms.untracked.string("file:./totcsi_9998.152127.root"),
outputCommands = cms.untracked.vstring('keep *')
)
process.path = cms.Path(
process.TotemRPRawToDigi*
process.RPClustProd*
process.RPRecoHitProd*
process.RPSinglTrackCandFind*
process.NonParallelTrackFinder*
process.RPSingleTrackCandCollFit*
process.RPMulTrackCandFind*
process.RPMulTrackCandCollFit*
process.RP220Reconst*
process.TotemNtuplizer
)
process.outpath = cms.EndPath(process.output)