ATLAS Offline Software
InsituTrackTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef Muon_InsituTrackTools_H
6 #define Muon_InsituTrackTools_H
7 
9 #include <stdint.h>
10 #include <algorithm>
11 #include <functional>
12 #include <string>
15 #include "GaudiKernel/ToolHandle.h"
17 #include "TH1.h"
18 #include "TH2.h"
19 #include "TLorentzVector.h"
26 #include "Particle/TrackParticle.h"
29 #include "egammaEvent/Electron.h"
32 #include "muonEvent/Muon.h"
37 #include "JetEvent/JetCollection.h"
39 
42 
43 class AtlasDetectorID;
44 class Identifier;
45 
46 
56 namespace Muon
57 {
58  class InsituTrackTools : virtual public IInsituTrackTools, public AthAlgTool
59  {
60  public:
61  InsituTrackTools(const std::string&,const std::string&,const IInterface*);
62 
64  virtual ~InsituTrackTools () {};
65 
66  virtual bool isZBosonCandidate(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override;
67  virtual bool isTriggeredMuon(const INavigable4Momentum *track1) override;
68  virtual bool isTriggeredElectron(const INavigable4Momentum *track1) override;
69  virtual bool isCloseTrack(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override;
70  virtual bool isIsolatedTrack(const INavigable4Momentum *track1) override;
71  virtual bool isIsolatedMuon(const INavigable4Momentum *track1) override;
72  virtual bool isElectronCandidate(const INavigable4Momentum *track1) override;
73 
74  virtual double getInvariantMass(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override;
75  virtual double getDistance(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override;
76  virtual bool getTrackIsolation(const INavigable4Momentum *trackParticle, float &PtIsolation, int &NIsolation) override;
77  virtual float getTrackPtIsolation(const INavigable4Momentum *trackParticle) override;
78  virtual int getNTrackIsolation(const INavigable4Momentum *trackParticle) override;
79  virtual float getJetIsolation(const INavigable4Momentum *trackParticle) override;
80 
81  private:
82 
86 
92  };
93 }
94 
95 #endif
Muon::InsituTrackTools::isTriggeredMuon
virtual bool isTriggeredMuon(const INavigable4Momentum *track1) override
Definition: InsituTrackTools.cxx:66
Muon::InsituTrackTools::getTrackPtIsolation
virtual float getTrackPtIsolation(const INavigable4Momentum *trackParticle) override
Definition: InsituTrackTools.cxx:129
Muon::InsituTrackTools::isTriggeredElectron
virtual bool isTriggeredElectron(const INavigable4Momentum *track1) override
Definition: InsituTrackTools.cxx:71
Muon_ROI.h
Muon::InsituTrackTools::getInvariantMass
virtual double getInvariantMass(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override
Definition: InsituTrackTools.cxx:57
TrackParticle.h
INavigable4Momentum.h
Muon::InsituTrackTools::m_ConeJetContainerName
std::string m_ConeJetContainerName
Definition: InsituTrackTools.h:85
MuonContainer.h
ParticleBaseContainer.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::InsituTrackTools::getDistance
virtual double getDistance(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override
Definition: InsituTrackTools.cxx:87
JetConstituent.h
CombinedMuonFeature.h
IInsituTrackTools.h
Muon::InsituTrackTools
Definition: InsituTrackTools.h:59
Muon::InsituTrackTools::m_InnerTrackContainerName
std::string m_InnerTrackContainerName
member variables for algorithm properties:
Definition: InsituTrackTools.h:84
JetCollection.h
IInsituTrackTools
Definition: IInsituTrackTools.h:16
AthAlgTool.h
LVL1_ROI.h
TrackConstituents.h
Muon::InsituTrackTools::m_MaximalMassDifferenceToZBoson
double m_MaximalMassDifferenceToZBoson
Cut variables.
Definition: InsituTrackTools.h:88
Muon::InsituTrackTools::getTrackIsolation
virtual bool getTrackIsolation(const INavigable4Momentum *trackParticle, float &PtIsolation, int &NIsolation) override
Definition: InsituTrackTools.cxx:94
Muon::InsituTrackTools::isCloseTrack
virtual bool isCloseTrack(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override
Definition: InsituTrackTools.cxx:81
Muon::InsituTrackTools::m_MaximalJetEnergyInCone
double m_MaximalJetEnergyInCone
Definition: InsituTrackTools.h:91
Electron.h
Muon::InsituTrackTools::InsituTrackTools
InsituTrackTools(const std::string &, const std::string &, const IInterface *)
Definition: InsituTrackTools.cxx:10
Muon::InsituTrackTools::isZBosonCandidate
virtual bool isZBosonCandidate(const INavigable4Momentum *track1, const INavigable4Momentum *track2) override
Definition: InsituTrackTools.cxx:24
Muon::InsituTrackTools::~InsituTrackTools
virtual ~InsituTrackTools()
default destructor
Definition: InsituTrackTools.h:64
INavigable4Momentum
Definition: INavigable4Momentum.h:21
Muon::InsituTrackTools::isIsolatedTrack
virtual bool isIsolatedTrack(const INavigable4Momentum *track1) override
Definition: InsituTrackTools.cxx:36
Muon.h
Muon::InsituTrackTools::m_MaximalNumberofTracksInCone
double m_MaximalNumberofTracksInCone
Definition: InsituTrackTools.h:90
Muon::InsituTrackTools::getJetIsolation
virtual float getJetIsolation(const INavigable4Momentum *trackParticle) override
Definition: InsituTrackTools.cxx:146
AthAlgTool
Definition: AthAlgTool.h:26
TrigMuonEFContainer.h
Muon::InsituTrackTools::isIsolatedMuon
virtual bool isIsolatedMuon(const INavigable4Momentum *track1) override
Definition: InsituTrackTools.cxx:46
Muon::InsituTrackTools::m_MaximalPTofTracksInCone
double m_MaximalPTofTracksInCone
Definition: InsituTrackTools.h:89
Muon::InsituTrackTools::getNTrackIsolation
virtual int getNTrackIsolation(const INavigable4Momentum *trackParticle) override
Definition: InsituTrackTools.cxx:137
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
Muon::InsituTrackTools::isElectronCandidate
virtual bool isElectronCandidate(const INavigable4Momentum *track1) override
Definition: InsituTrackTools.cxx:76
TrackParticleContainer.h
Identifier
Definition: IdentifierFieldParser.cxx:14