|
Crombie Tools
|
Stores the lumi and run as a map to ranges. More...
#include <Lumi.h>
Public Member Functions | |
| void | add (unsigned long run, std::pair< unsigned, unsigned > lumi) |
| Add a lumi range to this object. More... | |
| void | add (unsigned long run, unsigned lumi) |
| Add a single run, lumi to this object. More... | |
| void | add (const LumiSelection &other) |
| Merge other LumiSelection objects into this one. More... | |
Private Attributes | |
| std::map< unsigned long, std::list< std::pair< unsigned, unsigned > > > | store |
| A store that is kept in order and merges lumis in. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const LumiSelection &selection) |
| void crombie::Lumi::LumiSelection::add | ( | unsigned long | run, |
| std::pair< unsigned, unsigned > | lumi | ||
| ) |
Add a lumi range to this object.
Definition at line 78 of file Lumi.h.
References oldmaketree::after, Debug::Debug(), and store.
Referenced by add(), crombie::Lumi::Merge(), and crombie::Lumi::SingleRunner().
| void crombie::Lumi::LumiSelection::add | ( | unsigned long | run, |
| unsigned | lumi | ||
| ) |
| void crombie::Lumi::LumiSelection::add | ( | const LumiSelection & | other | ) |
Merge other LumiSelection objects into this one.
|
friend |
|
private |
A store that is kept in order and merges lumis in.
Definition at line 29 of file Lumi.h.
Referenced by add(), and crombie::Lumi::operator<<().