Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 process = cms.Process("minBiasSkim")
0005 
0006 process.configurationMetadata = cms.untracked.PSet(
0007     version = cms.untracked.string('$Revision: 1.3 $'),
0008     annotation = cms.untracked.string('Skim for MinBias'),
0009     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/Skimming/test/SkimMinBias_cfg.py,v $')
0010 )
0011 
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1000)
0015 )
0016 
0017 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0018 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load('Configuration.EventContent.EventContent_cff')
0021 process.GlobalTag.globaltag = "GR10_P_V7::All"  
0022 
0023 
0024 process.source = cms.Source("PoolSource",
0025     fileNames = cms.untracked.vstring(
0026         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/EE887979-5CA3-DF11-94C2-0019DB29C614.root',
0027         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/D2D5DCFA-64A3-DF11-92F4-0030487C7392.root',
0028         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/D028C537-58A3-DF11-A4F1-0019B9F709A4.root',
0029         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/C4D9CBA1-60A3-DF11-B1CD-0030487CD7CA.root',
0030         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/907930C5-62A3-DF11-A452-003048D3756A.root',
0031         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/7E67D6FA-64A3-DF11-8E8F-0030487CD16E.root',
0032         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/7E5B8CB9-5BA3-DF11-BFC1-001617C3B76A.root',
0033         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/7C38E794-5EA3-DF11-9741-001D09F2532F.root',
0034         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/7627FE21-77A3-DF11-8253-001D09F231C9.root',
0035         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/64E5C041-66A3-DF11-A830-0030487C7828.root',
0036         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/5C3876E0-5DA3-DF11-B5F2-001D09F290CE.root',
0037         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/3C9B7F9D-59A3-DF11-93D1-0019DB29C614.root',
0038         '/store/data/Run2010A/MinimumBias/RAW/v1/000/142/558/24F23D4F-5AA3-DF11-A0BB-001D09F24682.root'
0039         )
0040 )
0041 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0042 
0043 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0044 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0045 
0046 
0047 import HLTrigger.HLTfilters.triggerResultsFilter_cfi
0048 process.minBiasSkim = HLTrigger.HLTfilters.triggerResultsFilter_cfi.triggerResultsFilter.clone()
0049 process.minBiasSkim.hltResults = cms.InputTag('TriggerResults', '', 'HLT')
0050 process.minBiasSkim.l1tResults = cms.InputTag('')
0051 process.minBiasSkim.throw      = cms.bool(False)
0052 process.minBiasSkim.triggerConditions = cms.vstring(
0053 #JetMET PD
0054     'HLT_HT100U', 
0055     'HLT_MET100', 
0056     'HLT_MET45', 
0057     'HLT_QuadJet15U', 
0058     'HLT_DiJetAve30U', 
0059     'HLT_DiJetAve15U', 
0060     'HLT_FwdJet20U', 
0061     'HLT_Jet50U', 
0062     'HLT_Jet30U', 
0063     'HLT_Jet15U', 
0064     'HLT_DoubleJet15U_ForwardBackward', 
0065     'HLT_Jet15U_HcalNoiseFiltered', 
0066     'HLT_DiJetAve50U', 
0067     'HLT_Jet100U', 
0068     'HLT_Jet70U', 
0069     'HLT_EcalOnly_SumEt160', 
0070     'HLT_L1ETT100',
0071 #EG PD
0072     'HLT_DoublePhoton5_Upsilon_L1R', 
0073     'HLT_DoublePhoton5_Jpsi_L1R', 
0074     'HLT_Photon20_Cleaned_L1R', 
0075     'HLT_DoubleEle10_SW_L1R', 
0076     'HLT_DoublePhoton15_L1R', 
0077     'HLT_Ele15_SW_EleId_L1R', 
0078     'HLT_Ele15_SW_L1R', 
0079     'HLT_Ele20_SW_L1R', 
0080     'HLT_DoublePhoton5_CEP_L1R', 
0081     'HLT_Ele10_SW_EleId_L1R', 
0082     'HLT_Photon30_Cleaned_L1R', 
0083     'HLT_Photon50_L1R', 
0084     'HLT_DoubleEle4_SW_eeRes_L1R', 
0085     'HLT_Ele15_SW_CaloEleId_L1R', 
0086     'HLT_Photon50_Cleaned_L1R', 
0087     'HLT_DoublePhoton20_L1R', 
0088     'HLT_Ele25_SW_L1R',
0089 #EGMonitor PD
0090     'HLT_L1SingleEG2', 
0091     'HLT_DoublePhoton10_L1R', 
0092     'HLT_Photon10_Cleaned_L1R', 
0093     'HLT_L1DoubleEG5', 
0094     'HLT_Ele15_SiStrip_L1R', 
0095     'HLT_Ele15_LW_L1R', 
0096     'HLT_L1SingleEG8', 
0097     'HLT_L1SingleEG5', 
0098     'HLT_SelectEcalSpikes_L1R', 
0099     'HLT_SelectEcalSpikesHighEt_L1R', 
0100     'HLT_DoublePhoton5_L1R', 
0101     'HLT_Photon15_Cleaned_L1R', 
0102     'HLT_Activity_Ecal_SC7', 
0103     'HLT_Activity_Ecal_SC17', 
0104     'HLT_Ele20_SiStrip_L1R',
0105 #JetMETTauMonitor PD
0106     'HLT_L1Jet10U_NoBPTX', 
0107     'HLT_L1Jet6U', 
0108     'HLT_L1Jet6U_NoBPTX', 
0109     'HLT_L1SingleCenJet', 
0110     'HLT_L1SingleForJet', 
0111     'HLT_L1SingleTauJet', 
0112     'HLT_L1MET20', 
0113     'HLT_L1Jet10U',
0114 #Mu PD
0115     'HLT_L1Mu14_L1ETM30', 
0116     'HLT_L1Mu14_L1SingleJet6U', 
0117     'HLT_L1Mu14_L1SingleEG10', 
0118     'HLT_L1Mu20', 
0119     'HLT_DoubleMu3', 
0120     'HLT_Mu3', 
0121     'HLT_Mu5', 
0122     'HLT_Mu9', 
0123     'HLT_L2Mu9', 
0124     'HLT_L2Mu11', 
0125     'HLT_L1Mu30', 
0126     'HLT_Mu7', 
0127     'HLT_L2Mu15',
0128 #MuOnia
0129     'HLT_Mu3_Track0_Jpsi', 
0130     'HLT_Mu5_Track0_Jpsi', 
0131     'HLT_Mu3_L2Mu0', 
0132     'HLT_Mu5_L2Mu0', 
0133     'HLT_L2DoubleMu0', 
0134     'HLT_DoubleMu0', 
0135     'HLT_L1DoubleMuOpen_Tight', 
0136     'HLT_Mu0_TkMu0_Jpsi', 
0137     'HLT_Mu0_TkMu0_Jpsi_NoCharge', 
0138     'HLT_Mu3_TkMu0_Jpsi', 
0139     'HLT_Mu3_TkMu0_Jpsi_NoCharge', 
0140     'HLT_Mu5_TkMu0_Jpsi', 
0141     'HLT_Mu5_TkMu0_Jpsi_NoCharge',
0142 #Commissioning PD
0143     'HLT_Activity_DT', 
0144     'HLT_Activity_DT_Tuned', 
0145     'HLT_Activity_CSC', 
0146     'HLT_L1_BptxXOR_BscMinBiasOR',
0147 #BTau PD
0148     'HLT_BTagIP_Jet50U', 
0149     'HLT_DoubleLooseIsoTau15', 
0150     'HLT_SingleLooseIsoTau20', 
0151     'HLT_BTagMu_Jet10U', 
0152     'HLT_SingleIsoTau20_Trk5', 
0153     'HLT_SingleLooseIsoTau25_Trk5', 
0154     'HLT_SingleIsoTau30_Trk5'
0155 )
0156 process.filterCsPdwgMinBias = cms.Path(process.minBiasSkim)
0157 
0158 
0159 
0160 process.skimmedMinBias = cms.OutputModule("PoolOutputModule",
0161                                           SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('filterCsPdwgMinBias')),                               
0162                                           dataset = cms.untracked.PSet(
0163         dataTier = cms.untracked.string('RAW'),
0164         filterName = cms.untracked.string('SkimmedMinBias')),
0165                                           outputCommands = process.RECOEventContent.outputCommands,
0166                                           fileName = cms.untracked.string('CS_pdwg_MinBias.root')
0167                                           )
0168 
0169 
0170 
0171 process.this_is_the_end = cms.EndPath(
0172 process.skimmedMinBias
0173 )