Skip to content
Snippets Groups Projects
Commit bcf65095 authored by Miroslav Saur's avatar Miroslav Saur
Browse files

Merge branch 'remove-unused-redundant-utrawbankmap' into '2024-patches'

Remove unused (and redundant) UTRawBankMap.h

See merge request !4567
parents 455b8488 70e303bb
No related branches found
No related tags found
2 merge requests!4575Synchronize master branch with 2024-patches,!4567Remove unused (and redundant) UTRawBankMap.h
Pipeline #7411287 passed
......@@ -22,7 +22,6 @@
#include <Kernel/UTDAQBoard.h>
#include <Kernel/UTDAQDefinitions.h>
#include <Kernel/UTDAQID.h>
#include <Kernel/UTRawBankMap.h>
#include <UTDAQ/UTADCWord.h>
#include <UTDAQ/UTHeaderWord.h>
#include <algorithm>
......
......@@ -12,7 +12,6 @@
#include "Event/UTTELL1Data.h"
#include "Kernel/IUTReadoutTool.h"
#include "Kernel/UTDAQDefinitions.h"
#include "Kernel/UTRawBankMap.h"
#include "Kernel/UTTell1Board.h"
#include "Kernel/UTTell1ID.h"
#include "LHCbAlgs/Transformer.h"
......
......@@ -11,7 +11,6 @@
#include "Event/RawBank.h"
#include "Event/UTTELL1Data.h"
#include "Kernel/IUTReadoutTool.h"
#include "Kernel/UTRawBankMap.h"
#include "LHCbAlgs/Transformer.h"
/** @class UTPedestalDecoding UTPedestalDecoding.h
......
......@@ -16,7 +16,6 @@
#include "Event/RawBank.h"
#include "GaudiAlg/GaudiHistoAlg.h"
#include "Kernel/IUTReadoutTool.h"
#include "Kernel/UTRawBankMap.h"
#include "Kernel/UTTell1ID.h"
#include "LHCbAlgs/Consumer.h"
#include <string>
......
......@@ -30,7 +30,6 @@
#include "Kernel/UTDAQDefinitions.h"
#include "Kernel/UTDAQID.h"
#include "Kernel/UTDecoder.h"
#include "Kernel/UTRawBankMap.h"
#include "LHCbAlgs/Transformer.h"
#include "UTDAQ/UTADCWord.h"
#include "UTDAQ/UTDAQHelper.h"
......
/*****************************************************************************\
* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
* *
* This software is distributed under the terms of the GNU General Public *
* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
* *
* In applying this licence, CERN does not waive the privileges and immunities *
* granted to it by virtue of its status as an Intergovernmental Organization *
* or submit itself to any jurisdiction. *
\*****************************************************************************/
#pragma once
/** @namespace UTRawBankMap UTRawBankMap.h SKernel/UTRawBank
*
* Map string to corresponding bank type enum
* @author A. Beiter (based on code by M.Needham)
* @date 2018-09-04
*/
#include "Event/RawBank.h"
#include <string_view>
namespace UTRawBankMap {
inline LHCb::RawBank::BankType stringToType( std::string_view type ) {
// use the Velo as NULL
// clang-format off
return ( type == "UT" ) ? LHCb::RawBank::UT
: ( type == "UTFull" ) ? LHCb::RawBank::UTFull
: ( type == "UTError" ) ? LHCb::RawBank::UTError
: ( type == "UTPedestal" ) ? LHCb::RawBank::UTPedestal
: LHCb::RawBank::Velo;
// clang-format on
}
} // namespace UTRawBankMap
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment