ATLAS Offline Software
Loading...
Searching...
No Matches
IJetUncertaintiesTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETUNCERTAINTIES_IJETUNCERTAINTIESTOOL_H
6#define JETUNCERTAINTIES_IJETUNCERTAINTIESTOOL_H
7
8#include "AsgTools/IAsgTool.h"
9
10#include "xAODJet/Jet.h"
13
14#include <string>
15class TString;
16
18{
19 // Interface declaration
21
22 public:
23 // Retrieve tool information
24 virtual std::string getName() const = 0;
25 virtual std::string getJetDef() const = 0;
26 virtual std::string getMCType() const = 0;
27 virtual std::string getConfigFile() const = 0;
28 virtual std::string getPath() const = 0;
29 virtual std::string getAnalysisFile() const = 0;
30 virtual float getRefMu() const = 0;
31 virtual float getRefNPV() const = 0;
32
33 // Retrieve component information
34 virtual size_t getNumComponents() const = 0;
35 virtual size_t getComponentIndex(const std::string& name) const = 0;
36 virtual size_t getComponentIndex(const TString& name) const = 0;
37 virtual std::string getComponentName(const size_t index) const = 0;
38 virtual std::string getComponentDesc(const size_t index) const = 0;
39
40 // Retrieve component scaling information
41 virtual bool getComponentScalesFourVec(const size_t index) const = 0;
42 virtual bool getComponentScalesPt(const size_t index) const = 0;
43 virtual bool getComponentScalesMass(const size_t index) const = 0;
44 virtual bool getComponentScalesD12(const size_t index) const = 0;
45 virtual bool getComponentScalesD23(const size_t index) const = 0;
46 virtual bool getComponentScalesTau21(const size_t index) const = 0;
47 virtual bool getComponentScalesTau32(const size_t index) const = 0;
48
49 // Retrieve uncertainty and validity information for a given component
50 virtual bool getValidity(size_t index, const xAOD::Jet& jet) const = 0;
51 virtual bool getValidity(size_t index, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
52 virtual double getUncertainty(size_t index, const xAOD::Jet& jet) const = 0;
53 virtual double getUncertainty(size_t index, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
54 virtual bool getValidUncertainty(size_t index, double& unc, const xAOD::Jet& jet) const = 0;
55 virtual bool getValidUncertainty(size_t index, double& unc, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
56
57
58};
59
60#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
virtual size_t getComponentIndex(const TString &name) const =0
virtual bool getValidUncertainty(size_t index, double &unc, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
virtual std::string getComponentName(const size_t index) const =0
virtual std::string getPath() const =0
virtual bool getComponentScalesTau32(const size_t index) const =0
virtual bool getValidity(size_t index, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
virtual std::string getConfigFile() const =0
virtual std::string getComponentDesc(const size_t index) const =0
virtual double getUncertainty(size_t index, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
virtual bool getComponentScalesTau21(const size_t index) const =0
virtual std::string getAnalysisFile() const =0
virtual std::string getName() const =0
virtual bool getComponentScalesD12(const size_t index) const =0
virtual double getUncertainty(size_t index, const xAOD::Jet &jet) const =0
virtual bool getComponentScalesMass(const size_t index) const =0
virtual bool getValidity(size_t index, const xAOD::Jet &jet) const =0
virtual size_t getNumComponents() const =0
virtual std::string getMCType() const =0
virtual float getRefNPV() const =0
virtual float getRefMu() const =0
virtual std::string getJetDef() const =0
virtual bool getComponentScalesPt(const size_t index) const =0
virtual bool getComponentScalesFourVec(const size_t index) const =0
virtual bool getValidUncertainty(size_t index, double &unc, const xAOD::Jet &jet) const =0
virtual size_t getComponentIndex(const std::string &name) const =0
virtual bool getComponentScalesD23(const size_t index) const =0
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
Definition index.py:1
Jet_v1 Jet
Definition of the current "jet version".
EventInfo_v1 EventInfo
Definition of the latest event info version.