egammaMVATreeEgamma Class Reference

#include <egammaMVATree.h>

Inheritance diagram for egammaMVATreeEgamma:
asg::AsgMessaging egammaMVATreeElectron egammaMVATreePhoton

List of all members.

Public Member Functions

 egammaMVATreeEgamma (const std::string &name, const std::string &prefix, const std::set< std::string > &variables, bool use_layer_corrected=true)
void update (const xAOD::Egamma *egamma)
void update (const xAOD::Egamma *egamma, const xAOD::CaloCluster *cluster)
template<typename T >
const Tget_ref (const std::string &var_name) const

Protected Types

typedef std::tuple
< std::string, std::function
< float(const
xAOD::CaloCluster &)>, float > 
FloatElement
typedef std::tuple
< std::string, std::function
< float(const xAOD::Egamma &)>
, float > 
FloatElementParticle

Protected Member Functions

template<typename T >
const Tget_ptr (const std::string &) const
template<typename T , typename MAPSTRINGFUNCTION , typename CONTAINER >
void search_var_and_add (const std::string &var_name, const MAPSTRINGFUNCTION &map_string_function, CONTAINER &container)
template<typename T , typename MAPSTRINGFUNCTION , typename CONTAINER >
void create_structure (const std::set< std::string > vars, const MAPSTRINGFUNCTION &map_string_function, CONTAINER &container)

Protected Attributes

std::vector< FloatElement > m_functions_float_from_calo_cluster
std::vector< FloatElementParticle > m_functions_float_from_particle

Detailed Description

Base class implementing variables defined for egamma clusters


Member Function Documentation

void egammaMVATreeEgamma::update ( const xAOD::Egamma egamma  ) 

call update for every egamma object, this update the internal variables connected to the branches


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1