ATLAS Offline Software
Classes | Functions
lumiList.h File Reference

standalone implementation of a good lumi block list
More...

#include <iostream>
#include <map>
#include <algorithm>
#include "grl_run.h"
Include dependency graph for lumiList.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lumiList
 

Functions

std::ostream & operator<< (std::ostream &s, const lumiList &ll)
 

Detailed Description

standalone implementation of a good lumi block list

Author
mark sutton
Date
$Id: lumiList.h 780225 2016-10-25 10:04:58Z

Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration

Definition in file lumiList.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const lumiList ll 
)
inline

Definition at line 135 of file lumiList.h.

135  {
136 
137  lumiList::const_iterator itr = ll.begin();
138 
139  s << "lumilist: " << ll.size() << " runs" << "\n";
140 
141  while ( itr!=ll.end() ) {
142 
143  s << "lumiList: run " << itr->first << " range: " << itr->second.first() << "\t- " << itr->second.last() << "\t : size " << itr->second.lbsize() << "\n";
144 
145  ++itr;
146  }
147 
148  return s;
149 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
detail::ll
long long ll
Definition: PrimitiveHelpers.h:46
lumiList::const_iterator
std::map< int, grl_run >::const_iterator const_iterator
Definition: lumiList.h:37