|
ATLAS Offline Software
|
Go to the documentation of this file.
25 std::cerr <<
"Error: could not open " <<
m_fileName << std::endl;
43 std::vector<std::string>
row;
47 std::cout <<
"End of file reached." << std::endl;
68 std::vector<std::string> strVec;
69 std::string tmpString;
70 size_t stringLength,
i;
72 stringLength = inputString.length();
76 while(
i<stringLength) {
79 while(inputString[
i] ==
' ' ||
80 inputString[
i] ==
'\t') {
82 if(
i >= stringLength)
break;
85 if(
i>=stringLength)
continue;
89 while(inputString[
i] !=
' ' &&
90 inputString[
i] !=
'\t' &&
91 inputString[
i] !=
'#') {
92 tmpString.push_back(inputString[
i]);
94 if(
i >= stringLength)
break;
98 if(tmpString.length() > 0) {
99 strVec.push_back(tmpString);
103 if(
i < stringLength) {
104 if(inputString[
i] ==
'#')
break;
115 std::istringstream inStr(inputString);
124 std::istringstream inStr(inputString);
125 inStr >> doubleValue;
std::unique_ptr< TFile > m_file
description: this is a custom writer for the old-school drivers that don't use an actual writer