CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Alignment/SurveyAnalysis/interface/SurveyOutput.h

Go to the documentation of this file.
00001 #ifndef Alignment_SurveyAnalysis_SurveyOutput_h
00002 #define Alignment_SurveyAnalysis_SurveyOutput_h
00003 
00013 #include <vector>
00014 
00015 #include "TFile.h"
00016 
00017 class Alignable;
00018 
00019 class SurveyOutput
00020 {
00021   public:
00022 
00023   SurveyOutput(
00024                const std::vector<Alignable*>&,
00025                const std::string& fileName
00026                );
00027 
00029   void write(
00030              unsigned int iter // iteration number
00031              );
00032 
00033   private:
00034 
00035   const std::vector<Alignable*>& theAlignables;
00036 
00037   TFile theFile;
00038 };
00039 
00040 #endif