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());
48 std::cout <<
"digi put:first inputRange.first = " << inputRange.first << std::endl;
64 std::cout <<
"digi put: inputRange.first = " << inputRange.first << std::endl;
65 std::cout <<
"digi put: inputRange.second = " << inputRange.second << std::endl;
81 std::vector<HDigiFP420> temporary;
84 for ( ;sort_begin != sort_end; ++sort_begin ) {
85 temporary.push_back(*sort_begin);
87 std::sort(temporary.begin(),temporary.end());
101 std::cout <<
"digi putclear: inputRange.first = " << inputRange.first << std::endl;
102 std::cout <<
"digi putclear: inputRange.second = " << inputRange.second << std::endl;
118 std::cout <<
"DigiCollectionFP420::get1:detID= " << detID << std::endl;
128 returnRange.first =
container_.begin()+returnIndexRange.first;
129 if(returnIndexRange.second != 0 ) {
130 returnRange.second =
container_.begin()+returnIndexRange.second+1;
132 returnRange.second =
container_.begin()+returnIndexRange.second;
137 std::cout <<
"digi get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
138 std::cout <<
"digi get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
148 std::cout <<
"DigiCollectionFP420::get :detID= " << detID << std::endl;
153 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
154 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
158 returnRange.first =
container_.begin()+returnIndexRange.first;
159 if(returnIndexRange.second != 0 ) {
160 returnRange.second =
container_.begin()+returnIndexRange.second+1;
162 returnRange.second =
container_.begin()+returnIndexRange.second;
165 std::cout <<
"DigiCollectionFP420::get : container_.size() = " <<
container_.size() << std::endl;
166 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
167 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
185 std::cout <<
"DigiCollectionFP420::detIDs:start " << std::endl;
187 std::vector<unsigned int>
output;
190 output.push_back(begin->first);
200 std::vector<HDigiFP420>& digis ) {
203 std::cout <<
"DigiCollectionFP420::add: det_id= " << det_id << std::endl;
209 copy( digis.begin(), digis.end(), back_inserter(
digiMap_[det_id]) );
216 std::vector<HDigiFP420>& digis )
const {
218 std::cout <<
"DigiCollectionFP420::digis:det_id= " << det_id << std::endl;
222 digis =
found->second;
224 digis = std::vector<HDigiFP420>();
232 det_ids.reserve( static_cast<unsigned int>(
digiMap_.size()) );
234 std::cout <<
"DigiCollectionFP420:: detIDs: digiMap size= " <<
digiMap_.size() << std::endl;
236 HDigiFP420Container::const_iterator iter;
238 det_ids.push_back( iter->first );
inputRange
Get input source.
std::vector< HDigiFP420 >::const_iterator ContainerIterator
const Range get1(unsigned int detID) const
std::pair< unsigned int, unsigned int > IndexRange
void digis(unsigned int &det_id, std::vector< HDigiFP420 > &digis) const
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
const std::vector< unsigned int > detIDs() const
std::vector< HDigiFP420 > container_
const Range get(unsigned int detID) const
tuple size
Write out results.