CMS 3D CMS Logo

FWFFService.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWFFService_h
2 #define Fireworks_Core_FWFFService_h
3 
4 
7 #include <string>
8 #include <Rtypes.h>
9 #include <memory>
10 
11 namespace edm
12 {
13  class ParameterSet;
14  class ActivityRegistry;
15  class Run;
16  class Event;
17  class EventSetup;
18 }
19 
20 class FWFFNavigator;
22 
23 namespace fireworks
24 {
25  class Context;
26 }
27 
28 class TEveManager;
29 class TEveElement;
30 class TEveMagField;
31 class TEveTrackPropagator;
32 class TRint;
33 
35 {
36 public:
38  ~FWFFService() override;
39 
40  // ---------- const member functions ---------------------
41 
42  // ---------- static member functions --------------------
43 
44  // ---------- member functions ---------------------------
45 
46  void postBeginJob();
47  void postEndJob();
48 
49  void postBeginRun(const edm::Run&, const edm::EventSetup&);
50 
51  void postProcessEvent(const edm::Event&, const edm::EventSetup&);
52 
53  void display(const std::string& info="");
54 
55  TEveMagField* getMagField();
56  void setupFieldForPropagator(TEveTrackPropagator* prop);
57 
58  void checkPosition() override;
59  void stopPlaying() override {}
60  void autoLoadNewEvent() override {}
61 
62  void quit() override;
63 private:
64  FWFFService(const FWFFService&) = delete; // stop default
65  const FWFFService& operator=(const FWFFService&) = delete; // stop default
66 
67  // ---------- member data --------------------------------
68 
69  std::unique_ptr<FWFFNavigator> m_navigator;
70  std::unique_ptr<FWFFMetadataManager> m_metadataManager;
71  std::unique_ptr<fireworks::Context> m_context;
72 
74  TEveManager *m_EveManager;
75  TRint *m_Rint;
76 
77  TEveMagField *m_MagField;
78 
79 
83 };
84 
85 #endif
static const TGPicture * info(bool iBackgroundIsBlack)
TRint * m_Rint
Definition: FWFFService.h:75
std::unique_ptr< FWFFMetadataManager > m_metadataManager
Definition: FWFFService.h:70
bool m_ShowEvent
Definition: FWFFService.h:81
std::unique_ptr< FWFFNavigator > m_navigator
Definition: FWFFService.h:69
std::unique_ptr< fireworks::Context > m_context
Definition: FWFFService.h:71
bool m_AllowStep
Definition: FWFFService.h:80
void autoLoadNewEvent() override
Definition: FWFFService.h:60
TEveMagField * m_MagField
Definition: FWFFService.h:77
TEveManager * m_EveManager
Definition: FWFFService.h:74
HLT enums.
FWFFHelper m_appHelper
Definition: FWFFService.h:73
void stopPlaying() override
Definition: FWFFService.h:59
Definition: Run.h:44
bool m_firstTime
Definition: FWFFService.h:82