Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:54:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Ana")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.threshold = ""
0007 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0008 
0009 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0010 
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring(
0013     #High PU Run
0014        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/006295EB-35FF-E011-9F6A-003048F118D2.root',
0015        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/008702AE-31FF-E011-89C5-BCAEC5329717.root',
0016        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/00C475AF-2FFF-E011-9D1A-E0CB4E4408D5.root',
0017        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/00C5D097-40FF-E011-AD8E-003048F024FA.root',
0018        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/02D0731B-2BFF-E011-8B75-003048F11C58.root',
0019        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/02EE63F8-35FF-E011-9B82-0030486780E6.root',
0020        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/02F71ADF-43FF-E011-934C-002481E0D958.root',
0021        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/041E1BF8-33FF-E011-99D6-003048F118D2.root',
0022        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/06374143-2AFF-E011-9D90-003048F01E88.root',
0023        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/081BACB5-2FFF-E011-93EC-003048D37666.root',
0024        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/088937ED-35FF-E011-BA7A-001D09F24D8A.root',
0025        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/0A039101-2EFF-E011-B35E-003048D37580.root',
0026        '/store/data/Run2011B/ZeroBiasHPF0/RAW/v1/000/179/828/0A8780ED-3CFF-E011-A301-BCAEC532972D.root'
0027     )
0028 )
0029 # Event Setup
0030 ##############
0031 process.load("Configuration.StandardSequences.Services_cff")
0032 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0033 process.GlobalTag.globaltag ='GR_R_44_V13::All'
0034 process.load("EventFilter.CSCTFRawToDigi.csctfunpacker_cfi")
0035 process.load("EventFilter.CSCRawToDigi.cscUnpacker_cfi")
0036 
0037 # HLT Trigger Filter
0038 
0039 process.load("HLTrigger.HLTfilters.hltHighLevel_cfi")
0040 # change algorithms to the HLT trigger(s) you want to filter by
0041 # Examples
0042 # "HLT_L2Mu11","HLT_Mu9","HLT_DoubleMu3","HLT_IsoMu3","HLT_MET100","HLT_Jet50U","HLT_QuadJet15U"
0043 process.hltHighLevel.HLTPaths = cms.vstring("HLT_ZeroBias","HLT_ZeroBias_v1","HLT_ZeroBias_v2","HLT_ZeroBias_v3","HLT_ZeroBias_v4","HLT_ZeroBias_v5","HLT_ZeroBias_part0_v1",'HLT_ZeroBias_part1_v1','HLT_ZeroBias_part2_v1','HLT_ZeroBias_part3_v1')
0044 process.hltHighLevel.eventSetupPathsKey = cms.string("")
0045 process.hltHighLevel.andOr = cms.bool(True) # False Only takes events with all triggers at same time.
0046 process.hltHighLevel.throw = False
0047 
0048 # LCT Occupancies Analyzer
0049 
0050 process.lctOccupanciesCSC = cms.EDAnalyzer('LCTOccupancies',
0051      lctsTag = cms.InputTag("muonCSCDigis","MuonCSCCorrelatedLCTDigi"),
0052      vertexColTag = cms.InputTag("offlinePrimaryVertices"),
0053      outTreeFileName = cms.untracked.string("LctOccTreeHighPU179828inTimeOnly.root"),
0054      haveRECO = cms.untracked.bool(False),
0055      singleSectorNum = cms.untracked.int32(-1) #-1 for sum over all sectors
0056 )
0057 process.TFileService = cms.Service("TFileService",
0058     fileName = cms.string(
0059         "LCTOccupanciesOutput_data.root"
0060 ))
0061 
0062 #This path is for Real Data
0063 process.p = cms.Path(process.hltHighLevel*process.csctfunpacker*process.muonCSCDigis*process.lctOccupanciesCSC)