Draft: CPAlgorithms: add particle-level objects
This MR migrates the algorithms related to particle-level truth objects (stable particles before detector simulation) from TopCPToolkit. I provide separate algorithms and configuration blocks for:
- electrons
- muons
- jets
- photons
- taus
- neutrinos
- overlap removal
- MET
Users can further run existing algorithms on these truth-level objects, e.g. IFF classification, pT/eta selection, container thinning, event selection, resonance reconstruction etc.
Remains to be done before undrafting:
-
photons -
taus -
MET -
overlap removal -
finalise the example YAML config -
component factory preloader
Example YAML config:
PL_Electrons: {}
PL_Muons: {}
PL_Jets:
containerName: 'AntiKt4TruthDressedWZJets'
PtEtaSelection:
minPt: 30000.0
maxEta: 2.5
Thinning:
- containerName: 'TruthElectrons'
outputName: 'OutTruthElectrons'
selectionName: ''
- containerName: 'TruthMuons'
outputName: 'OutTruthMuons'
selectionName: ''
- containerName: 'AntiKt4TruthDressedWZJets'
outputName: 'OutTruthJets'
selectionName: ''
Output:
treeName: 'particleLevel'
vars:
- 'EventInfo.mcChannelNumber -> mcChannelNumber'
- 'EventInfo.runNumber -> runNumber'
- 'EventInfo.eventNumber -> eventNumber'
metTermName: 'NonInt'
containers:
'PL_': 'EventInfo'
'PL_el_': 'OutTruthElectrons'
'PL_mu_': 'OutTruthMuons'
'PL_jet_': 'OutTruthJets'
Edited by Baptiste Ravina