File indexing completed on 2024-04-06 11:57:23
0001 #ifndef Alignment_SurveyAnalysis_SurveyDBUploader_h
0002 #define Alignment_SurveyAnalysis_SurveyDBUploader_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0021
0022 class Alignable;
0023 class Alignments;
0024 class AlignTransform;
0025 struct SurveyErrors;
0026
0027 class SurveyDBUploader : public edm::one::EDAnalyzer<> {
0028 typedef AlignTransform SurveyValue;
0029 typedef Alignments SurveyValues;
0030
0031 public:
0032
0033 SurveyDBUploader(const edm::ParameterSet&);
0034
0035 void analyze(const edm::Event&, const edm::EventSetup&) override {}
0036
0037
0038 void endJob() override;
0039
0040 private:
0041
0042 void getSurveyInfo(const Alignable*);
0043
0044 std::string theValueRcd;
0045 std::string theErrorExtendedRcd;
0046
0047 SurveyValues* theValues;
0048 SurveyErrors* theErrors;
0049 };
0050
0051 #endif