![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef ANALYSISTOP_TOPOBJECTSELECTONTOOLS_TOPOBJECTSELECTION_H
7 #define ANALYSISTOP_TOPOBJECTSELECTONTOOLS_TOPOBJECTSELECTION_H
55 class SystematicEvent;
235 virtual void print(MsgStream&
os)
const;
240 virtual void print()
const;
260 std::vector<unsigned int>&
indices);
264 std::vector<unsigned int>& goodElectrons,
265 std::vector<unsigned int>& goodMuons,
266 std::vector<unsigned int>& goodTrackJets);
269 std::vector<unsigned int>& goodMuons);
328 std::unordered_map<std::string, ToolHandle<IBTaggingSelectionTool> >
m_btagSelTools;
void applySelectionPreOverlapRemovalElectrons()
For each systematic load each of the electrons and test if they pass the object selection.
Base class for implementing an electron selection.
void applySelectionPreOverlapRemovalTaus()
void photonSelection(PhotonSelectionBase *ptr)
Set the code used to select photons.
TopConfig A simple configuration that is NOT a singleton.
StatusCode initialize()
Dummy implementation of the initialisation function.
std::unique_ptr< top::PhotonSelectionBase > m_photonSelection
Photon selection code - can load user defined classes.
void jetGhostTrackSelection(JetGhostTrackSelectionBase *ptr)
Set the code used to select tracks ghost associated to small-R jets.
std::unique_ptr< top::JetSelectionBase > m_jetSelection
Jet selection code - can load user defined classes.
std::pair< long int, long int > indices
StatusCode execute(bool)
Code that runs for every event (note that it runs the selection on all the systematic variations too)...
void applySelectionPreOverlapRemovalJetGhostTracks()
void overlapRemovalPostSelection(OverlapRemovalBase *ptr)
Set the code used to perform the overlap removal.
void electronSelection(ElectronSelectionBase *ptr)
Set the code used to select electrons.
std::unique_ptr< top::JetGhostTrackSelectionBase > m_jetGhostTrackSelection
Ghost Track associated to small-R jets selection code - can load user defined classes
const std::string m_passPreORSelectionLoose
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TopObjectSelection(TopObjectSelection &&rhs)=delete
const std::string m_ORToolDecoration
std::unique_ptr< top::TrackSelectionBase > m_trackSelection
Track selection code - can load user defined classes
const std::string m_passPreORSelection
const std::string m_ORToolDecorationLoose
void tauSelection(TauSelectionBase *ptr)
Set the code used to select taus.
void trackJetOverlapRemoval(const xAOD::IParticleContainer *xaod_el, const xAOD::IParticleContainer *xaod_mu, const xAOD::IParticleContainer *xaod_tjet, std::vector< unsigned int > &goodElectrons, std::vector< unsigned int > &goodMuons, std::vector< unsigned int > &goodTrackJets)
asg::AnaToolHandle< ORUtils::IOverlapRemovalTool > m_overlapRemovalTool_softMuons_Alljets
void applySelectionPreOverlapRemovalFwdElectrons()
For each systematic load each of the fwd electrons and test if they pass the object selection.
std::unique_ptr< top::SoftMuonSelectionBase > m_softmuonSelection
Soft Muon selection code - can load user defined classes.
std::unique_ptr< top::OverlapRemovalBase > m_overlapRemovalToolPostSelection
Overlap removal that runs after all object selection.
std::unique_ptr< top::ElectronInJetSubtractionCollectionMaker > m_electronInJetSubtractor
void jetSelection(JetSelectionBase *ptr)
Set the code used to select jets.
void applySelectionPreOverlapRemovalSoftMuons()
::StatusCode StatusCode
StatusCode definition for legacy code.
Configure the object selection used in the analysis.
TopObjectSelection(const std::string &name)
Setup the object selection at the start of the run.
std::unique_ptr< top::FwdElectronSelectionBase > m_fwdElectronSelection
Fwd Electron selection code - can load user defined classes.
void applyTightSelectionPostOverlapRemoval(const xAOD::IParticleContainer *xaod, std::vector< unsigned int > &indices)
std::unique_ptr< top::JetSelectionBase > m_trackJetSelection
Track jet selection code - can load user defined classes.
virtual StatusCode applyOverlapRemoval()
virtual ~TopObjectSelection()
Base class for implementing an Photon selection.
void applySelectionPreOverlapRemovalTracks()
std::unique_ptr< top::ElectronSelectionBase > m_electronSelection
Electron selection code - can load user defined classes.
void trackSelection(TrackSelectionBase *ptr)
Set the code used to select tracks.
virtual void print() const
or prehaps you'd like the AsgTool print function
void applySelectionPreOverlapRemoval()
float calculateMinDRMuonJet(const xAOD::Muon &mu, const xAOD::JetContainer *xaod_jet, std::vector< unsigned int > &goodJets, bool useRapidity=false)
void overlapRemovalPostSelectionTrackJets(OverlapRemovalBase *ptr)
void applySelectionPreOverlapRemovalJets()
void trackJetSelection(JetSelectionBase *ptr)
Set the code used to select track jets.
std::unordered_map< std::string, ToolHandle< IBTaggingSelectionTool > > m_trkjet_btagSelTools
std::unique_ptr< top::TauSelectionBase > m_tauSelection
Tau selection code - can load user defined classes.
void decorateSoftMuonsPostOverlapRemoval(const xAOD::MuonContainer *xaod_softmu, std::vector< unsigned int > &goodMuons)
void softmuonSelection(SoftMuonSelectionBase *ptr)
Set the code used to select soft muons.
SystematicEvent A simple xAOD class which we can persist into a mini-xAOD The xAOD EDM is way too com...
void decorateEventInfoPostOverlapRemoval(int, bool)
std::unordered_map< std::string, ToolHandle< IBTaggingSelectionTool > > m_btagSelTools
void applySelectionPreOverlapRemovalPhotons()
std::unique_ptr< top::MuonSelectionBase > m_muonSelection
Muon selection code - can load user defined classes.
std::shared_ptr< top::TopConfig > m_config
Pointer to the configuration object so we can check which objects were requested in the config file.
void applySelectionPreOverlapRemovalLargeRJets()
Base class for implementing an electron selection.
std::unique_ptr< top::JetSelectionBase > m_largeJetSelection
Large-R jet selection code - can load user defined classes.
void applySelectionPreOverlapRemovalMuons()
void fwdElectronSelection(FwdElectronSelectionBase *ptr)
Set the code used to select forward electrons.
TopObjectSelection(const TopObjectSelection &rhs)=delete
TopObjectSelection & operator=(const TopObjectSelection &rhs)=delete
void applySelectionPreOverlapRemovalTrackJets()
void muonSelection(MuonSelectionBase *ptr)
Set the code used to select muons.
void largeJetSelection(JetSelectionBase *ptr)
Set the code used to select large jets.