1 import FWCore.ParameterSet.Config
as cms
7 ALCARECOSiStripCalCosmicsNanoPrescale = prescaleEvent.clone(prescale=1)
9 ALCARECOSiStripCalCosmicsNanoHLT = triggerResultsFilter.clone(
10 triggerConditions=cms.vstring(
"HLT_L1SingleMuCosmics_v*"),
11 hltResults=cms.InputTag(
"TriggerResults",
"",
"HLT"),
12 l1tResults=cms.InputTag(
""),
18 ALCARECOSiStripCalCosmicsNanoCalibTracks = CalibrationTracks.clone(src=cms.InputTag(
"ALCARECOSiStripCalCosmics"))
19 ALCARECOSiStripCalCosmicsNanoCalibTracksRefit = CalibrationTracksRefit.clone(
20 src=cms.InputTag(
"ALCARECOSiStripCalCosmicsNanoCalibTracks")
23 ALCARECOSiStripCalCosmicsNanoTkCalSeq = cms.Sequence(
24 ALCARECOSiStripCalCosmicsNanoPrescale*
25 ALCARECOSiStripCalCosmicsNanoHLT*
26 ALCARECOSiStripCalCosmicsNanoCalibTracks,
27 cms.Task(MeasurementTrackerEvent),
28 cms.Task(offlineBeamSpot),
29 cms.Task(ALCARECOSiStripCalCosmicsNanoCalibTracksRefit)
33 from PhysicsTools.NanoAOD.nano_cff
import nanoMetadata
34 from CalibTracker.SiStripCommon.siStripPositionCorrectionsTable_cfi
import siStripPositionCorrectionsTable
35 from CalibTracker.SiStripCommon.siStripLorentzAngleRunInfoTable_cfi
import siStripLorentzAngleRunInfoTable
37 ALCARECOSiStripCalCosmicsNanoTracksTable = cms.EDProducer(
"SimpleTrackFlatTableProducer",
38 src=cms.InputTag(
"ALCARECOSiStripCalCosmicsNanoCalibTracksRefit"),
40 name=cms.string(
"track"),
41 doc=cms.string(
"SiStripCalCosmics ALCARECO tracks"),
42 singleton=cms.bool(
False),
43 extension=cms.bool(
False),
45 chi2ndof=
Var(
"chi2()/ndof", float),
46 pt=
Var(
"pt()", float),
47 hitsvalid=
Var(
"numberOfValidHits()", int),
48 phi=
Var(
"phi()", float),
49 eta=
Var(
"eta()", float),
53 ALCARECOSiStripCalCosmicsNanoMeasTable = siStripPositionCorrectionsTable.clone(
54 Tracks=cms.InputTag(
"ALCARECOSiStripCalCosmicsNanoCalibTracksRefit"))
56 ALCARECOSiStripCalCosmicsNanoTables = cms.Task(
58 ALCARECOSiStripCalCosmicsNanoTracksTable,
59 ALCARECOSiStripCalCosmicsNanoMeasTable,
60 siStripLorentzAngleRunInfoTable
63 seqALCARECOSiStripCalCosmicsNano = cms.Sequence(ALCARECOSiStripCalCosmicsNanoTkCalSeq, ALCARECOSiStripCalCosmicsNanoTables)