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 158 of file DTSurvey.cc.

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

158  {
159 
160  for(int stationCounter = 0; stationCounter < 4; stationCounter++) {
161  for(int sectorCounter = 0; sectorCounter < 14; sectorCounter++) {
162  if(obj.getChamber(stationCounter,sectorCounter)->getNumberPoints() > 2) {
163  const DTSurveyChamber *m_chamber = obj.getChamber(stationCounter, sectorCounter);
164  flux << *m_chamber;
165  }
166  }
167  }
168  return flux;
169 }
int getNumberPoints() const
const DTSurveyChamber * getChamber(int, int) const
Definition: DTSurvey.cc:39