CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/SurveyAnalysis/plugins/SurveyDataConverter.h

Go to the documentation of this file.
00001 #ifndef SurveyDataConverter_h
00002 #define SurveyDataConverter_h
00003 
00004 // Package:    SurveyDataConverter
00005 // Class:      SurveyDataConverter
00006 // 
00014 //
00015 // Original Author:  Roberto Covarelli
00016 //         Created:  Fri Jul 14 18:05:49 CEST 2006
00017 // $Id: SurveyDataConverter.h,v 1.3 2007/10/08 16:38:04 cklae Exp $
00018 //
00019 //
00020 
00021 #include "Alignment/SurveyAnalysis/interface/SurveyDataReader.h"
00022 #include "FWCore/Framework/interface/EDAnalyzer.h"
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 
00025 class SurveyDataConverter : public edm::EDAnalyzer
00026 {
00027 
00028   typedef SurveyDataReader::MapType    MapType;
00029   typedef SurveyDataReader::PairType   PairType;
00030   typedef SurveyDataReader::MapTypeOr  MapTypeOr;
00031   typedef SurveyDataReader::PairTypeOr PairTypeOr;
00032         
00033 public:
00034   explicit SurveyDataConverter(const edm::ParameterSet& iConfig);
00035         
00036   virtual void analyze( const edm::Event& iEvent, const edm::EventSetup& iSetup);
00037   virtual void endJob() {};
00038 
00039 private:
00040 
00041   static const int NFILES = 2;
00042   
00043   // void applyAllSurveyInfo( std::vector<Alignable*> alignables, 
00044   //                       const MapType map );
00045   
00046   void applyCoarseSurveyInfo(TrackerAlignment& tr_align);
00047   
00048   void applyFineSurveyInfo(TrackerAlignment& tr_align, const MapType& map);
00049   
00050   void applyAPEs( TrackerAlignment& tr_align );
00051   
00052   edm::ParameterSet theParameterSet;
00053   edm::ParameterSet MisalignScenario;
00054   
00055   //private data members
00056   // AlignableTracker* theAlignableTracker;
00057   bool applyfineinfo, applycoarseinfo, adderrors;
00058 
00059 };
00060 
00061 #endif