12#ifndef O2_MCH_RAW_ELECMAP_MAPPER_H
13#define O2_MCH_RAW_ELECMAP_MAPPER_H
20#include <fmt/format.h>
unsigned short int uint16_t
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
A DsDetId is just a pair (detection element id, dual sampa id)
std::optional< uint16_t > solarIndex2Id(uint16_t solarIndex)
std::array< int, 2 > deIdsOfCH1L
std::array< int, 9 > deIdsOfCH5L
std::array< int, 2 > deIdsOfCH2L
std::array< int, 9 > deIdsOfCH6R
std::array< int, 2 > deIdsOfCH3R
std::array< int, 2 > deIdsOfCH1R
std::array< int, 9 > deIdsOfCH5R
std::function< std::optional< DsDetId >(DsElecId)> Elec2DetMapper
std::array< int, 13 > deIdsOfCH7R
std::array< int, 13 > deIdsOfCH8R
std::optional< uint16_t > solarId2Index(uint16_t solarId)
std::array< int, 9 > deIdsOfCH6L
std::set< DsElecId > getAllDs()
std::array< int, 2 > deIdsOfCH3L
Solar2FeeLinkMapper createSolar2FeeLinkMapper()
std::set< DsDetId > getDualSampasPerFeeId(uint16_t feeId)
List of Dual Sampa handled by a given FeeId.
std::array< int, 2 > deIdsOfCH2R
std::vector< std::string > solar2FeeLinkConsistencyCheck()
std::set< DsDetId > getDualSampas(uint16_t solarId)
List of Dual Sampa handled by a given Solar.
FeeLink2SolarMapper createFeeLink2SolarMapper()
Det2ElecMapper createDet2ElecMapper()
std::function< std::optional< DsElecId >(DsDetId id)> Det2ElecMapper
From (deId,dsId) to (solarId,groupId,index)
std::array< int, 13 > deIdsOfCH8L
Elec2DetMapper createElec2DetMapper(uint64_t timestamp=0)
std::array< int, 13 > deIdsOfCH10L
std::array< int, 13 > deIdsOfCH9L
std::set< uint16_t > getSolarUIDsPerFeeId(uint16_t feeId)
List of Solar Unique Ids for a given FeeId.
std::array< int, 13 > deIdsOfCH10R
std::array< int, 2 > deIdsOfCH4L
std::function< std::optional< uint16_t >(FeeLinkId id)> FeeLink2SolarMapper
From (feeId,linkId) to solarId.
std::array< int, 13 > deIdsOfCH9R
std::function< std::optional< FeeLinkId >(uint16_t solarId)> Solar2FeeLinkMapper
From solarId to (feeId,linkId)
std::array< int, 2 > deIdsOfCH4R
std::array< int, 13 > deIdsOfCH7L
std::set< uint16_t > getSolarUIDs()
List of Solar Unique Ids for all MCH.
static std::string sCruMap
static std::string sFecMap