#include <vector>
#include <map>
#include <string>
#include <functional>
#include <iosfwd>
#include <cmath>
#include "Identifier/Identifier.h"
#include "AthenaKernel/CLASS_DEF.h"
Go to the source code of this file.
◆ operator<<()
Definition at line 39 of file FloatArrayStore.cxx.
40 os <<
store.tag() << std::endl ;
43 std::map<int, std::vector<Identifier> > indextoidentmap ;
45 indextoidentmap[
it.second].push_back(
it.first) ;
47 os << indextoidentmap.size() << std::endl ;
50 for( std::map<
int, std::vector<Identifier> >::const_iterator
it = indextoidentmap.begin() ;
51 it != indextoidentmap.end(); ++
it) {
52 os <<
it->second.size() <<
" " ;
53 for(
auto vit :
it->second)
55 const std::vector<float>&
data =
store[
it->second.front()] ;
◆ operator>>()
Definition at line 64 of file FloatArrayStore.cxx.
70 std::vector<float>
data(0) ;
71 constexpr
int maxLines=2000000;
72 constexpr
int maxSize=2000000;
75 if ((nlines>=0) and (nlines<maxLines)) {
76 for(
int iline = 0; iline <nlines; ++iline) {
85 log << MSG::ERROR <<
"size of identifier is incorrect" <<
endmsg;
91 for(
int i=0; i<size; ++i) is >> (
data[
i]) ;
95 log << MSG::ERROR <<
"size of data is incorrect" <<
endmsg;