1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
import FWCore.ParameterSet.Config as cms
import HLTrigger.HLTfilters.hltHighLevel_cfi
ALCARECOEcalRecalElectronHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
andOr = True, # choose logical OR between Triggerbits
eventSetupPathsKey = 'EcalRecalElectron',
throw = False # tolerate triggers stated above, but not available
)
from Configuration.StandardSequences.Reconstruction_Data_cff import ecalLocalRecoSequence, pfClusteringPS, pfClusteringECAL, ecalClusters
from Calibration.EcalAlCaRecoProducers.ALCARECOEcalCalIsolElectron_cff import *
#ecal rechits
from RecoLocalCalo.Configuration.RecoLocalCalo_cff import ecalLocalRecoSequence
recoECALSeq = cms.Sequence( ecalLocalRecoSequence)
from RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff import *
rerecoPFClusteringSeq = cms.Sequence(pfClusteringPS + pfClusteringECAL)
from RecoEcal.Configuration.RecoEcal_cff import *
from Calibration.EcalCalibAlgos.electronRecalibSCAssociator_cfi import *
ecalClusteringSeq = cms.Sequence(ecalClusters * electronRecalibSCAssociator)
#sandboxRerecoSeq = cms.Sequence(electronRecoSeq * ecalClusteringSeq)
#sandboxPFRerecoSeq = cms.Sequence(electronRecoSeq * rerecoPFClusteringSeq * ecalClusteringSeq)
rerecoECALSeq = cms.Sequence(recoECALSeq * rerecoPFClusteringSeq * ecalClusteringSeq)
############################################### FINAL SEQUENCES
# sequences used in AlCaRecoStreams_cff.py
#redo the preselection of electrons with selectorProducerSeq for recHit reducers: they use the selected objects as input
seqALCARECOEcalRecalElectron = cms.Sequence(ALCARECOEcalRecalElectronHLT * rerecoECALSeq * selectorProducerSeq * ALCARECOEcalCalElectronECALSeq)
|