CMS 3D CMS Logo

SurveyDBUploader.h
Go to the documentation of this file.
1 #ifndef Alignment_SurveyAnalysis_SurveyDBUploader_h
2 #define Alignment_SurveyAnalysis_SurveyDBUploader_h
3 
21 
22 class Alignable;
23 class Alignments;
24 class AlignTransform;
25 struct SurveyErrors;
26 
30 
31 public:
34 
35  void analyze(const edm::Event&, const edm::EventSetup&) override {}
36 
38  void endJob() override;
39 
40 private:
42  void getSurveyInfo(const Alignable*);
43 
44  std::string theValueRcd; // tag name of survey values record in DB
45  std::string theErrorExtendedRcd; // tag name of survey errors record in DB
46 
47  SurveyValues* theValues; // survey values for all alignables in detector
48  SurveyErrors* theErrors; // survey errors for all alignables in detector
49 };
50 
51 #endif
SurveyValues * theValues
void getSurveyInfo(const Alignable *)
Get survey info of an alignable in the detector.
SurveyErrors * theErrors
void endJob() override
Upload to DB.
std::string theErrorExtendedRcd
AlignTransform SurveyValue
Alignments SurveyValues
SurveyDBUploader(const edm::ParameterSet &)
Set value & error tag names for survey records.
std::string theValueRcd
void analyze(const edm::Event &, const edm::EventSetup &) override