Skip to content
Snippets Groups Projects
Commit 5d4ea9da authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

RichDecodedData: Use boost small vector instead of static

Needed to support use of generating more than one pixel per channel,
useful for granularity studies, which means a PMT could end up with
more than 64 hits.
parent c28113d0
No related branches found
No related tags found
1 merge request!4337Misc. improvements to support RICH 4D Reco
......@@ -34,6 +34,7 @@
// Boost
#include <boost/container/static_vector.hpp>
#include <boost/container/small_vector.hpp>
/// New DAQ namespace
namespace Rich::Future::DAQ {
......@@ -48,7 +49,9 @@ namespace Rich::Future::DAQ {
public:
/// SmartIDs container type
using SmartIDs = boost::container::static_vector<LHCb::RichSmartID, LHCb::RichSmartID::MaPMT::TotalPixels>;
//using SmartIDs = boost::container::static_vector<LHCb::RichSmartID, LHCb::RichSmartID::MaPMT::TotalPixels>;
// For upgrade studies need to allow more than nominal maximum pixels
using SmartIDs = boost::container::small_vector<LHCb::RichSmartID, LHCb::RichSmartID::MaPMT::TotalPixels>;
public:
/// Constructor from PD data bank information
......
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