1 |
querten |
1.1 |
|
2 |
|
|
import FWCore.ParameterSet.Config as cms
|
3 |
|
|
|
4 |
|
|
process = cms.Process("Rec")
|
5 |
|
|
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
6 |
|
|
|
7 |
|
|
process.load("CondCore.DBCommon.CondDBSetup_cfi")
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
|
11 |
|
|
process.source = cms.Source("PoolSource",
|
12 |
|
|
skipEvents = cms.untracked.uint32(950),
|
13 |
|
|
fileNames = cms.untracked.vstring(
|
14 |
|
|
'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/064/94713ABF-247F-DD11-A3C9-000423D992DC.root' #Run62064
|
15 |
|
|
)
|
16 |
|
|
)
|
17 |
|
|
|
18 |
|
|
# output module
|
19 |
|
|
#
|
20 |
|
|
process.load("Configuration.EventContent.EventContentCosmics_cff")
|
21 |
|
|
|
22 |
|
|
process.FEVT = cms.OutputModule("PoolOutputModule",
|
23 |
|
|
process.FEVTEventContent,
|
24 |
|
|
dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RECO')),
|
25 |
|
|
fileName = cms.untracked.string('promptrecoCosmics.root')
|
26 |
|
|
)
|
27 |
|
|
|
28 |
|
|
process.FEVT.outputCommands.append('keep CaloTowersSorted_calotoweroptmaker_*_*')
|
29 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCALCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCALCTDigi_*')
|
30 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCCLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCLCTDigi_*')
|
31 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCComparatorDigiMuonDigiCollection_muonCSCDigis_MuonCSCComparatorDigi_*')
|
32 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_csctfDigis_*_*')
|
33 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCorrelatedLCTDigi_*')
|
34 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCRPCDigiMuonDigiCollection_muonCSCDigis_MuonCSCRPCDigi_*')
|
35 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCStripDigiMuonDigiCollection_muonCSCDigis_MuonCSCStripDigi_*')
|
36 |
|
|
process.FEVT.outputCommands.append('keep CSCDetIdCSCWireDigiMuonDigiCollection_muonCSCDigis_MuonCSCWireDigi_*')
|
37 |
|
|
process.FEVT.outputCommands.append('keep cscL1TrackCSCDetIdCSCCorrelatedLCTDigiMuonDigiCollectionstdpairs_csctfDigis_*_*')
|
38 |
|
|
process.FEVT.outputCommands.append('keep DTChamberIdDTLocalTriggerMuonDigiCollection_muonDTDigis_*_*')
|
39 |
|
|
process.FEVT.outputCommands.append('keep DTLayerIdDTDigiMuonDigiCollection_muonDTDigis_*_*')
|
40 |
|
|
process.FEVT.outputCommands.append('keep intL1CSCSPStatusDigisstdpair_csctfDigis_*_*')
|
41 |
|
|
process.FEVT.outputCommands.append('keep L1MuDTChambPhContainer_dttfDigis_*_*')
|
42 |
|
|
process.FEVT.outputCommands.append('keep L1MuDTChambThContainer_dttfDigis_*_*')
|
43 |
|
|
process.FEVT.outputCommands.append('keep L1MuDTTrackContainer_dttfDigis_DATA_*')
|
44 |
|
|
process.FEVT.outputCommands.append('keep PixelDigiedmDetSetVector_siPixelDigis_*_*')
|
45 |
|
|
process.FEVT.outputCommands.append('keep recoCandidatesOwned_caloTowersOpt_*_*')
|
46 |
|
|
process.FEVT.outputCommands.append('keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*')
|
47 |
|
|
|
48 |
|
|
process.configurationMetadata = cms.untracked.PSet(
|
49 |
|
|
version = cms.untracked.string('$Revision: 1.20 $'),
|
50 |
|
|
name = cms.untracked.string('$Source: /local/projects/CMSSW/rep/CMSSW/Configuration/GlobalRuns/python/recoT0DQM_EvContent_cfg.py,v $'),
|
51 |
|
|
annotation = cms.untracked.string('CRUZET Prompt Reco with DQM with Mag field at 0T')
|
52 |
|
|
)
|
53 |
|
|
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) ## default is false
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
# Conditions (Global Tag is used here):
|
57 |
|
|
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
58 |
|
|
process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
|
59 |
|
|
process.GlobalTag.globaltag = "CRUZET4_V4P::All"
|
60 |
|
|
process.prefer("GlobalTag")
|
61 |
|
|
|
62 |
|
|
# Magnetic fiuld: force mag field to be 0 tesla
|
63 |
|
|
process.load("Configuration.StandardSequences.MagneticField_0T_cff")
|
64 |
|
|
|
65 |
|
|
#Geometry
|
66 |
|
|
process.load("Configuration.StandardSequences.Geometry_cff")
|
67 |
|
|
|
68 |
|
|
# Real data raw to digi
|
69 |
|
|
process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
|
70 |
|
|
|
71 |
|
|
# reconstruction sequence for Cosmics
|
72 |
|
|
process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
|
73 |
|
|
|
74 |
|
|
#L1 trigger validation
|
75 |
|
|
#process.load("L1Trigger.HardwareValidation.L1HardwareValidation_cff")
|
76 |
|
|
process.load("L1Trigger.Configuration.L1Config_cff")
|
77 |
|
|
process.load("L1TriggerConfig.CSCTFConfigProducers.CSCTFConfigProducer_cfi")
|
78 |
|
|
process.load("L1TriggerConfig.CSCTFConfigProducers.L1MuCSCTFConfigurationRcdSrc_cfi")
|
79 |
|
|
|
80 |
|
|
## workaround for tracker
|
81 |
|
|
process.load("CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi")
|
82 |
|
|
process.SiStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
|
83 |
|
|
cms.PSet( record = cms.string("SiStripFedCablingRcd"), tag = cms.string("") ),
|
84 |
|
|
cms.PSet( record = cms.string("SiStripBadChannelRcd"), tag = cms.string("") ),
|
85 |
|
|
cms.PSet( record = cms.string("SiStripBadFiberRcd"), tag = cms.string("") )
|
86 |
|
|
)
|
87 |
|
|
process.prefer("SiStripQualityESProducer")
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
#FROG
|
96 |
|
|
process.load("Visualisation.Frog.Frog_Analyzer_cff")
|
97 |
|
|
|
98 |
|
|
process.frog.OutputFile = 'Run62064.vis'
|
99 |
|
|
|
100 |
|
|
process.frog.GenParticlesProducers = [] #Commented Lines means default value
|
101 |
|
|
process.frog.SimVertexProducers = [] #Commented Lines means default value
|
102 |
|
|
process.frog.SimTrackProducers = [] #Commented Lines means default value
|
103 |
|
|
process.frog.SimHitProducers = [] #Commented Lines means default value
|
104 |
|
|
process.frog.SimCaloHitProducers = [] #Commented Lines means default value
|
105 |
|
|
process.frog.SiStripClusterProducers = [] #Commented Lines means default value
|
106 |
|
|
#process.frog.EcalRecHitProducers = [] #Commented Lines means default value
|
107 |
|
|
#process.frog.HcalHBHERecHitProducers = [] #Commented Lines means default value
|
108 |
|
|
#process.frog.HcalHORecHitProducers = [] #Commented Lines means default value
|
109 |
|
|
#process.frog.HcalHFRecHitProducers = [] #Commented Lines means default value
|
110 |
|
|
#process.frog.DTSegmentProducers = [] #Commented Lines means default value
|
111 |
|
|
#process.frog.CSCSegmentProducers = [] #Commented Lines means default value
|
112 |
|
|
#process.frog.RPCHitsProducers = [] #Commented Lines means default value
|
113 |
|
|
process.frog.CaloTowersProducers = [] #Commented Lines means default value
|
114 |
|
|
process.frog.NIProducers = [] #Commented Lines means default value
|
115 |
|
|
#process.frog.TrackProducers = ['cosmictrackfinderP5' ] #Commented Lines means default value
|
116 |
|
|
#process.frog.TrajectoryProducers = ['TrackRefitter', 'globalMuons'] #Commented Lines means default value
|
117 |
|
|
process.frog.TrajectoryProducers = [] #Commented Lines means default value
|
118 |
|
|
process.frog.BasicJetsProducers = [] #Commented Lines means default value
|
119 |
|
|
process.frog.CaloJetsProducers = [] #Commented Lines means default value
|
120 |
|
|
process.frog.RecoCandidateProducers = [] #Commented Lines means default value
|
121 |
|
|
process.frog.CaloMETProducers = [] #Commented Lines means default value
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
#Paths
|
125 |
|
|
process.allPath = cms.Path( process.RawToDigi_woGCT * process.reconstructionCosmics * process.frog)
|
126 |
|
|
#process.outpath = cms.EndPath(process.FEVT)
|
127 |
|
|
|
128 |
|
|
|