Пример #1
0
process.load('HeavyIonsAnalysis.JetAnalysis.TrkAnalyzers_cff')
# process.load("HeavyIonsAnalysis.TrackAnalysis.METAnalyzer_cff")


####################################################################################
#####################################################################################
######################### D finder ##################################################
#####################################################################################
runOnMC = False
RunOnAOD = True
AddCaloMuon = False
HIFormat = False
UseGenPlusSim = False
VtxLabel = "hiSelectedVertex"
from Bfinder.finderMaker.finderMaker_75X_cff import finderMaker_75X
finderMaker_75X(process, AddCaloMuon, runOnMC, HIFormat, UseGenPlusSim)

#default for D0 and Jet triggers, tk pt cut 8.0 GeV
process.Dfinder = cms.EDAnalyzer("Dfinder",
    BSLabel = cms.InputTag("offlineBeamSpot"),
    Dchannel = cms.vint32(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    GenLabel = cms.InputTag("genParticles"),
    HLTLabel = cms.InputTag("TriggerResults","","HLT"),
    MVAMapLabel = cms.string('hiGeneralTracks'),
    MaxDocaCut = cms.vdouble(999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0),
    PUInfoLabel = cms.InputTag("addPileupInfo"),
    PVLabel = cms.InputTag("hiSelectedVertex"),
    RunOnMC = cms.bool(False),
    TrackLabel = cms.InputTag("patTrackCands"),
    dCutSeparating_PtVal = cms.vdouble(5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0, 5.0),
    dEtaCut = cms.vdouble(1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5),
Пример #2
0
#process.pVertexFilterCutEandG = cms.Path(process.pileupVertexFilterCutEandG)

#process.load('HeavyIonsAnalysis.Configuration.hfCoincFilter_cff')
#process.phfCoincFilter1 = cms.Path(process.hfCoincFilter)
#process.phfCoincFilter2 = cms.Path(process.hfCoincFilter2)
#process.phfCoincFilter3 = cms.Path(process.hfCoincFilter3)
#process.phfCoincFilter4 = cms.Path(process.hfCoincFilter4)
#process.phfCoincFilter5 = cms.Path(process.hfCoincFilter5)

#process.pAna = cms.EndPath(process.skimanalysis)

####

### finder building block
from Bfinder.finderMaker.finderMaker_75X_cff import finderMaker_75X
finderMaker_75X(process, AddCaloMuon, runOnMC, HIFormat, UseGenPlusSim,
                VtxLabel, TrkLabel)
#process.p = cms.Path(process.finderSequence)
## DeDx info not in PbPb data
process.Bfinder.readDedx = cms.bool(False)
process.Dfinder.readDedx = cms.bool(False)
process.Dfinder.makeDntuple = cms.bool(True)
process.Bfinder.makeBntuple = cms.bool(True)
process.Dfinder.MVAMapLabel = cms.InputTag(TrkLabel, "MVAValues")
process.Bfinder.Bchannel = cms.vint32(
    0,  #RECONSTRUCTION: J/psi + K
    0,  #RECONSTRUCTION: J/psi + Pi
    0,  #RECONSTRUCTION: J/psi + Ks
    0,  #RECONSTRUCTION: J/psi + K* (K+, Pi-)
    0,  #RECONSTRUCTION: J/psi + K* (K-, Pi+)
    0,  #RECONSTRUCTION: J/psi + phi
    0,  #RECONSTRUCTION: J/psi + pi pi <= psi', X(3872), Bs->J/psi f0
                                         InputLayer2HFBitCountCollection = cms.InputTag("caloStage1Digis:HFBitCounts"),
                                         InputLayer1Collection = cms.InputTag("simRctUpgradeFormatDigis"),
                                         legacyRCTDigis = cms.InputTag("caloStage1Digis")
)


process.L1EmulatorUnpacker = cms.Sequence(process.UnpackerResults + process.EmulatorResults)

AddCaloMuon = False
runOnMC = False
HIFormat = False
UseGenPlusSim = False
VtxLabel = "hiSelectedVertex"
TrkLabel = "hiGeneralTracks"
from Bfinder.finderMaker.finderMaker_75X_cff import finderMaker_75X
finderMaker_75X(process, AddCaloMuon, runOnMC, HIFormat, UseGenPlusSim, VtxLabel, TrkLabel)


process.load('HeavyIonsAnalysis.JetAnalysis.rechitanalyzer_cfi')
process.rechitanalyzer.doVS = cms.untracked.bool(True)
process.rechitanalyzer.useJets = cms.untracked.bool(False)
process.rechitanalyzer.EBTreePtMin = -9999
process.rechitanalyzer.EETreePtMin = -9999
process.rechitanalyzer.HBHETreePtMin = -9999
process.rechitanalyzer.HFTreePtMin = -9999
process.rechitanalyzer.HFlongMin = -9999
process.rechitanalyzer.HFshortMin = -9999
process.rechitanalyzer.HFtowerMin = -9999

process.load("HeavyIonsAnalysis.JetAnalysis.hcalNoise_cff")