ATLAS Offline Software
Loading...
Searching...
No Matches
IMuonCalibrationAndSmearingTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MCAST_IMUONCALIBRATIONANDSMEARINGTOOL_H
6#define MCAST_IMUONCALIBRATIONANDSMEARINGTOOL_H
7
9#include "AsgTools/IAsgTool.h"
10
12#include "xAODMuon/Muon.h"
13
21
22namespace CP {
23
27
28 public:
32 virtual CorrectionCode correctedCopy(const xAOD::Muon& input, xAOD::Muon*& output) const = 0;
34 virtual double expectedResolution(const std::string& DetType, const xAOD::Muon& mu, const bool mc) const = 0;
36 virtual double expectedResolution(const int& DetType, const xAOD::Muon& mu, const bool mc) const = 0;
37 // Expert method to apply the MC correction on a modifyable trackParticle for ID- or MS-only corrections
39
40 };
41
42} // namespace CP
43
44#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Return value from object correction CP tools.
virtual CorrectionCode applyCorrection(xAOD::Muon &mu) const =0
Declare the interface that the class provides.
virtual CorrectionCode applyCorrectionTrkOnly(xAOD::TrackParticle &inTrk, const int DetType) const =0
virtual double expectedResolution(const std::string &DetType, const xAOD::Muon &mu, const bool mc) const =0
Get the expected pT resolution.
virtual double expectedResolution(const int &DetType, const xAOD::Muon &mu, const bool mc) const =0
Get the expected pT resolution - int argument is more efficient.
virtual CorrectionCode correctedCopy(const xAOD::Muon &input, xAOD::Muon *&output) const =0
Create a corrected copy from a constant muon.
Interface for all CP tools supporting systematic variations.
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
Select isolated Photons, Electrons and Muons.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version: