ATLAS Offline Software
Loading...
Searching...
No Matches
PixelID.cxx File Reference
#include "InDetIdentifier/PixelID.h"
#include "PixelOutputFormatting.h"
#include "IdDict/IdDictDictionary.h"
#include "IdDict/IdDictField.h"
#include "IdDict/IdDictMgr.h"
#include "IdDict/IdDictRegion.h"
#include "Identifier/IdentifierHash.h"
#include "Identifier/RangeIterator.h"
#include "Identifier/IdContext.h"
#include <set>
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Functions

std::string formatOutput (std::string_view title, const IdDictFieldImplementation &idDictFieldImp)

Function Documentation

◆ formatOutput()

std::string InDetIdentifierPkg::formatOutput ( std::string_view title,
const IdDictFieldImplementation & idDictFieldImp )

Definition at line 13 of file PixelOutputFormatting.cxx.

13 {
14 std::ostringstream os;
15 os<< title <<" "<< idDictFieldImp.decode_index() << " "
16 << (std::string) idDictFieldImp.ored_field() << " "
17 << std::hex << idDictFieldImp.mask() << " "
18 << idDictFieldImp.zeroing_mask() << " "
19 << std::dec << idDictFieldImp.shift()
20 << " " << idDictFieldImp.bits() << " " << idDictFieldImp.bits_offset() << " ";
21 return os.str();
22 }
const Range::field & ored_field() const