1 |
dgele |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
|
3 |
|
|
# high level reco tasks needed before making PAT objects
|
4 |
|
|
from PhysicsTools.PatAlgos.recoLayer0.aodReco_cff import *
|
5 |
|
|
|
6 |
|
|
# MC matching: sequence patMCTruth
|
7 |
|
|
from PhysicsTools.PatAlgos.mcMatchLayer0.mcMatchSequences_cff import *
|
8 |
|
|
|
9 |
|
|
# trigger matching:
|
10 |
|
|
from PhysicsTools.PatAlgos.triggerLayer0.trigMatchSequences_cff import *
|
11 |
|
|
|
12 |
|
|
# make layer 1 objects: sequence allLayer1Objects
|
13 |
|
|
from PhysicsTools.PatAlgos.producersLayer1.allLayer1Objects_cff import *
|
14 |
|
|
|
15 |
|
|
# select layer 1 objects, make hemispheres: sequence selectedLayer1Objects
|
16 |
|
|
from PhysicsTools.PatAlgos.selectionLayer1.selectedLayer1Objects_cff import *
|
17 |
|
|
|
18 |
|
|
# clean layer 1 objects, make hemispheres: sequence cleanLayer1Objects
|
19 |
|
|
from PhysicsTools.PatAlgos.cleaningLayer1.cleanLayer1Objects_cff import *
|
20 |
|
|
|
21 |
|
|
# count selected layer 1 objects (including total number of leptons): sequence countLayer1Objects
|
22 |
|
|
from PhysicsTools.PatAlgos.selectionLayer1.countLayer1Objects_cff import *
|
23 |
|
|
|
24 |
|
|
# trigger info
|
25 |
|
|
from PhysicsTools.PatAlgos.triggerLayer1.triggerProducer_cff import *
|
26 |
|
|
|
27 |
|
|
beforeLayer1Objects = cms.Sequence(
|
28 |
|
|
patAODReco + # use '+', as there is no dependency
|
29 |
|
|
patMCTruth + # among these sequences
|
30 |
|
|
patTrigMatch
|
31 |
|
|
)
|
32 |
|
|
#beforeLayer1Objects.doc = "Sequence to be run before producing PAT Objects"
|
33 |
|
|
|
34 |
|
|
patDefaultSequence = cms.Sequence(
|
35 |
|
|
beforeLayer1Objects * # using '*', as the order is fixed.
|
36 |
|
|
allLayer1Objects *
|
37 |
|
|
selectedLayer1Objects *
|
38 |
|
|
cleanLayer1Objects *
|
39 |
|
|
countLayer1Objects
|
40 |
|
|
)
|
41 |
|
|
#patDefaultSequence.doc = "Default PAT Sequence from AOD to PAT Objects, including filters"
|
42 |
|
|
|
43 |
|
|
patDefaultSequenceNoCleaning = cms.Sequence(
|
44 |
|
|
beforeLayer1Objects * # using '*', as the order is fixed.
|
45 |
|
|
allLayer1Objects *
|
46 |
|
|
selectedLayer1Objects
|
47 |
|
|
)
|
48 |
|
|
#patDefaultSequenceUncleaned.doc = "Default PAT Sequence from AOD to PAT Objects, w/o cleaning"
|