ATLAS Offline Software
Loading...
Searching...
No Matches
CscCalibDataContainer.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
7#include <iostream>
8
12
17
18
29
30
32std::ostream& operator<<(std::ostream& lhs, const CscCalibDataContainer& rhs) {
33 lhs << "CscDataCollectionContainer has " << rhs.calibData_size() << " CalibData:" << std::endl;
35 SELECTOR sel(&rhs);
36 SELECTOR::const_iterator it = sel.begin();
37 SELECTOR::const_iterator it_end = sel.end();
38 bool first = true;
39 for ( ; it!=it_end;++it) {
40 if ( first ) {
41 first = false;
42 } else {
43 lhs << std::endl;
44 }
45 lhs << " " << *it;
46 }
47 return lhs;
48}
49
std::ostream & operator<<(std::ostream &lhs, const CscCalibDataContainer &rhs)
Output stream - for printing.
uint32_t CLID
The Class ID type.
IdentifiableContainerMT< T > IdentifiableContainer
SelectAllObjectMT< DCC, OBJECT > SelectAllObject
size_type calibData_size() const
content size
CscCalibDataCollection::size_type size_type
type definitions
static const CLID & classID()
IdentifiableContainer is still a DataObject Put CLID here.
CscCalibDataContainer(int maxHash)
constructor
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146