Skip to content
Snippets Groups Projects
Commit 91040ae5 authored by Paula Herrero Gascon's avatar Paula Herrero Gascon
Browse files

Adding muon hits in PrHits

parent edeecc50
No related branches found
No related tags found
1 merge request!3692Include Muon hits in PrKM
This commit is part of merge request !3692. Comments created here will be created in the context of that merge request.
......@@ -14,6 +14,7 @@
#include "PrSciFiHits.h"
#include "PrUTHits.h"
#include "PrVeloHits.h"
#include "MuonDAQ/MuonHitContainer.h"
#include <tuple>
......@@ -26,7 +27,7 @@ namespace LHCb::Pr {
VP,
UT,
FT,
// TODO: Muon
Muon,
};
template <HitType T>
......@@ -64,6 +65,11 @@ namespace LHCb::Pr {
// inherit constructors
using FT::details::Hits::Hits;
};
template <>
struct Hits<HitType::Muon> : MuonHitContainer {
// inherit constructors
using MuonHitContainer::hits;
};
// simply a convenient wrapper around std::get
template <HitType Type, HitType... Types>
......
......@@ -23,7 +23,7 @@ namespace MuonHitContainerLocation {
inline const std::string Default = "Muon/MuonHits";
}
class MuonHitContainer final {
class MuonHitContainer {
public:
MuonHitContainer( std::array<CommonMuonStation, 4> stations ) : m_stations( std::move( stations ) ) {}
MuonHitContainer( std::array<CommonMuonStation, 5> stations ) { // TODO: this should not be called in upgrade
......
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