14 (
const std::string& t,
const std::string& n,
const IInterface* p)
15 : base_class(t, n, p) {}
23 for(
int ibc = 0; ibc <
BC_ALL; ibc++) {
24 std::ostringstream location;
25 location <<
"TGC_Measurements"
27 << (ibc ==
BC_NEXT ?
"NextBC" :
"");
34 return StatusCode::SUCCESS;
47 auto tgc3BCs =
m_3BCKeys.makeHandles(ctx);
52 uint16_t bcBitMap = 0;
58 if(!handle.isValid()) {
60 return StatusCode::FAILURE;
65 const Identifier channelId = to_copy->identify();
72 std::find_if(collection->
begin(),collection->
end(),[&channelId](
const TgcPrepData* duplicate){
73 return channelId == duplicate->identify();
75 if(duplicateInAllBCs != collection->
end()) {
87 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
value_type push_back(value_type pElem)
DataModel_detail::iterator< DataVector > iterator
const_iterator end() const noexcept
const_iterator begin() const noexcept
size_type size() const noexcept
virtual IdentifierHash identifyHash() const override final
Class to represent TGC measurements.
void setBcBitMap(const uint16_t)
set the bcBitMap for this PRD
uint16_t getBcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
TEMP for testing: might make some classes friends later ...
MuonPrepDataCollection< TgcPrepData > TgcPrepDataCollection