ATLAS Offline Software
Functions
MuonFeatureDetails.cxx File Reference
#include <sstream>
#include <iomanip>
#include "TrigMuonEvent/MuonFeatureDetails.h"
Include dependency graph for MuonFeatureDetails.cxx:

Go to the source code of this file.

Functions

std::string str_bit (const uint32_t w, const unsigned int n)
 
MsgStream & operator<< (MsgStream &m, const MuonFeatureDetails &d)
 
std::ostream & operator<< (std::ostream &s, const MuonFeatureDetails &d)
 

Function Documentation

◆ operator<<() [1/2]

MsgStream& operator<< ( MsgStream &  m,
const MuonFeatureDetails d 
)

Definition at line 1774 of file MuonFeatureDetails.cxx.

1774  {
1775  m << d.str();
1776  return m;
1777 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  s,
const MuonFeatureDetails d 
)

Definition at line 1779 of file MuonFeatureDetails.cxx.

1779  {
1780  s << d.str();
1781  return s;
1782 }

◆ str_bit()

std::string str_bit ( const uint32_t  w,
const unsigned int  n 
)

Definition at line 1336 of file MuonFeatureDetails.cxx.

1336  {
1337 
1338  int nbit = (n<=32)? n : 32;
1339  std::stringstream ss;
1340 
1341  for(int i=nbit-1;i>=0;--i) ss << ( ((w>>i)&0x1)? 1 : 0 );
1342  //ss << std::endl;
1343 
1344  return ss.str();
1345 }
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
hist_file_dump.d
d
Definition: hist_file_dump.py:137
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200