Line Code
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
import FWCore.ParameterSet.Config as cms

#------------------------------------------------
#AlCaReco filtering for HCAL isotrk:
#------------------------------------------------
import HLTrigger.HLTfilters.hltHighLevel_cfi
ALCARECOHcalCalIsoTrkFilterHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
    eventSetupPathsKey='HcalCalIsoTrkFilter',
    throw = False #dont throw except on unknown path name

)

from Calibration.HcalAlCaRecoProducers.alcaIsoTracksFilter_cff import *

import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
TkAlIsoProdFilter = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
TkAlIsoProdFilter.filter = False
TkAlIsoProdFilter.applyBasicCuts = False
TkAlIsoProdFilter.applyMultiplicityFilter = False
TkAlIsoProdFilter.applyNHighestPt = False
TkAlIsoProdFilter.applyIsolationCut = False
TkAlIsoProdFilter.applyChargeCheck = False

seqALCARECOHcalCalIsoTrkFilter = cms.Sequence(ALCARECOHcalCalIsoTrkFilterHLT * alcaIsoTracksFilter*TkAlIsoProdFilter)