ATLAS Offline Software
Loading...
Searching...
No Matches
IMissingMassTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Asg wrapper around the MissingMassCalculator
6// author Quentin Buat <quentin.buat@no.spam.cern.ch>
7#ifndef DITAUMASSTOOLS_IMISSINGMASSTOOL_H
8#define DITAUMASSTOOLS_IMISSINGMASSTOOL_H
9
10
12#include "AsgTools/IAsgTool.h"
13
14// EDM Include
17#include "xAODBase/IParticle.h"
18
19class IMissingMassTool : public virtual asg::IAsgTool
20
21{
22
23 // Declare the interface that the class provides
25
26 public:
27 using PtEtaPhiMVector = ROOT::Math::PtEtaPhiMVector;
28 using XYVector = ROOT::Math::XYVector;
29
31 virtual ~IMissingMassTool() {};
32
33// generic method
37 const xAOD::MissingET* met,
38 const int & njets)=0;
39
42 const xAOD::MissingET* met,
43 const bool kMMCsynchronize,
44 double &mass, double &xp1, double &xp2)=0;
45
46 virtual double GetFitStatus(const int method)=0;
47 virtual double GetFittedMass(const int method)=0;
48 virtual double GetFittedMassErrorUp(int method)=0;
49 virtual double GetFittedMassErrorLow(int method)=0;
50 virtual PtEtaPhiMVector GetResonanceVec(int method) = 0;
51 virtual XYVector GetFittedMetVec(int method) = 0;
52 virtual PtEtaPhiMVector GetNeutrino4vec(int method, int index) = 0;
53 virtual PtEtaPhiMVector GetTau4vec(int method, int index) = 0;
54 virtual int GetNNoSol()=0;
55 virtual int GetNMetroReject()=0;
56 virtual int GetNSol()=0;
57
58};
59#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Return value from object correction CP tools.
virtual double GetFittedMassErrorLow(int method)=0
virtual CP::CorrectionCode doCollinearApprox(const xAOD::IParticle *part1, const xAOD::IParticle *part2, const xAOD::MissingET *met, const bool kMMCsynchronize, double &mass, double &xp1, double &xp2)=0
virtual XYVector GetFittedMetVec(int method)=0
virtual PtEtaPhiMVector GetTau4vec(int method, int index)=0
virtual double GetFittedMass(const int method)=0
virtual int GetNNoSol()=0
virtual ~IMissingMassTool()
virtual destructor
virtual PtEtaPhiMVector GetNeutrino4vec(int method, int index)=0
virtual CP::CorrectionCode apply(const xAOD::EventInfo &ei, const xAOD::IParticle *part1, const xAOD::IParticle *part2, const xAOD::MissingET *met, const int &njets)=0
virtual double GetFitStatus(const int method)=0
ROOT::Math::PtEtaPhiMVector PtEtaPhiMVector
virtual int GetNMetroReject()=0
virtual double GetFittedMassErrorUp(int method)=0
ROOT::Math::XYVector XYVector
virtual int GetNSol()=0
virtual PtEtaPhiMVector GetResonanceVec(int method)=0
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
Class providing the definition of the 4-vector interface.
Definition index.py:1
Definition part1.py:1
Definition part2.py:1
EventInfo_v1 EventInfo
Definition of the latest event info version.
MissingET_v1 MissingET
Version control by type defintion.
Definition MissingET.h:15