test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~FWFFService();
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  virtual void checkPosition();
59  virtual void stopPlaying() {}
60  virtual void autoLoadNewEvent() {}
61 
62  void quit();
63 private:
64  FWFFService(const FWFFService&); // stop default
65  const FWFFService& operator=(const FWFFService&); // stop default
66 
67  // ---------- member data --------------------------------
68 
69  std::auto_ptr<FWFFNavigator> m_navigator;
70  std::auto_ptr<FWFFMetadataManager> m_metadataManager;
71  std::auto_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
virtual void autoLoadNewEvent()
Definition: FWFFService.h:60
void postBeginJob()
Definition: FWFFService.cc:194
std::auto_ptr< FWFFNavigator > m_navigator
Definition: FWFFService.h:69
static const TGPicture * info(bool iBackgroundIsBlack)
TRint * m_Rint
Definition: FWFFService.h:75
FWFFService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition: FWFFService.cc:112
void postProcessEvent(const edm::Event &, const edm::EventSetup &)
Definition: FWFFService.cc:294
void postBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: FWFFService.cc:241
bool m_ShowEvent
Definition: FWFFService.h:81
virtual ~FWFFService()
Definition: FWFFService.cc:181
void setupFieldForPropagator(TEveTrackPropagator *prop)
Definition: FWFFService.cc:331
bool m_AllowStep
Definition: FWFFService.h:80
const FWFFService & operator=(const FWFFService &)
TEveMagField * getMagField()
Definition: FWFFService.cc:325
TEveMagField * m_MagField
Definition: FWFFService.h:77
TEveManager * m_EveManager
Definition: FWFFService.h:74
std::auto_ptr< FWFFMetadataManager > m_metadataManager
Definition: FWFFService.h:70
void display(const std::string &info="")
Definition: FWFFService.cc:308
virtual void stopPlaying()
Definition: FWFFService.h:59
FWFFHelper m_appHelper
Definition: FWFFService.h:73
std::auto_ptr< fireworks::Context > m_context
Definition: FWFFService.h:71
void postEndJob()
Definition: FWFFService.cc:212
virtual void checkPosition()
Definition: FWFFService.cc:220
Definition: Run.h:41
bool m_firstTime
Definition: FWFFService.h:82