ATLAS Offline Software
Loading...
Searching...
No Matches
LArCellCollection.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// implementation of LArRawChannelCollection
6
9
10//
13{
14 m_Map[id] = ITPAIR(b,e);
15 return ;
16
17}
18
20 const_iterator& b, const_iterator& e) const
21{
22
23 ID_IT_MAP::const_iterator itPair = m_Map.find(id);
24 if(itPair!=m_Map.end()){
25 // get the begin and end iterator
26 b = (*itPair).second.first;
27 e = (*itPair).second.second;
28 return;
29 }
30
31// can't find it, return end() ;
32
33 b = end();
34 e = end();
35
36 return ;
37}
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
const_iterator end() const noexcept
std::pair< const_iterator, const_iterator > ITPAIR
iterator pair for begin and end
void getTT(const TT_ID &id, const_iterator &b, const_iterator &e) const
get the TriggerTower
void setTT(const TT_ID &id, const_iterator b, const_iterator e)
set the TriggerTower
ID_IT_MAP m_Map
ID to Iterator Map.