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)




