1#ifndef __JSUPPORT_JHEADSET__ 
    2#define __JSUPPORT_JHEADSET__ 
   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);
 
 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for accessing a value in a collection that is outside of its range.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Support classes and methods for experiment specific I/O.
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
 
Auxiliary class for organising Monte Carlo run headers.
 
JHeadSet()
Default constructor.
 
JHeadSet(JMultipleFileScanner_t &input)
Constructor.
 
JComparator_t compare
Function object for comparison of headers.
 
void put(const std::string &input)
Put header from given file.
 
void put(JMultipleFileScanner_t &input)
Put headers from given list of files.
 
const JHead & get(const std::string &input) const
Get header for given file.
 
Auxiliary base class for list of file names.