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"
10
11#include "xAODJet/Jet.h"
14
15#include <string>
16class TString;
17
19{
20 // Interface declaration
22
23 public:
24 // Retrieve tool information
25 virtual std::string getName() const = 0;
26 virtual std::string getJetDef() const = 0;
27 virtual std::string getMCType() const = 0;
28 virtual std::string getConfigFile() const = 0;
29 virtual std::string getPath() const = 0;
30 virtual std::string getAnalysisFile() const = 0;
31 virtual float getRefMu() const = 0;
32 virtual float getRefNPV() const = 0;
33
34 // Retrieve component information
35 virtual size_t getNumComponents() const = 0;
36 virtual size_t getComponentIndex(const std::string& name) const = 0;
37 virtual size_t getComponentIndex(const TString& name) const = 0;
38 virtual std::string getComponentName(const size_t index) const = 0;
39 virtual std::string getComponentDesc(const size_t index) const = 0;
40
41 // Retrieve component scaling information
42 virtual bool getComponentScalesFourVec(const size_t index) const = 0;
43 virtual bool getComponentScalesPt(const size_t index) const = 0;
44 virtual bool getComponentScalesMass(const size_t index) const = 0;
45 virtual bool getComponentScalesD12(const size_t index) const = 0;
46 virtual bool getComponentScalesD23(const size_t index) const = 0;
47 virtual bool getComponentScalesTau21(const size_t index) const = 0;
48 virtual bool getComponentScalesTau32(const size_t index) const = 0;
49
50 // Retrieve uncertainty and validity information for a given component
51 // Overloads without EventInfo use a cached default — not thread-safe.
52 virtual bool getValidity ATLAS_NOT_THREAD_SAFE (size_t index, const xAOD::Jet& jet) const = 0;
53 virtual bool getValidity(size_t index, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
54 virtual double getUncertainty ATLAS_NOT_THREAD_SAFE (size_t index, const xAOD::Jet& jet) const = 0;
55 virtual double getUncertainty(size_t index, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
56 virtual bool getValidUncertainty ATLAS_NOT_THREAD_SAFE (size_t index, double& unc, const xAOD::Jet& jet) const = 0;
57 virtual bool getValidUncertainty(size_t index, double& unc, const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const = 0;
58
59
60};
61
62#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Define macros for attributes used to control the static checker.
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 double getUncertainty ATLAS_NOT_THREAD_SAFE(size_t index, const xAOD::Jet &jet) const =0
virtual bool getComponentScalesTau21(const size_t index) const =0
virtual std::string getAnalysisFile() const =0
virtual bool getValidity ATLAS_NOT_THREAD_SAFE(size_t index, const xAOD::Jet &jet) const =0
virtual std::string getName() const =0
virtual bool getComponentScalesD12(const size_t index) const =0
virtual bool getComponentScalesMass(const size_t index) 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 ATLAS_NOT_THREAD_SAFE(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.