Exemplo n.º 1
0
process.lambdacAna_mc = particleAna_mc.clone(
    recoParticles=cms.InputTag("LambdaC"),
    genParticles=cms.untracked.InputTag("genParticles"),
    selectEvents=cms.string("eventFilterStep"),
    addSource=cms.untracked.bool(False),
    genPdgId=cms.untracked.vuint32([4122, 310, 2212, 211]),
    nTracksVMap=cms.untracked.InputTag(""),
    maxGenDeltarR=cms.untracked.double(0.1),
    saveTree=cms.untracked.bool(True),

    # trigger information
    triggerResults=cms.untracked.InputTag("TriggerResults::HLT"),
    triggerEvent=cms.untracked.InputTag("hltTriggerSummaryAOD::HLT"),
    triggerInfo=cms.untracked.VPSet([]),

    #Filter info
    eventFilterResults=cms.untracked.InputTag("TriggerResults"),
    eventFilterNames=cms.untracked.vstring('Flag_colEvtSel',
                                           'Flag_hfCoincFilter',
                                           'Flag_primaryVertexFilterPA',
                                           'Flag_NoScraping',
                                           'Flag_pileupVertexFilterCut',
                                           'Flag_pileupVertexFilterCutGplus'),

    # centrality and event plane information
    centralityBin=cms.untracked.InputTag("", ""),
    centrality=cms.untracked.InputTag(""),
    eventPlane=cms.untracked.InputTag("", ""),

    # luminosity information
    lumiInfo=cms.untracked.InputTag(""),
    lumiScalers=cms.untracked.InputTag(""),
)
Exemplo n.º 2
0
                 finalSelection=cms.string("abs(userFloat('dxySig'))>5"
                                           "&& abs(userFloat('dzSig'))>5")),
    ]),
)

# Define the analysis steps
process.rereco_step = cms.Path(process.eventFilter * process.Lambda *
                               process.Xi)

# Add the VertexComposite tree
from VertexCompositeAnalysis.VertexCompositeAnalyzer.particle_tree_cff import particleAna_mc
process.LambdaAna_mc = particleAna_mc.clone(
    recoParticles=cms.InputTag("Lambda"),
    genParticles=cms.untracked.InputTag("genParticles"),
    selectEvents=cms.string("eventFilterStep"),
    addSource=cms.untracked.bool(False),
    genPdgId=cms.untracked.vuint32([3122]),
    nTracksVMap=cms.untracked.InputTag(""),
    saveTree=cms.untracked.bool(True),
)
process.XiAna_mc = particleAna_mc.clone(
    recoParticles=cms.InputTag("Xi"),
    genParticles=cms.untracked.InputTag("genParticles"),
    selectEvents=cms.string("eventFilterStep"),
    addSource=cms.untracked.bool(False),
    genPdgId=cms.untracked.vuint32([3312]),
    nTracksVMap=cms.untracked.InputTag(""),
    saveTree=cms.untracked.bool(True),
)

# Define the output
                "abs(userFloat('dzSig')) < 3 && abs(userFloat('dxySig')) < 3")
        ),
    ]),
)

# Define the analysis steps
process.rereco_step = cms.Path(process.eventFilter * process.kShort *
                               process.LambdaC)

# Add the VertexComposite tree
from VertexCompositeAnalysis.VertexCompositeAnalyzer.particle_tree_cff import particleAna_mc

process.lambdacAna_mc = particleAna_mc.clone(
    recoParticles=cms.InputTag("LambdaC"),
    genParticles=cms.untracked.InputTag("genParticles"),
    selectEvents=cms.string("eventFilterStep"),
    addSource=cms.untracked.bool(False),
    genPdgId=cms.untracked.vuint32([4122, 310, 2212, 211]),
    nTracksVMap=cms.untracked.InputTag(""),
    saveTree=cms.untracked.bool(False))

# Define the output
process.TFileService = cms.Service("TFileService",
                                   fileName=cms.string('lambdacana_mc.root'))
process.p = cms.EndPath(process.lambdacAna_mc)

# Define the process schedule
process.schedule = cms.Schedule(process.rereco_step, process.p)

# Add the event selection filters, will be used by tree producer
process.Flag_colEvtSel = cms.Path(process.colEvtSel)
process.Flag_hfCoincFilter = cms.Path(process.hfCoincFilter)
                "&& normalizedChi2<7.0"
                "&& numberOfValidHits >=3"),
            finalSelection=cms.string("abs(userFloat('dxySig'))>1"
                                      "&& abs(userFloat('dzSig'))>1")),
    ]),
)
# Define the analysis steps
process.rereco_step = cms.Path(process.eventFilter * process.kShort)

# Add the VertexComposite tree
from VertexCompositeAnalysis.VertexCompositeAnalyzer.particle_tree_cff import particleAna_mc
process.ksAna_mc = particleAna_mc.clone(
    recoParticles=cms.InputTag("kShort"),
    genParticles=cms.untracked.InputTag("genParticles"),
    selectEvents=cms.string("eventFilterStep"),
    addSource=cms.untracked.bool(False),
    genPdgId=cms.untracked.vuint32([310, 211]),
    nTracksVMap=cms.untracked.InputTag(""),
    saveTree=cms.untracked.bool(True),
)

# Define the output
process.TFileService = cms.Service("TFileService",
                                   fileName=cms.string('ksana_mc.root'))
process.pKs = cms.EndPath(process.ksAna_mc)

# Define the process schedule
process.schedule = cms.Schedule(
    process.eventFilterStep,
    process.rereco_step,
    process.pKs,