CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/SurveyAnalysis/src/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 157 of file DTSurvey.cc.

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

                                                               {

  for(int stationCounter = 0; stationCounter < 4; stationCounter++) {
    for(int sectorCounter = 0; sectorCounter < 14; sectorCounter++) {
      if(obj.getChamber(stationCounter,sectorCounter)->getNumberPoints() > 2) {
        const DTSurveyChamber *m_chamber = obj.getChamber(stationCounter, sectorCounter);
        flux << *m_chamber;
      }
    }
  }
  return flux;
}