CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ALCARECOEcalESAlign_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 ALCARECOEcalESAlignHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
5  andOr = True, # choose logical OR between Triggerbits
6  eventSetupPathsKey = 'EcalESAlign',
7  throw = False # tolerate triggers stated above, but not available
8 )
9 
10 # this imports the module that produces a reduced collections for ES alignment
11 #from Calibration.EcalAlCaRecoProducers.EcalAlCaESAlignTrackReducer_cfi import *
12 
13 # this imports the filter that skims the events requiring a min number of selected tracks
14 
15 esSelectedTracks = cms.EDFilter("TrackSelector",
16  src = cms.InputTag('generalTracks'),
17  cut = cms.string("abs(eta)>1.7 && abs(eta)<2.3 && pt>1 && numberOfValidHits>=10")
18  )
19 
21 ecalAlCaESAlignTrackReducer = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
22  src = cms.InputTag('esSelectedTracks'),
23  filter = True, ##do not store empty events
24  applyBasicCuts = False,
25  ptMin = 1.0, ##GeV
26  etaMin = -3.5,
27  etaMax = 3.5,
28  nHitMin = 0
29 )
30 
31 esMinTrackNumberFilter = cms.EDFilter("TrackCountFilter",
32  src = cms.InputTag('ecalAlCaESAlignTrackReducer'),
33  minNumber = cms.uint32(10)
34  )
35 
36 EcalESAlignTracksSkimSeq = cms.Sequence( esSelectedTracks * ecalAlCaESAlignTrackReducer * esMinTrackNumberFilter)
37 
38 seqEcalESAlign = cms.Sequence(ALCARECOEcalESAlignHLT * EcalESAlignTracksSkimSeq)
39 
dont throw on unknown path names