ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UfCode/UserArea/TemplateNtuple/test/analyze_zprimePsi750.py
Revision: 1.1
Committed: Mon Oct 25 15:29:05 2010 UTC (14 years, 6 months ago) by digiovan
Content type: text/x-python
Branch: MAIN
CVS Tags: V2012-H-02, V2012-01-00, V2011-01-01, V2011-01-00, AnnaDimuon, V01-00-01, V01-00-00, HEAD
Log Message:
package for Z'/boostedZ analysis

File Contents

# User Rev Content
1 digiovan 1.1 import FWCore.ParameterSet.Config as cms
2    
3     process = cms.Process("analyze")
4    
5     process.load("FWCore.MessageService.MessageLogger_cfi")
6    
7     process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
8     process.MessageLogger.cerr.FwkReport.reportEvery = 10
9    
10     process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Fake_cff")
11    
12     '''
13     process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
14     process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
15    
16     process.L1T1=process.hltLevel1GTSeed.clone()
17     process.L1T1.L1TechTriggerSeeding = cms.bool(True)
18     process.L1T1.L1SeedsLogicalExpression = cms.string('(40 OR 41) AND NOT (36 OR 37 OR 38 OR 39)')
19     process.bscnobeamhalo = cms.Path(process.L1T1)
20    
21     process.skimmingPhys = cms.EDFilter("PhysDecl",
22     applyfilter = cms.untracked.bool(False),
23     debugOn = cms.untracked.bool(False),
24     HLTriggerResults = cms.InputTag("TriggerResults", "", "HLT")
25     # HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
26    
27     )
28     '''
29    
30    
31     #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
32     #process.GlobalTag.globaltag = "GR10_H_V4::All"
33    
34     process.source = cms.Source("PoolSource",
35     fileNames = cms.untracked.vstring(
36     #'file:/data/1b/kkotov/133874_62144280.root'
37    
38     #'file:/data/raid0/kypreos/dimuonSkim/Commissioning10-Apr20Skim_Muon_skim-v1/added/split1_new.root',
39     #'file:/data/raid0/kypreos/dimuonSkim/Commissioning10-Apr20Skim_Muon_skim-v1/added/split2_new.root',
40     #'file:/data/raid0/kypreos/dimuonSkim/Commissioning10-Apr20Skim_Muon_skim-v1/added/split3_new.root',
41    
42     #'file:/data/raid0/kypreos/dimuonSkim/Commissioning10-PromptReco-v9/split1_new.root',
43     #'file:/data/raid0/kypreos/dimuonSkim/Commissioning10-PromptReco-v9/split8_new.root',
44     #'file:possibleZ_1_1.root'
45     #'file:/data/1b/kypreos/testSamples/ZToMuMu_TuneDW_7TeV-pythia6/FE946AF2-1357-DF11-A7BD-00221981BAAB.root'
46     #'file:/data/raid5/kypreos/skims/singleMuSkims/Commissioning10-PromptReco-v9-B/split1_new.root',
47     'file:/data/1b/kypreos/testSamples/ZprimePSIToMuMu_M-750_7TeV-pythia6/F0FC0EA0-AF5A-DF11-BD5B-00145EFC5B34.root',
48     'file:/data/1b/kypreos/testSamples/ZprimePSIToMuMu_M-750_7TeV-pythia6/DA4322A4-855A-DF11-8DB6-00221981B438.root',
49    
50     )
51     )
52    
53    
54     process.load("Configuration.EventContent.EventContent_cff")
55     process.load("Configuration.StandardSequences.Reconstruction_cff")
56     process.load("Configuration.StandardSequences.Geometry_cff")
57     process.load("Configuration.StandardSequences.MagneticField_cff")
58     process.load("Geometry.CommonDetUnit.globalTrackingGeometry_cfi")
59     process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
60     process.load("RecoMuon.TrackingTools.MuonTrackLoader_cff")
61     process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
62     process.load("RecoMuon.Configuration.RecoMuon_cff")
63     process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
64    
65     process.demo = cms.EDAnalyzer('TemplateNtuple',
66     process.MuonServiceProxy,
67     getFilename = cms.untracked.string("outdata.root"),
68     muonColl = cms.InputTag("muons")
69     )
70    
71     #process.p = cms.Path(process.skimmingPhys*process.demo)
72     process.p = cms.Path(process.demo)
73     process.schedule = cms.Schedule(process.p)
74     '''
75     process.source.inputCommands = cms.untracked.vstring(
76     # "keep *",
77     "drop *_L1GtTriggerMenuLite_*_*",
78     )
79     '''