CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 class SurveyErrors;
26 
28  public edm::EDAnalyzer
29 {
32 
33  public:
34 
37  const edm::ParameterSet&
38  );
39 
40  virtual void analyze(
41  const edm::Event&,
42  const edm::EventSetup&
43  ) {}
44 
46  virtual void endJob();
47 
48  private:
49 
51  void getSurveyInfo(
52  const Alignable*
53  );
54 
55  std::string theValueRcd; // tag name of survey values record in DB
56  std::string theErrorRcd; // tag name of survey errors record in DB
57 
58  SurveyValues* theValues; // survey values for all alignables in detector
59  SurveyErrors* theErrors; // survey errors for all alignables in detector
60 };
61 
62 #endif
SurveyValues * theValues
void getSurveyInfo(const Alignable *)
Get survey info of an alignable in the detector.
virtual void endJob()
Upload to DB.
SurveyErrors * theErrors
std::string theErrorRcd
virtual void analyze(const edm::Event &, const edm::EventSetup &)
AlignTransform SurveyValue
Alignments SurveyValues
SurveyDBUploader(const edm::ParameterSet &)
Set value & error tag names for survey records.
std::string theValueRcd