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
Alignable
Definition: Alignable.h:27
SurveyDBUploader::theErrorExtendedRcd
std::string theErrorExtendedRcd
Definition: SurveyDBUploader.h:45
SurveyDBUploader::SurveyValue
AlignTransform SurveyValue
Definition: SurveyDBUploader.h:28
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SurveyErrors
Definition: SurveyErrors.h:19
SurveyDBUploader::SurveyValues
Alignments SurveyValues
Definition: SurveyDBUploader.h:29
SurveyDBUploader::SurveyDBUploader
SurveyDBUploader(const edm::ParameterSet &)
Set value & error tag names for survey records.
Definition: SurveyDBUploader.cc:12
SurveyDBUploader::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SurveyDBUploader.h:35
SurveyDBUploader::theValueRcd
std::string theValueRcd
Definition: SurveyDBUploader.h:44
AlignTransform
Definition: AlignTransform.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SurveyDBUploader::theValues
SurveyValues * theValues
Definition: SurveyDBUploader.h:47
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EventSetup
Definition: EventSetup.h:57
SurveyDBUploader::getSurveyInfo
void getSurveyInfo(const Alignable *)
Get survey info of an alignable in the detector.
Definition: SurveyDBUploader.cc:36
SurveyDBUploader::theErrors
SurveyErrors * theErrors
Definition: SurveyDBUploader.h:48
SurveyDBUploader
Definition: SurveyDBUploader.h:27
edm::Event
Definition: Event.h:73
SurveyDBUploader::endJob
void endJob() override
Upload to DB.
Definition: SurveyDBUploader.cc:18
Alignments
Definition: Alignments.h:10