23 std::vector<RecoFP420> temporary;
27 std::cout <<
" !!!!!!!!!!!!!!!! RecoCollectionFP420:: !!!! put !!!! start " << std::endl;
29 for ( ;sort_begin != sort_end; ++sort_begin ) {
31 std::cout <<
"put: temporary.push_back " << std::endl;
33 temporary.push_back(*sort_begin);
35 std::sort(temporary.begin(),temporary.end());
41 container_.push_back(*begin);
43 inputRange.first = container_.size()-1;
50 if(container_.size() != 0) {
51 inputRange.second = container_.size()-1;
54 inputRange.first = container_.size();
55 inputRange.second = container_.size();
62 std::cout <<
"put: container_.size() = " << container_.size() << std::endl;
63 std::cout <<
"put: inputRange.first = " << inputRange.first << std::endl;
64 std::cout <<
"put: inputRange.second = " << inputRange.second << std::endl;
76 std::cout <<
"RecoCollectionFP420::get:stationID= " << stationID << std::endl;
81 std::cout <<
"RecoCollectionFP420::get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
82 std::cout <<
"RecoCollectionFP420::get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
86 returnRange.first = container_.begin()+returnIndexRange.first;
87 if(returnIndexRange.second != 0 ) {
88 returnRange.second = container_.begin()+returnIndexRange.second+1;
90 returnRange.second = container_.begin()+returnIndexRange.second;
93 std::cout <<
"RecoCollectionFP420::get2: container_.size() = " << container_.size() << std::endl;
94 std::cout <<
"RecoCollectionFP420::get2: returnIndexRange.first= " << returnIndexRange.first << std::endl;
95 std::cout <<
"RecoCollectionFP420::get2: returnIndexRange.second= " << returnIndexRange.second << std::endl;
109 std::vector<RecoFP420> temporary;
112 for ( ;sort_begin != sort_end; ++sort_begin ) {
113 temporary.push_back(*sort_begin);
115 std::sort(temporary.begin(),temporary.end());
121 container_.push_back(*begin);
124 inputRange.first = container_.size()-container_.size();
125 inputRange.second = container_.size()-container_.size();
128 std::cout <<
"putclear: container_.size() = " << container_.size() << std::endl;
129 std::cout <<
"putclear: inputRange.first = " << inputRange.first << std::endl;
130 std::cout <<
"putclear: inputRange.second = " << inputRange.second << std::endl;
146 std::cout <<
"RecoCollectionFP420::stationIDs:start " << std::endl;
151 std::vector<unsigned int>
output;
154 output.push_back(begin->first);
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
std::vector< RecoFP420 >::const_iterator ContainerIterator
const Range get(unsigned int stationID) const
const std::vector< unsigned int > stationIDs() const
void putclear(Range input, unsigned int stationID)
void put(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
inputRange
Get input source.
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator