ATLAS Offline Software
Classes | Namespaces | Functions
MuonTrackSteeringStrategy.h File Reference
#include <bitset>
#include <iostream>
#include <string>
#include <vector>
#include "GaudiKernel/MsgStream.h"
#include "MuonStationIndex/MuonStationIndex.h"
Include dependency graph for MuonTrackSteeringStrategy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Muon::MuonTrackSteeringStrategy
 

Namespaces

 Muon
 This class provides conversion from CSC RDO data to CSC Digits.
 

Functions

std::ostream & operator<< (std::ostream &sl, const Muon::MuonTrackSteeringStrategy &mtss)
 
MsgStream & operator<< (MsgStream &sl, const Muon::MuonTrackSteeringStrategy &mtss)
 

Function Documentation

◆ operator<<() [1/2]

MsgStream& operator<< ( MsgStream &  sl,
const Muon::MuonTrackSteeringStrategy mtss 
)
inline

Definition at line 151 of file MuonTrackSteeringStrategy.h.

151  {
152  sl << "MuonTrackSteeringStrategy " << mtss.getName() << " with options: " << mtss.allOptions() << " with seeds";
153  if (mtss.seeds().size()) {
154  for (unsigned int i = 0; i < mtss.seeds().size(); ++i) { sl << " " << mtss.seeds()[i]; }
155  } else
156  sl << " <none>";
157  sl << " and chambers are: " << std::endl;
158  for (unsigned int i = 0; i < mtss.getAll().size(); ++i) {
159  sl << "\t Step " << i << " : ( ";
160  for (unsigned int j = 0; j < mtss.getCh(i).size() - 1; ++j) sl << mtss.getCh(i)[j] << " , ";
161  if (mtss.getCh(i).size()) sl << mtss.getCh(i)[mtss.getCh(i).size() - 1];
162  sl << " ) " << std::endl;
163  }
164  return sl;
165 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  sl,
const Muon::MuonTrackSteeringStrategy mtss 
)
inline

Definition at line 135 of file MuonTrackSteeringStrategy.h.

135  {
136  sl << "MuonTrackSteeringStrategy " << mtss.getName() << " with options: " << mtss.allOptions() << " with seeds";
137  if (mtss.seeds().size()) {
138  for (unsigned int i = 0; i < mtss.seeds().size(); ++i) { sl << " " << mtss.seeds()[i]; }
139  } else
140  sl << " <none>";
141  sl << " and chambers are: " << std::endl;
142  for (unsigned int i = 0; i < mtss.getAll().size(); ++i) {
143  sl << "\t Step " << i << " : ( ";
144  for (unsigned int j = 0; j < mtss.getCh(i).size() - 1; ++j) sl << mtss.getCh(i)[j] << " , ";
145  if (mtss.getCh(i).size()) sl << mtss.getCh(i)[mtss.getCh(i).size() - 1];
146  sl << " ) " << std::endl;
147  }
148  return sl;
149 }
Muon::MuonTrackSteeringStrategy::getName
const std::string getName() const
Definition: MuonTrackSteeringStrategy.h:64
Muon::MuonTrackSteeringStrategy::getAll
const std::vector< std::vector< MuonStationIndex::ChIndex > > & getAll() const
Definition: MuonTrackSteeringStrategy.h:60
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
Muon::MuonTrackSteeringStrategy::getCh
const std::vector< MuonStationIndex::ChIndex > & getCh(const unsigned int) const
Definition: MuonTrackSteeringStrategy.h:124
lumiFormat.i
int i
Definition: lumiFormat.py:92
Muon::MuonTrackSteeringStrategy::allOptions
std::bitset< Last > allOptions() const
Definition: MuonTrackSteeringStrategy.h:53
Muon::MuonTrackSteeringStrategy::seeds
const std::vector< unsigned int > & seeds() const
Definition: MuonTrackSteeringStrategy.h:67