ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
egammaMVAFunctions.h File Reference
#include "xAODEgamma/Egamma.h"
#include "xAODEgamma/Electron.h"
#include "xAODEgamma/Photon.h"
#include "xAODEgamma/EgammaxAODHelpers.h"
#include "xAODEgamma/PhotonxAODHelpers.h"
#include "xAODCaloEvent/CaloCluster.h"
#include "egammaMVALayerDepth.h"
#include "AthContainers/ConstAccessor.h"
#include "TLorentzVector.h"
#include <functional>
#include <string>
#include <unordered_map>
#include <cmath>
#include <memory>
#include <stdexcept>
#include <AsgMessaging/AsgMessaging.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  egammaMVAFunctions::ConversionHelper
 The ConversionHelper struct is stll used by egammaMVATree in PhysicsAnalysis but not the functions in the dictionaries above. More...
 

Namespaces

 egammaMVAFunctions
 These functions are for calculating variables used by the MVA calibration.
 

Typedefs

using egammaMVAFunctions::funcMap_t = std::unordered_map< std::string, std::function< float(const xAOD::Egamma *, const xAOD::CaloCluster *)> >
 Define the map type since it's long. More...
 

Functions

float egammaMVAFunctions::compute_cl_eta (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_phi (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_e (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_etaCalo (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_phiCalo (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_etas1 (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_cl_etas2 (const xAOD::CaloCluster &cluster)
 
float egammaMVAFunctions::compute_rawcl_Es0 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_rawcl_Es1 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_rawcl_Es2 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_rawcl_Es3 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_Es0 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_Es1 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_Es2 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_Es3 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_rawcl_Eacc (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_rawcl_f0 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_Eacc (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_f0 (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_calibHitsShowerDepth (const std::array< float, 4 > &cl, float eta)
 
float egammaMVAFunctions::compute_rawcl_calibHitsShowerDepth (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_correctedcl_calibHitsShowerDepth (const xAOD::CaloCluster &cl)
 
float egammaMVAFunctions::compute_el_charge (const xAOD::Electron &el)
 
float egammaMVAFunctions::compute_el_tracketa (const xAOD::Electron &el)
 
float egammaMVAFunctions::compute_el_trackpt (const xAOD::Electron &el)
 
float egammaMVAFunctions::compute_el_trackz0 (const xAOD::Electron &el)
 
float egammaMVAFunctions::compute_el_refittedTrack_qoverp (const xAOD::Electron &el)
 
int egammaMVAFunctions::compute_el_author (const xAOD::Electron &el)
 
int egammaMVAFunctions::compute_ph_convFlag (const xAOD::Photon &ph)
 
float egammaMVAFunctions::getPtAtFirstMeasurement (const xAOD::TrackParticle *tp)
 
float egammaMVAFunctions::compute_ptconv_decor (const xAOD::Photon *ph)
 This ptconv function uses the vertex decorations. More...
 
float egammaMVAFunctions::compute_ptconv (const xAOD::Photon *ph)
 This ptconv is the old one used by MVACalib. More...
 
float egammaMVAFunctions::compute_pt1conv (const xAOD::Photon *ph)
 
float egammaMVAFunctions::compute_pt2conv (const xAOD::Photon *ph)
 
template<int itrack, xAOD::SummaryType summary>
int egammaMVAFunctions::compute_convtrkXhits (const xAOD::Photon *ph)
 
int egammaMVAFunctions::compute_convtrk1nPixHits (const xAOD::Photon *ph)
 
int egammaMVAFunctions::compute_convtrk2nPixHits (const xAOD::Photon *ph)
 
int egammaMVAFunctions::compute_convtrk1nSCTHits (const xAOD::Photon *ph)
 
int egammaMVAFunctions::compute_convtrk2nSCTHits (const xAOD::Photon *ph)
 
std::unique_ptr< funcMap_t > egammaMVAFunctions::initializeElectronFuncs (bool useLayerCorrected)
 A function to build the map for electrons. More...
 
std::unique_ptr< funcMap_t > egammaMVAFunctions::initializeUnconvertedPhotonFuncs (bool useLayerCorrected)
 A function to build the map for uncoverted photons. More...
 
std::unique_ptr< funcMap_t > egammaMVAFunctions::initializeConvertedPhotonFuncs (bool useLayerCorrected)
 A function to build the map for converted photons. More...