ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalLargeRDNNCalibration.cxx File Reference
#include "JetCalibTools/CalibrationMethods/GlobalLargeRDNNCalibration.h"
#include "JetCalibTools/JetCalibUtils.h"
#include "AsgServices/ServiceHandle.h"
#include "PathResolver/PathResolver.h"
#include <TEnv.h>
#include <tuple>
#include <cmath>
#include <map>
#include <algorithm>
Include dependency graph for GlobalLargeRDNNCalibration.cxx:

Go to the source code of this file.

Classes

struct  GlobalLargeRDNNCalibration::VarRetriever
 VarRetriever is a generic class to access Jet and/or JetEventInfo variables. More...

Macros

#define DEF_RETRIEVER0(cname, expr)
 Define shortcuts macro to declare specialized VarRetriever class in one line.
#define DEF_RETRIEVER1(cname, expr)
#define DEF_RATIO_RETRIEVER(cname, expr)

Macro Definition Documentation

◆ DEF_RATIO_RETRIEVER

#define DEF_RATIO_RETRIEVER ( cname,
expr )
Value:
struct Ratio_##cname : public RatioAccessorRetriever { float value(const xAOD::Jet& jet, JetEventInfo& , double eScale ) { return expr ; } }
Jet_v1 Jet
Definition of the current "jet version".

Definition at line 137 of file GlobalLargeRDNNCalibration.cxx.

◆ DEF_RETRIEVER0

#define DEF_RETRIEVER0 ( cname,
expr )
Value:
struct Var_##cname : public GlobalLargeRDNNCalibration::VarRetriever { float value(const xAOD::Jet& jet, JetEventInfo& , double eScale ) { return expr ; } }
VarRetriever is a generic class to access Jet and/or JetEventInfo variables.
virtual float value(const xAOD::Jet &jet, JetEventInfo &jetInfo, double eScale)=0
the value of the variable to be retrieved from the jet and/or JetEventInfo

Define shortcuts macro to declare specialized VarRetriever class in one line.

Definition at line 135 of file GlobalLargeRDNNCalibration.cxx.

◆ DEF_RETRIEVER1

#define DEF_RETRIEVER1 ( cname,
expr )
Value:
struct Var_##cname : public GlobalLargeRDNNCalibration::VarRetriever { float value(const xAOD::Jet& , JetEventInfo& jetInfo, double eScale ) { return expr ; } }

Definition at line 136 of file GlobalLargeRDNNCalibration.cxx.