ATLAS Offline Software
TruthTrackSmearer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef L0MUONEMULATION_TRUTHTRACKSMEARER_H
6 #define L0MUONEMULATION_TRUTHTRACKSMEARER_H
7 
8 #include <memory>
9 #include <array>
10 
12 
13 #include "L0MuonTrack.h"
14 
15 namespace L0Muon {
16 
18  public:
20  ~TruthTrackSmearer() = default;
21 
24 
25  double effFunc(double pt) const;
26 
27  bool emulateL0MuonTrack(double curv, float eta, float phi, L0MuonTrack& otrack) const;
28 
29  private:
31  std::array<float, 2> m_efficiencyMap; // [pt]
32 };
33 
34 } // end of namespace
35 
36 #endif
L0Muon::L0MuonTrack
Definition: L0MuonTrack.h:11
L0Muon::TruthTrackSmearer::operator=
TruthTrackSmearer & operator=(const TruthTrackSmearer &other)=delete
L0Muon::TruthTrackSmearer::TruthTrackSmearer
TruthTrackSmearer(const TruthTrackSmearer &other)=delete
L0Muon::TruthTrackSmearer::TruthTrackSmearer
TruthTrackSmearer(ATHRNG::RNGWrapper *rndWrapper)
Definition: TruthTrackSmearer.cxx:11
test_pyathena.pt
pt
Definition: test_pyathena.py:11
L0Muon
Definition: L0MuonSmearingAlg.cxx:13
L0Muon::TruthTrackSmearer::emulateL0MuonTrack
bool emulateL0MuonTrack(double curv, float eta, float phi, L0MuonTrack &otrack) const
Definition: TruthTrackSmearer.cxx:22
L0Muon::TruthTrackSmearer::~TruthTrackSmearer
~TruthTrackSmearer()=default
ATHRNG::RNGWrapper
A wrapper class for event-slot-local random engines.
Definition: RNGWrapper.h:56
L0MuonTrack.h
RNGWrapper.h
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
L0Muon::TruthTrackSmearer::effFunc
double effFunc(double pt) const
Definition: TruthTrackSmearer.cxx:17
L0Muon::TruthTrackSmearer::m_efficiencyMap
std::array< float, 2 > m_efficiencyMap
Definition: TruthTrackSmearer.h:31
L0Muon::TruthTrackSmearer::m_rngWrapper
ATHRNG::RNGWrapper * m_rngWrapper
Definition: TruthTrackSmearer.h:30
L0Muon::TruthTrackSmearer
Definition: TruthTrackSmearer.h:17