ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/RA2/Selection/python/Selection_cff.py
Revision: 1.2
Committed: Wed Nov 11 13:05:23 2009 UTC (15 years, 6 months ago) by auterman
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +31 -14 lines
Log Message:
adding examples

File Contents

# User Rev Content
1 auterman 1.1 import FWCore.ParameterSet.Config as cms
2    
3     from RA2.Selection.RA2SelectionDefault_cfi import *
4     SelectionDefault = cms.EDFilter("Selection",
5     selections = RA2SelectionDefault,
6     filterSelection = cms.vstring(
7 auterman 1.2 'JetPreSelection',
8     'PrimaryVertex',
9     'JetEMFrac',
10     'ChargedFrac',
11     'LeptonVeto',
12     'JetSelection',
13     'MET',
14     'METdPhiMin'
15     #'HLTHT240'
16     ),
17     weightName = cms.InputTag('weightProducer:weight')
18     )
19     RA2SelectionDefault.selectionSequence = SelectionDefault.filterSelection
20    
21 auterman 1.1
22 auterman 1.2 from RA2.Selection.RA2SelectionQCDSmear_cfi import *
23     SelectionQCDSmear = cms.EDFilter("Selection",
24     selections = RA2SelectionQCDSmear,
25     filterSelection = cms.vstring(
26     'JetPreSelection',
27     'PrimaryVertex',
28     'JetEMFrac',
29     'ChargedFrac',
30     'LeptonVeto',
31     'JetSelection',
32     'MET',
33     'METdPhiMin'
34     #'HLTHT240'
35     ),
36     weightName = cms.InputTag('weightProducer:weight')
37 auterman 1.1 )
38 auterman 1.2 RA2SelectionQCDSmear.selectionSequence = SelectionQCDSmear.filterSelection
39