Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:00

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("Rec")
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0008 
0009 
0010 process.maxEvents = cms.untracked.PSet(  input = cms.untracked.int32(500) )
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring(
0013 '/store/data/Commissioning08/HcalHPDNoise/RAW/v1/000/068/021/E293B383-5DA7-DD11-9621-001D09F2437B.root'
0014 #'/store/data/Commissioning08/HcalHPDNoise/RAW/v1/000/068/021/AAFD01F4-67A7-DD11-8EAE-000423D98A44.root'
0015 # '/store/data/Commissioning08/Cosmics/RAW/v1/000/070/664/20A57DB9-79AF-DD11-95AB-000423D99BF2.root'
0016 #        '/store/data/Commissioning08/Cosmics/RAW/v1/000/067/838/006945C8-40A5-DD11-BD7E-001617DBD556.root'
0017 #        '/store/data/Commissioning08/Calo/RAW/v1/000/067/838/001DBF26-91A5-DD11-BA34-000423D98AF0.root'
0018 #     '/store/data/Commissioning08/Cosmics/RAW/v1/000/066/480/3A542A1C-609B-DD11-8D8A-000423D6CA72.root' 
0019     )
0020 )
0021 
0022 
0023 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0024 
0025 
0026 # output module
0027 #
0028 process.load("Configuration.EventContent.EventContentCosmics_cff")
0029 
0030 process.FEVT = cms.OutputModule("PoolOutputModule",
0031     process.FEVTEventContent,
0032     dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RECO')),
0033     fileName = cms.untracked.string('file:/uscms_data/d1/mikeh/promptRecoHCalNoise.root')
0034 )
0035 
0036 process.FEVT.outputCommands.append('keep CSCDetIdCSCALCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCALCTDigi_*')
0037 process.FEVT.outputCommands.append('keep CSCDetIdCSCCLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCLCTDigi_*')
0038 process.FEVT.outputCommands.append('keep CSCDetIdCSCComparatorDigiMuonDigiCollection_muonCSCDigis_MuonCSCComparatorDigi_*')
0039 process.FEVT.outputCommands.append('keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_csctfDigis_*_*')
0040 process.FEVT.outputCommands.append('keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCorrelatedLCTDigi_*')
0041 process.FEVT.outputCommands.append('keep CSCDetIdCSCRPCDigiMuonDigiCollection_muonCSCDigis_MuonCSCRPCDigi_*')
0042 process.FEVT.outputCommands.append('keep CSCDetIdCSCStripDigiMuonDigiCollection_muonCSCDigis_MuonCSCStripDigi_*')
0043 process.FEVT.outputCommands.append('keep CSCDetIdCSCWireDigiMuonDigiCollection_muonCSCDigis_MuonCSCWireDigi_*')
0044 process.FEVT.outputCommands.append('keep cscL1TrackCSCDetIdCSCCorrelatedLCTDigiMuonDigiCollectionstdpairs_csctfDigis_*_*')
0045 process.FEVT.outputCommands.append('keep DTChamberIdDTLocalTriggerMuonDigiCollection_muonDTDigis_*_*')
0046 process.FEVT.outputCommands.append('keep DTLayerIdDTDigiMuonDigiCollection_muonDTDigis_*_*')
0047 process.FEVT.outputCommands.append('keep intL1CSCSPStatusDigisstdpair_csctfDigis_*_*')
0048 process.FEVT.outputCommands.append('keep L1MuDTChambPhContainer_dttfDigis_*_*')
0049 process.FEVT.outputCommands.append('keep L1MuDTChambThContainer_dttfDigis_*_*')
0050 process.FEVT.outputCommands.append('keep L1MuDTTrackContainer_dttfDigis_DATA_*')
0051 process.FEVT.outputCommands.append('keep PixelDigiedmDetSetVector_siPixelDigis_*_*')
0052 process.FEVT.outputCommands.append('keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*')
0053 process.FEVT.outputCommands.append('keep HBHEDataFramesSorted_hcalDigis_*_*')
0054 process.FEVT.outputCommands.append('keep HFDataFramesSorted_hcalDigis_*_*')
0055 process.FEVT.outputCommands.append('keep HODataFramesSorted_hcalDigis_*_*')
0056 process.FEVT.outputCommands.append('keep EBDigiCollection_ecalDigis_*_*')
0057 process.FEVT.outputCommands.append('keep EEDigiCollection_ecalDigis_*_*')
0058 process.FEVT.outputCommands.append('keep ESDataFramesSorted_ecalPreshowerDigis_*_*')
0059 
0060 process.configurationMetadata = cms.untracked.PSet(
0061     version = cms.untracked.string('$Revision: 1.1 $'),
0062     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/SimGeneral/DataMixingModule/python/recoT0DQM_EvContent_40T_digiOnly_cfg.py,v $'),
0063     annotation = cms.untracked.string('CRUZET Prompt Reco with Mag field at 3.8T')
0064 )
0065 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) ## default is false
0066 
0067 
0068 # Conditions (Global Tag is used here):
0069 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0070 #process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0071 process.GlobalTag.connect = "frontier://FrontierInt/CMS_COND_30X_GLOBALTAG"
0072 process.GlobalTag.globaltag = "CRAFT_30X::All"
0073 process.prefer("GlobalTag")
0074 
0075 # Magnetic fiuld: force mag field to be 3.8 tesla
0076 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0077 
0078 #Geometry
0079 process.load("Configuration.StandardSequences.Geometry_cff")
0080 
0081 # Real data raw to digi
0082 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0083 
0084 # reconstruction sequence for Cosmics (local copy)
0085 process.load("SimGeneral.DataMixingModule.ReconstructionLocalCosmics_cff")
0086 
0087 # offline DQM
0088 #process.load("DQMOffline.Configuration.DQMOfflineCosmics_cff")
0089 #process.load("DQMServices.Components.MEtoEDMConverter_cff")
0090 
0091 #L1 trigger validation
0092 #process.load("L1Trigger.HardwareValidation.L1HardwareValidation_cff")
0093 process.load("L1Trigger.Configuration.L1Config_cff")
0094 process.load("L1TriggerConfig.CSCTFConfigProducers.CSCTFConfigProducer_cfi")
0095 process.load("L1TriggerConfig.CSCTFConfigProducers.L1MuCSCTFConfigurationRcdSrc_cfi")
0096 
0097 #process.roadSearchSeedsP5.MaxNumberOfCosmicClusters = 100
0098 
0099 
0100 #Paths
0101 process.allPath = cms.Path( process.RawToDigi_woGCT )
0102 
0103 process.outpath = cms.EndPath(process.FEVT)