ATLAS Offline Software
Loading...
Searching...
No Matches
LumiBlockCollection.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// LumiBlockCollection.cxx
7// Implementation file for class LumiBlockCollection
8// Author: Marjorie Shapiro <mdshapiro@lbl.gov>
10
11// STL includes
12
13// LumiBlockCollection include
15
19
23
25
28
30 {
31 if ( this != &rhs ) {
33 }
34 return *this;
35 }
36
40
42// Destructor
44
48 std::ostream& LumiBlockCollection::dump( std::ostream& out ) const
49 {
50 out << " Dump of LumiBlockCollection with size: " << this->size()
51 << " has the following (run,lumiblock) ranges: "
52 << std::endl;
54 for(it=begin(); it!=end(); ++it) {
55 out << "\t [ ("
56 << (*it)->start().run() << "," << (*it)->start().event()
57 << "):("
58 << (*it)->stop().run() << "," << (*it)->stop().event()
59 << ") eventsSeen = " << (*it)->getNumSeen()
60 << ", eventsExpected = " << (*it)->getNumExpected()
61 << " ]"
62 << std::endl;
63 }
64 return out;
65 }
66
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
const_iterator end() const noexcept
const_iterator begin() const noexcept
size_type size() const noexcept
DataVector & operator=(const DataVector &rhs)
Assignment operator.
std::ostream & dump(std::ostream &out=std::cout) const
Const methods:
LumiBlockCollection()
Public methods:
LumiBlockCollection & operator=(const LumiBlockCollection &rhs)
Forward declaration.
OwnershipPolicy