ATLAS Offline Software
Classes | Macros
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)   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 138 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 136 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 137 of file GlobalLargeRDNNCalibration.cxx.