ATLAS Offline Software
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 
27  DataVector<LB_IOVRange> (rhs) {}
28 
30  {
31  if ( this != &rhs ) {
33  }
34  return *this;
35  }
36 
39  {}
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
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LumiBlockCollection::operator=
LumiBlockCollection & operator=(const LumiBlockCollection &rhs)
Definition: LumiBlockCollection.cxx:29
skel.it
it
Definition: skel.GENtoEVGEN.py:396
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
LumiBlockCollection.h
LumiBlockCollection::dump
std::ostream & dump(std::ostream &out=std::cout) const
Const methods:
Definition: LumiBlockCollection.cxx:48
DataVector::operator=
DataVector & operator=(const DataVector &rhs)
Assignment operator.
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
LumiBlockCollection::LumiBlockCollection
LumiBlockCollection()
Public methods:
Definition: LumiBlockCollection.cxx:24
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
LumiBlockCollection
Definition: LumiBlockCollection.h:21
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector< LB_IOVRange >::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
LB_IOVRange
Definition: LB_IOVRange.h:16
DataVector< LB_IOVRange >::size
size_type size() const noexcept
Returns the number of elements in the collection.
DataVector< LB_IOVRange >::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.