23 std::vector<TrackFP420> temporary;
27 std::cout <<
" !!!!!!!!!!!!!!!! TrackCollectionFP420:: !!!! 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_.empty()) {
51 inputRange.second = container_.size()-1;
54 inputRange.first = container_.size();
55 inputRange.second = container_.size();
61 std::cout <<
"put: container_.size() = " << container_.size() << std::endl;
62 std::cout <<
"put: inputRange.first = " << inputRange.first << std::endl;
63 std::cout <<
"put: inputRange.second = " << inputRange.second << std::endl;
75 std::cout <<
"TrackCollectionFP420::get:stationID= " << stationID << std::endl;
80 std::cout <<
"TrackCollectionFP420::get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
81 std::cout <<
"TrackCollectionFP420::get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
85 returnRange.first = container_.begin()+returnIndexRange.first;
86 if(returnIndexRange.second != 0 ) {
87 returnRange.second = container_.begin()+returnIndexRange.second+1;
89 returnRange.second = container_.begin()+returnIndexRange.second;
92 std::cout <<
"TrackCollectionFP420::get2: container_.size() = " << container_.size() << std::endl;
93 std::cout <<
"TrackCollectionFP420::get2: returnIndexRange.first= " << returnIndexRange.first << std::endl;
94 std::cout <<
"TrackCollectionFP420::get2: returnIndexRange.second= " << returnIndexRange.second << std::endl;
108 std::vector<TrackFP420> temporary;
111 for ( ;sort_begin != sort_end; ++sort_begin ) {
112 temporary.push_back(*sort_begin);
114 std::sort(temporary.begin(),temporary.end());
120 container_.push_back(*begin);
123 inputRange.first = container_.size()-container_.size();
124 inputRange.second = container_.size()-container_.size();
127 std::cout <<
"putclear: container_.size() = " << container_.size() << std::endl;
128 std::cout <<
"putclear: inputRange.first = " << inputRange.first << std::endl;
129 std::cout <<
"putclear: inputRange.second = " << inputRange.second << std::endl;
145 std::cout <<
"TrackCollectionFP420::stationIDs:start " << std::endl;
150 std::vector<unsigned int>
output;
153 output.push_back(begin->first);
void putclear(Range input, unsigned int stationID)
std::pair< unsigned int, unsigned int > IndexRange
const std::vector< unsigned int > stationIDs() const
std::pair< ContainerIterator, ContainerIterator > Range
static std::string const input
std::map< unsigned int, IndexRange >::const_iterator RegistryIterator
std::vector< TrackFP420 >::const_iterator ContainerIterator
const Range get(unsigned int stationID) const
void put(Range input, unsigned int stationID)
inputRange
Get input source.