ATLAS Offline Software
Classes | Macros
GlobalLargeRDNNCalibration.cxx File Reference
#include <TEnv.h>
#include <tuple>
#include <cmath>
#include <map>
#include "JetCalibTools/JetCalibUtils.h"
#include "PathResolver/PathResolver.h"
#include "JetCalibTools/CalibrationMethods/GlobalLargeRDNNCalibration.h"
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)   struct Var_##cname : public GlobalLargeRDNNCalibration::VarRetriever { float value(const xAOD::Jet& jet, JetEventInfo& , double eScale ) { return expr ; } }
 Define shortcuts macro to declare specialized VarRetriever class in one line. More...
 
#define DEF_RETRIEVER1(cname, expr)   struct Var_##cname : public GlobalLargeRDNNCalibration::VarRetriever { float value(const xAOD::Jet& , JetEventInfo& jetInfo, double eScale ) { return expr ; } }
 
#define DEF_RATIO_RETRIEVER(cname, expr)   struct Ratio_##cname : public RatioAccessorRetriever { float value(const xAOD::Jet& jet, JetEventInfo& , double eScale ) { return expr ; } }
 

Macro Definition Documentation

◆ DEF_RATIO_RETRIEVER

#define DEF_RATIO_RETRIEVER (   cname,
  expr 
)    struct Ratio_##cname : public RatioAccessorRetriever { float value(const xAOD::Jet& jet, JetEventInfo& , double eScale ) { return expr ; } }

Definition at line 134 of file GlobalLargeRDNNCalibration.cxx.

◆ DEF_RETRIEVER0

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

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

Definition at line 132 of file GlobalLargeRDNNCalibration.cxx.

◆ DEF_RETRIEVER1

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

Definition at line 133 of file GlobalLargeRDNNCalibration.cxx.