1 #ifndef __JSUPPORT_JHEADSET__ 
    2 #define __JSUPPORT_JHEADSET__ 
   19 namespace JPP { 
using namespace JSUPPORT; }
 
   28   template<
class JComparator_t = std::less<JHead> >
 
   57       for (JMultipleFileScanner_t::const_iterator i = input.begin(); i != input.end(); ++i) {
 
   68     void put(
const std::string& input)
 
   77       if (p != this->end() && *p == head)
 
   80         this->insert(p, head);
 
   89     const JHead& 
get(
const std::string& input) 
const 
   93       const_iterator p = lower_bound(this->begin(), this->end(), head, 
compare);
 
void put(JMultipleFileScanner_t &input)
Put headers from given list of files. 
 
JHeadSet()
Default constructor. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
Auxiliary class for organising Monte Carlo run headers. 
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header. 
 
void put(const std::string &input)
Put header from given file. 
 
JComparator_t compare
Function object for comparison of headers. 
 
JHeadSet(JMultipleFileScanner_t &input)
Constructor. 
 
Auxiliary base class for list of file names. 
 
Exception for accessing a value in a collection that is outside of its range.