CMS 3D CMS Logo

Functions
DTSurvey.cc File Reference
#include <fstream>
#include "Alignment/SurveyAnalysis/interface/DTSurveyChamber.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/DTGeometry/interface/DTGeometry.h"
#include "Geometry/DTGeometry/interface/DTChamber.h"
#include "Alignment/SurveyAnalysis/interface/DTSurvey.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &flux, const DTSurvey &obj)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  flux,
const DTSurvey obj 
)

Definition at line 165 of file DTSurvey.cc.

References DTSurvey::getChamber(), and DTSurveyChamber::getNumberPoints().

165  {
166  for (int stationCounter = 0; stationCounter < 4; stationCounter++) {
167  for (int sectorCounter = 0; sectorCounter < 14; sectorCounter++) {
168  if (obj.getChamber(stationCounter, sectorCounter)->getNumberPoints() > 2) {
169  const DTSurveyChamber *m_chamber = obj.getChamber(stationCounter, sectorCounter);
170  flux << *m_chamber;
171  }
172  }
173  }
174  return flux;
175 }
int getNumberPoints() const
const DTSurveyChamber * getChamber(int, int) const
Definition: DTSurvey.cc:32