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;
127 returnRange.first =
container_.begin()+returnIndexRange.first;
128 if(returnIndexRange.second != 0 ) {
129 returnRange.second =
container_.begin()+returnIndexRange.second+1;
131 returnRange.second =
container_.begin()+returnIndexRange.second;
136 std::cout <<
"digi get1: returnIndexRange.first= " << returnIndexRange.first << std::endl;
137 std::cout <<
"digi get1: returnIndexRange.second= " << returnIndexRange.second << std::endl;
147 std::cout <<
"DigiCollectionFP420::get :detID= " << detID << std::endl;
152 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
153 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
157 returnRange.first =
container_.begin()+returnIndexRange.first;
158 if(returnIndexRange.second != 0 ) {
159 returnRange.second =
container_.begin()+returnIndexRange.second+1;
161 returnRange.second =
container_.begin()+returnIndexRange.second;
164 std::cout <<
"DigiCollectionFP420::get : container_.size() = " <<
container_.size() << std::endl;
165 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.first= " << returnIndexRange.first << std::endl;
166 std::cout <<
"DigiCollectionFP420::get : returnIndexRange.second= " << returnIndexRange.second << std::endl;
184 std::cout <<
"DigiCollectionFP420::detIDs:start " << std::endl;
186 std::vector<unsigned int>
output;
189 output.push_back(begin->first);
199 std::vector<HDigiFP420>& digis ) {
202 std::cout <<
"DigiCollectionFP420::add: det_id= " << det_id << std::endl;
208 copy( digis.begin(), digis.end(), back_inserter(
digiMap_[det_id]) );
215 std::vector<HDigiFP420>& digis )
const {
217 std::cout <<
"DigiCollectionFP420::digis:det_id= " << det_id << std::endl;
222 digis = std::vector<HDigiFP420>();
230 det_ids.reserve( static_cast<unsigned int>(
digiMap_.size()) );
232 std::cout <<
"DigiCollectionFP420:: detIDs: digiMap size= " <<
digiMap_.size() << std::endl;
234 HDigiFP420Container::const_iterator iter;
236 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.