8#ifndef CALOUTILS_CALOSAMPLINGHELPER_H
9#define CALOUTILS_CALOSAMPLINGHELPER_H
12#include "CaloGeoHelpers/CaloSampling.h"
36 static bool getSamplings(
const std::vector<CaloCell_ID::SUBCALO>& theCalos,
37 std::vector<CaloSampling::CaloSample>& theSamplings);
44 std::vector<CaloSampling::CaloSample>& theSamplings);
51 static bool getCalos(
const std::vector<CaloSampling::CaloSample>& theSamplings,
52 std::vector<CaloCell_ID::SUBCALO>& theCalos);
55 const static std::map<std::string,CaloSampling::CaloSample>
m_lookUp;
CaloCell_Base_ID::SUBCALO SUBCALO
static const std::string m_unknown
CaloSamplingHelper()=default
static bool getSamplings(const std::vector< CaloCell_ID::SUBCALO > &theCalos, std::vector< CaloSampling::CaloSample > &theSamplings)
Returns a list of samplings enumerators for a list of sub-calos.
static const std::map< std::string, CaloSampling::CaloSample > m_lookUp
static CaloSampling::CaloSample getSamplingId(const std::string &samplingName)
Returns the CaloSampling::CaloSample enumerator value.
static bool getCalos(const std::vector< CaloSampling::CaloSample > &theSamplings, std::vector< CaloCell_ID::SUBCALO > &theCalos)
Returns a list of sub-calos for a list of samplings.
static const std::string & getSamplingName(const CaloSampling::CaloSample theSample)
Returns a string (name) for each CaloSampling.