Skip to content

mattleblanc/IDTrackSel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDTrackSel

Simple wrappers around ATLAS track selection tools (InDetTrackSelectionTool and TrackVertexAssociationTool). Tested in R21.2 and (hopefully) backwards-compatible to R20.7.

Setup

In R21, these have been tested in AnalysisBase/21.2.46+ but likely work with earlier releases.

You must add a sparse checkout of athena and include the InDetTrackSystematicsTools package locally.

In R20.7, try something like:

setupATLAS
rcSetup Base,2.4.28
git clone https://github.com/mattleblanc/IDTrackSel.git
rc build

Usage

These wrappers are meant for use with xAODAnaHelpers. To use it, you could specify part of a config such as ...

c.setalg("InDetTrackSelectionToolAlgo", {
    "m_debug": False,
    "m_name": "InDetTrackSelectionToolAlgo",
    "m_inputTrackContainer": "InDetTrackParticles",
    "m_outputTrackContainer": "SelectedTrackParticles",
    "m_CutLevel": "Loose"
})

c.setalg("TightTrackVertexAssociationToolAlgo", {
        "m_debug": False,
        "m_name": "TightTrackVertexAssociationToolAlgo",
        "m_inputTrackContainer": "SelectedTrackParticles",
        "m_outputTrackContainer": "PVTrackParticles",
        "m_dzSinTheta_cut": 3,
        "m_doPV": True
})

c.setalg("TreeAlgo", {"m_debug": False,
                      "m_name": "rcRes",
                      "m_trackParticlesContainerName": "PVTrackParticles",
                      "m_trackParticlesDetailStr": "kinematic trackpars numbers vertex",
                    })

Systematics

Algorithms are included which provide easy implementations of the recommended tracking systematics in R21:

e.g.

Documentation

InDetTrackSelectionTool twiki:

https://twiki.cern.ch/twiki/bin/view/AtlasProtected/InDetTrackSelectionTool

TrackVertexAssociationTool twiki:

https://twiki.cern.ch/twiki/bin/view/AtlasProtected/TrackVertexAssociationTool