CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SurveyInputBase.h
Go to the documentation of this file.
1 #ifndef Alignment_SurveyAnalysis_SurveyInputBase_h
2 #define Alignment_SurveyAnalysis_SurveyInputBase_h
3 
14 
15 class Alignable;
16 
18 public:
19  ~SurveyInputBase() override;
20 
22  void beginJob() override { theFirstEvent = true; }
23 
25  void analyze(const edm::Event&, const edm::EventSetup&) override = 0;
26 
28  inline static Alignable* detector();
29 
32  static void addComponent(Alignable*);
33 
34 protected:
36 
37 private:
38  static Alignable* theDetector; // only one detector
39 };
40 
42 
43 #endif
static Alignable * theDetector
void analyze(const edm::Event &, const edm::EventSetup &) override=0
Do nothing for each event.
static void addComponent(Alignable *)
static Alignable * detector()
Get alignable detector as read from input.
void beginJob() override
Read data from input.
~SurveyInputBase() override