#include "Vec.hh"
#include "Exception.hh"
#include "TObject.h"
#include <string>
#include <sstream>
#include <iostream>
#include <map>
#include <algorithm>
Go to the source code of this file.
|
struct | Head |
| The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred to as "tags") and values. More...
|
|
◆ splitstring()
std::vector<std::string> splitstring |
( |
const std::string & |
str, |
|
|
char |
delim = ' ' |
|
) |
| |
|
inline |
Split string into separate tokens.
- Parameters
-
str | input string |
delim | token delimiter |
- Returns
- list of tokens
Definition at line 23 of file Head.hh.
31 while (
getline(ss, token, delim))
r.push_back(token);
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Head & |
h |
|
) |
| |
|
inline |
Print header.
- Parameters
-
- Returns
- output stream
Definition at line 321 of file Head.hh.