![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
This loads our "standard" object selection used in the top group.
More...
#include <ObjectLoaderStandardCuts.h>
This loads our "standard" object selection used in the top group.
You can modify this directly, inherit from it and make changes or write your own. It's really your decision and I can't tell you what to do (you should write your own in a separate library then when you change release it wont be a big deal).
Definition at line 19 of file ObjectLoaderStandardCuts.h.
◆ init()
Setup the cuts.
Probably easiest if you look at the code, no?
- Parameters
-
topConfig | The config that has been loaded. |
- Returns
- A fully configured object that can be used to control which objects (physics ones, not computer ones) are selected by the program.
– Photons –//
– Electrons –///
– Fwd Electrons –///
– Muons –///
– Soft Muons –///
– Taus –///
– Jets –///
– Large R Jets –///
– Track Jets –///
– Ghost Track Jets –///
– Tracks –///
– Overlap removal –/// single parameter: boolean to do OR with large-R jets
Implements top::ObjectLoaderBase.
Definition at line 30 of file ObjectLoaderStandardCuts.cxx.
32 top::check(objectSelection->setProperty(
"config", topConfig),
"Failed to setProperty for top::TopObjectSelection");
40 ATH_MSG_INFO(
"top::ObjectLoaderStandardCuts::init - Using new photon object for Release 21 - Photon");
51 if (topConfig->
electronID().find(
"LH") != std::string::npos &&
67 ATH_MSG_ERROR(
"Only likelihood-based electron ID is currently supported. You have selected:\n"
68 <<
"Tight electron definition: " << topConfig->
electronID() <<
"\n"
70 throw std::runtime_error(
"Unsupported electron ID option");
141 return objectSelection;
The documentation for this class was generated from the following files:
virtual void useElectronChargeIDSelection(const std::string &s)
virtual void trackEtacut(const float eta)
virtual void photonIsolationLoose(const std::string &quality)
void photonSelection(PhotonSelectionBase *ptr)
Set the code used to select photons.
virtual void objectSelectionName(const std::string &s)
StatusCode initialize()
Dummy implementation of the initialisation function.
virtual void photonEtacut(const float eta)
Select muons based on some early suggestions.
void jetGhostTrackSelection(JetGhostTrackSelectionBase *ptr)
Set the code used to select tracks ghost associated to small-R jets.
virtual void electrond0Sigcut(const float d0sig)
Apply the cuts to etcone and ptcone like we used to in Run-I.
virtual void muondeltaz0cut(const float delta_z0)
void overlapRemovalPostSelection(OverlapRemovalBase *ptr)
Set the code used to perform the overlap removal.
virtual void jetPtGhostTracks(const float pt, const float small_jet_pt)
void electronSelection(ElectronSelectionBase *ptr)
Set the code used to select electrons.
virtual void electronVetoLArCrack(const bool b)
virtual void electronIsolation(const std::string &iso)
virtual void muonIsolationLoose(const std::string &iso)
virtual void trackJetEtacut(const float eta)
virtual void muonIsolation(const std::string &iso)
virtual void electrondeltaz0cut(const float delta_z0)
bool useTrackJets() const
bool useSoftMuons() const
A class that performs object cuts on Jets (of any size!).
void tauSelection(TauSelectionBase *ptr)
Set the code used to select taus.
virtual void softmuonPtcut(const float pt)
Apply the cuts relevant for Anti-muon model.
bool useLargeRJets() const
bool useAntiMuons() const
virtual void electronIDLoose(const std::string &s)
virtual void largeRJetPtcut(const float pt)
virtual void electronPtcut(const float pt)
virtual void trackJetPtcut(const float pt)
void jetSelection(JetSelectionBase *ptr)
Set the code used to select jets.
Configure the object selection used in the analysis.
virtual void jetPtcut(const float pt)
bool isTruthDxAOD() const
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
virtual void muonPtcut(const float pt)
void trackSelection(TrackSelectionBase *ptr)
Set the code used to select tracks.
virtual void muond0Sigcut(const float d0sig)
To select electrons based on the "likelihood" definition.
virtual void trackPtcut(const float pt)
bool useJetGhostTrack() const
virtual void largeRJetEtacut(const float eta)
void trackJetSelection(JetSelectionBase *ptr)
Set the code used to select track jets.
To select taus based on BoostedDecisionTree definition.
virtual void photonPtcut(const float pt)
Photon selection for top analyses.
bool useElectrons() const
virtual void largeRJetMasscut(const float m)
Select muons based on some early suggestions.
virtual void photonIdentification(const std::string &quality)
void softmuonSelection(SoftMuonSelectionBase *ptr)
Set the code used to select soft muons.
virtual void ghostTrackspT(const float pt)
bool applyTTVACut() const
Select muons based on some early suggestions.
The Harmonization Group recommended object overlap removal.
virtual void photonIsolation(const std::string &quality)
virtual void electronID(const std::string &s)
virtual void ghostTracksVertexAssociation(const std::string &vertexassociation)
virtual void electronIsolationLoose(const std::string &iso)
void muonSelection(MuonSelectionBase *ptr)
Set the code used to select muons.
bool doLargeJetOverlapRemoval() const
virtual void photonIdentificationLoose(const std::string &quality)
void largeJetSelection(JetSelectionBase *ptr)
Set the code used to select large jets.
virtual void jetEtacut(const float eta)