1 #ifndef EventFilter_HGCalRawToDigi_HGCalECONDEmulatorInfo_h 2 #define EventFilter_HGCalRawToDigi_HGCalECONDEmulatorInfo_h 11 bool obit,
bool bbit,
bool ebit,
bool tbit,
bool hbit,
bool sbit, std::vector<uint64_t> enabled_channels = {}) {
18 for (
const auto& ch_en : enabled_channels)
19 pois_.emplace_back(ch_en);
24 std::vector<bool> ch_en;
25 for (
const auto& poi :
pois_)
26 ch_en.emplace_back(poi.test(ch_id));
43 std::vector<std::bitset<37> >
pois_;
std::vector< std::bitset< 37 > > pois_
std::bitset< 6 > header_bits_
std::vector< bool > channelsEnabled(size_t ch_id) const
HGCalECONDEmulatorInfo(bool obit, bool bbit, bool ebit, bool tbit, bool hbit, bool sbit, std::vector< uint64_t > enabled_channels={})
HGCalECONDEmulatorInfo()=default
void addChannelsEnable(uint64_t poi)
unsigned long long uint64_t
HGCROCEventRecoStatus eventRecoStatus() const