Exemplo n.º 1
0
    filter=False,
    applyBasicCuts=True,
    ptMin=TRACK_PT,
    ptMax=cms.double(999999.0),
    nHitMin=5,
    chi2nMax=10.,
)
trackerSeq = cms.Sequence(generalTracksSkim)

from RecoVertex.BeamSpotProducer.BeamSpot_cff import *
from RecoTracker.TrackProducer.TrackRefitters_cff import *
TrackRefitterSkim = TrackRefitter.clone()
TrackRefitterSkim.src = "generalTracksSkim"

from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxSkimNPHarm2 = dedxHarmonic2.clone()
dedxSkimNPHarm2.tracks = cms.InputTag("TrackRefitterSkim")
dedxSkimNPHarm2.trajectoryTrackAssociation = cms.InputTag("TrackRefitterSkim")
dedxSkimNPHarm2.UsePixel = cms.bool(False)

DedxFilter = cms.EDFilter(
    "HSCPFilter",
    inputMuonCollection=cms.InputTag("muons"),
    inputTrackCollection=cms.InputTag("TrackRefitterSkim"),
    inputDedxCollection=cms.InputTag("dedxSkimNPHarm2"),
    SAMuPtMin=cms.double(60),
    trkPtMin=cms.double(TRACK_PT),
    dedxMin=cms.double(3.0),
    dedxMaxLeft=cms.double(2.8),
    ndedxHits=cms.int32(3),
    etaMin=cms.double(-2.4),
Exemplo n.º 2
0
import FWCore.ParameterSet.Config as cms

selectedDeDxHarm = {}

from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxDQMHarm2SP = dedxHarmonic2.clone()
dedxDQMHarm2SP.tracks                     = cms.InputTag("generalTracks")
dedxDQMHarm2SP.trajectoryTrackAssociation = cms.InputTag("generalTracks")
dedxDQMHarm2SP.UseStrip = cms.bool(True)
dedxDQMHarm2SP.UsePixel = cms.bool(True)

dedxDQMHarm2SO = dedxDQMHarm2SP.clone()
dedxDQMHarm2SO.UsePixel = cms.bool(False)

dedxDQMHarm2PO = dedxDQMHarm2SP.clone()
dedxDQMHarm2PO.UseStrip = cms.bool(False)

dedxHarmonicSequence = cms.Sequence()
dedxHarmonicSequence+=dedxDQMHarm2SP
dedxHarmonicSequence+=dedxDQMHarm2SO
dedxHarmonicSequence+=dedxDQMHarm2PO

#dEdxMonitor = cms.Sequence(
#    RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
#    * dEdxAnalyzer
#)
Exemplo n.º 3
0
import FWCore.ParameterSet.Config as cms

from DQM.TrackingMonitor.dEdxAnalyzer_cfi import *

#ADD BY LOIC
from RecoTracker.TrackProducer.TrackRefitter_cfi import *
RefitterForDedxDQMDeDx = TrackRefitter.clone()
RefitterForDedxDQMDeDx.src = cms.InputTag("generalTracks")
RefitterForDedxDQMDeDx.TrajectoryInEvent = True

from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxDQMHarm2SP = dedxHarmonic2.clone()
#dedxDQMHarm2SP.tracks                     = cms.InputTag("RefitterForDedxDQMDeDx")
#dedxDQMHarm2SP.trajectoryTrackAssociation = cms.InputTag("RefitterForDedxDQMDeDx")
dedxDQMHarm2SP.tracks = cms.InputTag("generalTracks")
dedxDQMHarm2SP.trajectoryTrackAssociation = cms.InputTag("generalTracks")
dedxDQMHarm2SP.UseStrip = cms.bool(True)
dedxDQMHarm2SP.UsePixel = cms.bool(True)

dedxDQMHarm2SO = dedxDQMHarm2SP.clone()
dedxDQMHarm2SO.UsePixel = cms.bool(False)

dedxDQMHarm2PO = dedxDQMHarm2SP.clone()
dedxDQMHarm2PO.UseStrip = cms.bool(False)

#dEdxMonitor = cms.Sequence(
#    RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
#    * dEdxAnalyzer
#)
Exemplo n.º 4
0
    ptMin = TRACK_PT,
    ptMax = cms.double(999999.0),
    nHitMin = 5,
    chi2nMax = 10.,
)
trackerSeq = cms.Sequence( generalTracksSkim)


from RecoVertex.BeamSpotProducer.BeamSpot_cff import *
from RecoTracker.TrackProducer.TrackRefitters_cff import *
TrackRefitterSkim = TrackRefitter.clone()
TrackRefitterSkim.src = "generalTracksSkim"


from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxSkimNPHarm2 = dedxHarmonic2.clone()
dedxSkimNPHarm2.tracks                     = cms.InputTag("TrackRefitterSkim")
dedxSkimNPHarm2.trajectoryTrackAssociation = cms.InputTag("TrackRefitterSkim")
dedxSkimNPHarm2.UsePixel                   = cms.bool(False)

DedxFilter = cms.EDFilter("HSCPFilter",
     inputMuonCollection = cms.InputTag("muons"),
	 inputTrackCollection = cms.InputTag("TrackRefitterSkim"),
	 inputDedxCollection =  cms.InputTag("dedxSkimNPHarm2"),
     SAMuPtMin = cms.double(60),
	 trkPtMin = cms.double(TRACK_PT),
	 dedxMin =cms.double(3.0),
     dedxMaxLeft =cms.double(2.8),
     ndedxHits = cms.int32(3),
     etaMin= cms.double(-2.4),
     etaMax= cms.double(2.4),
Exemplo n.º 5
0
import FWCore.ParameterSet.Config as cms

selectedDeDxHarm = {}

from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxDQMHarm2SP = dedxHarmonic2.clone(tracks="generalTracks",
                                     UseStrip=True,
                                     UsePixel=True)

dedxDQMHarm2SO = dedxDQMHarm2SP.clone(UsePixel=False)

dedxDQMHarm2PO = dedxDQMHarm2SP.clone(UseStrip=False)

dedxHarmonicSequence = cms.Sequence()
dedxHarmonicSequence += dedxDQMHarm2SP
dedxHarmonicSequence += dedxDQMHarm2SO
dedxHarmonicSequence += dedxDQMHarm2PO

#dEdxMonitor = cms.Sequence(
#    RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
#    * dEdxAnalyzer
#)
Exemplo n.º 6
0
import FWCore.ParameterSet.Config as cms

from DQM.TrackingMonitor.dEdxAnalyzer_cfi import *

#ADD BY LOIC
from RecoTracker.TrackProducer.TrackRefitter_cfi import *
RefitterForDedxDQMDeDx = TrackRefitter.clone(src="generalTracks",
                                             TrajectoryInEvent=True)

from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
dedxDQMHarm2SP = dedxHarmonic2.clone(
    #tracks = "RefitterForDedxDQMDeDx",
    tracks="generalTracks",
    UseStrip=True,
    UsePixel=True)

dedxDQMHarm2SO = dedxDQMHarm2SP.clone(UsePixel=False)

dedxDQMHarm2PO = dedxDQMHarm2SP.clone(UseStrip=False)

#dEdxMonitor = cms.Sequence(
#    RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
#    * dEdxAnalyzer
#)