25 std::vector<HDigiFP420> temporary;
29 std::cout <<
" !!!!!!!!!!!!!!!! DigiCollectionFP420:: !!!! put !!!! start detID=" << detID << std::endl;
31 for (; sort_begin != sort_end; ++sort_begin) {
32 temporary.push_back(*sort_begin);
34 std::cout <<
"digi put: temporary.push_back " << std::endl;
37 std::sort(temporary.begin(), temporary.end());
42 for (; begin !=
end; ++begin) {
75 std::vector<HDigiFP420> temporary;
78 for (; sort_begin != sort_end; ++sort_begin) {
79 temporary.push_back(*sort_begin);
81 std::sort(temporary.begin(), temporary.end());
86 for (; begin !=
end; ++begin) {
106 std::cout <<
"DigiCollectionFP420::get1:detID= " << detID << std::endl;
116 returnRange.first =
container_.begin() + returnIndexRange.first;
117 if (returnIndexRange.second != 0) {
118 returnRange.second =
container_.begin() + returnIndexRange.second + 1;
120 returnRange.second =
container_.begin() + returnIndexRange.second;
125 std::cout <<
"digi get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
126 std::cout <<
"digi get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
135 std::cout <<
"DigiCollectionFP420::get :detID= " << detID << std::endl;
140 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
141 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
145 returnRange.first =
container_.begin() + returnIndexRange.first;
146 if (returnIndexRange.second != 0) {
147 returnRange.second =
container_.begin() + returnIndexRange.second + 1;
149 returnRange.second =
container_.begin() + returnIndexRange.second;
152 std::cout <<
"DigiCollectionFP420::get : container_.size() = " <<
container_.size() << std::endl;
153 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
154 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
166 std::cout <<
"DigiCollectionFP420::detIDs:start " << std::endl;
168 std::vector<unsigned int>
output;
170 for (; begin !=
end; ++begin) {
171 output.push_back(begin->first);
181 std::cout <<
"DigiCollectionFP420::add: det_id= " << det_id << std::endl;
195 std::cout <<
"DigiCollectionFP420::digis:det_id= " << det_id << std::endl;
201 digis = std::vector<HDigiFP420>();
209 det_ids.reserve(static_cast<unsigned int>(
digiMap_.size()));
211 std::cout <<
"DigiCollectionFP420:: detIDs: digiMap size= " <<
digiMap_.size() << std::endl;
213 HDigiFP420Container::const_iterator iter;
215 det_ids.push_back(iter->first);
const Range get(unsigned int detID) const
void digis(unsigned int &det_id, std::vector< HDigiFP420 > &digis) const
std::vector< HDigiFP420 >::const_iterator ContainerIterator
const std::vector< unsigned int > detIDs() const
std::pair< unsigned int, unsigned int > IndexRange
static std::string const input
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
void put(Range input, unsigned int detID)
void add(unsigned int &det_id, std::vector< HDigiFP420 > &digis)
void putclear(Range input, unsigned int detID)
HDigiFP420Container digiMap_
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< HDigiFP420 > container_
const Range get1(unsigned int detID) const