Project
Loading...
Searching...
No Matches
ElectronicMapperImplHelper.h File Reference
#include "MCHConstants/DetectionElements.h"
#include "MCHRawElecMap/DsDetId.h"
#include "MCHRawElecMap/DsElecId.h"
#include "MCHRawElecMap/FeeLinkId.h"
#include "MCHRawElecMap/Mapper.h"
#include "dslist.h"
#include <cstdint>
#include <fmt/format.h>
#include <functional>
#include <iostream>
#include <map>
#include <optional>
#include <set>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 
namespace  o2::mch::raw
 
namespace  o2::mch::raw::impl
 

Functions

template<typename T >
std::function< std::optional< o2::mch::raw::DsDetId >(o2::mch::raw::DsElecId)> o2::mch::raw::impl::mapperElec2Det (const std::map< uint32_t, uint32_t > &elec2det)
 
template<typename T >
std::function< std::optional< o2::mch::raw::DsElecId >(o2::mch::raw::DsDetId)> o2::mch::raw::impl::mapperDet2Elec (const std::map< uint32_t, uint32_t > &det2elec)
 
template<typename T >
std::function< std::optional< FeeLinkId >(uint16_t)> o2::mch::raw::impl::mapperSolar2FeeLink (const std::map< uint16_t, uint32_t > &solar2cruLink)
 
template<typename T >
std::function< std::optional< uint16_t >(FeeLinkId)> o2::mch::raw::impl::mapperFeeLink2Solar (const std::map< uint32_t, uint16_t > &cruLink2solar)
 
template<typename KEY , typename VALUE >
std::map< VALUE, KEY > o2::mch::raw::impl::inverseMap (const std::map< KEY, VALUE > &src)
 
template<typename T >
std::set< uint16_t > o2::mch::raw::impl::getSolarUIDs (int deid)
 
template<typename T >
std::set< uint16_t > o2::mch::raw::impl::getSolarUIDs ()
 
template<typename T >
std::set< uint16_t > o2::mch::raw::impl::getSolarUIDsPerFeeId (uint16_t feeid)
 
template<typename T >
std::set< DsDetIdo2::mch::raw::impl::getDualSampasPerFeeId (uint16_t feeId)
 
template<typename T >
std::vector< std::string > o2::mch::raw::impl::solar2FeeLinkConsistencyCheck ()
 
template<typename T >
std::set< DsElecIdo2::mch::raw::impl::getAllDs ()
 
template<typename T >
std::set< DsDetIdo2::mch::raw::impl::getDualSampas (uint16_t solarId)
 
template<typename T >
std::map< uint16_t, uint16_t > o2::mch::raw::impl::generateSolarIndex2IdMap ()
 
template<typename T >
std::optional< uint16_t > o2::mch::raw::impl::solarIndex2Id (uint16_t solarIndex)
 
template<typename T >
std::optional< uint16_t > o2::mch::raw::impl::solarId2Index (uint16_t solarId)