ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/ControlRegions/test/muEGAnalyzer_cfg.py
Revision: 1.1
Committed: Tue May 7 09:39:47 2013 UTC (12 years ago) by lantonel
Content type: text/x-python
Branch: MAIN
CVS Tags: V02-03-02, V02-03-01, V02-03-00, V02-02-00, V02-01-01, V02-01-00, V01-01-00, V01-00-01, V01-00-00, V00-01-00, HEAD
Log Message:
first commit of control region definitions

File Contents

# Content
1 from OSUT3Analysis.AnaTools.osuAnalysis_cfi import *
2
3 ###############################################################
4 ##### Set Options for Running your Analyzer Interactively #####
5 ###############################################################
6
7
8
9 #dir = "/mnt/hadoop/mc/DYToEE_M-20_CT10_TuneZ2star_v2_8TeV-powheg-pythia6_Summer12_DR53X-PU_S10_START53_V7A-v1_AODSIM_DISPLACED_LEPTON-v3"
10 #dir = "/mnt/hadoop/mc/DYToTauTau_M-20_CT10_TuneZ2star_v2_8TeV-powheg-tauola-pythia6_Summer12_DR53X-PU_S10_START53_V7A-v2_AODSIM_DISPLACED_LEPTON-v3"
11 #dir = "/mnt/hadoop/mc/WW_TuneZ2star_8TeV_pythia6_tauola_Summer12_DR53X-PU_S10_START53_V7A-v1_AODSIM_DISPLACED_LEPTON-v3"
12 #dir = "/mnt/hadoop/mc/WZ_TuneZ2star_8TeV_pythia6_tauola_Summer12_DR53X-PU_S10_START53_V7A-v1_AODSIM_DISPLACED_LEPTON-v3"
13
14 #dir = "/mnt/hadoop/mc/ZZ_TuneZ2star_8TeV_pythia6_tauola_Summer12_DR53X-PU_S10_START53_V7A-v1_AODSIM_DISPLACED_LEPTON-v3"
15
16 #for file in os.listdir(dir):
17 # process.source.fileNames.extend(cms.untracked.vstring('file:' + dir + '/' + file))
18
19 #output file name when running interactively
20 process.TFileService.fileName = 'hist.root'
21
22 #number of events to process when running interactively
23 process.maxEvents.input = -1
24
25 #True -> Fill histograms for all objects, False -> Fill histograms only for objects passing all cuts
26 #False is recommended under normal circumstances
27 process.OSUAnalysis.plotAllObjectsInPassingEvents = False
28
29 process.OSUAnalysis.muons = cms.InputTag ('BNproducer', 'selectedPatMuonsLoosePFlow')
30 process.OSUAnalysis.electrons = cms.InputTag ('BNproducer', 'selectedPatElectronsLoosePFlow')
31
32 ########################################################################
33 ##### Import the information about all the histograms to be filled #####
34 ########################################################################
35
36 #import the desired sets of histograms from the standard python file which defines them
37 from OSUT3Analysis.Configuration.histogramDefinitions import *
38 process.OSUAnalysis.histogramSets.append(ElectronHistograms)
39 process.OSUAnalysis.histogramSets.append(MuonHistograms)
40 process.OSUAnalysis.histogramSets.append(ElectronMuonHistograms)
41 process.OSUAnalysis.histogramSets.append(JetHistograms)
42 process.OSUAnalysis.histogramSets.append(EventHistograms)
43 process.OSUAnalysis.histogramSets.append(MetHistograms)
44
45
46 ##########################################################
47 ##### Add the Desired Channels to the List to be Run #####
48 ##########################################################
49
50 from OSUT3Analysis.ControlRegions.MuEGSelections import *
51 process.OSUAnalysis.channels.append(ZtoTauTautoEMu_Selection)
52 process.OSUAnalysis.channels.append(WWtoEMu_Selection)
53 process.OSUAnalysis.channels.append(WZtoEMuMu_Selection)
54 process.OSUAnalysis.channels.append(WZtoEEMu_Selection)
55 process.OSUAnalysis.channels.append(ZZtoEEMuMu_Selection)
56 process.OSUAnalysis.channels.append(TTbartoEMu_Selection)
57 process.OSUAnalysis.channels.append(QCDtoEMu_Selection)
58
59
60
61