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 
6 #include <string>
7 #include <Rtypes.h>
8 #include <memory>
9 
10 namespace edm {
11  class ParameterSet;
12  class ActivityRegistry;
13  class Run;
14  class Event;
15  class EventSetup;
16 } // namespace edm
17 
18 class FWFFNavigator;
20 
21 namespace fireworks {
22  class Context;
23 }
24 
25 class TEveManager;
26 class TEveElement;
27 class TEveMagField;
28 class TEveTrackPropagator;
29 class TRint;
30 
31 class FWFFService : public CmsShowMainBase {
32 public:
34  ~FWFFService() override;
35 
36  // ---------- const member functions ---------------------
37 
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41 
42  void postBeginJob();
43  void postEndJob();
44 
45  void postBeginRun(const edm::Run&, const edm::EventSetup&);
46 
47  void postProcessEvent(const edm::Event&, const edm::EventSetup&);
48 
49  void display(const std::string& info = "");
50 
51  TEveMagField* getMagField();
52  void setupFieldForPropagator(TEveTrackPropagator* prop);
53 
54  void checkPosition() override;
55  void stopPlaying() override {}
56  void autoLoadNewEvent() override {}
57 
58  void quit() override;
59 
60 private:
61  FWFFService(const FWFFService&) = delete; // stop default
62  const FWFFService& operator=(const FWFFService&) = delete; // stop default
63 
64  // ---------- member data --------------------------------
65 
66  std::unique_ptr<FWFFNavigator> m_navigator;
67  std::unique_ptr<FWFFMetadataManager> m_metadataManager;
68  std::unique_ptr<fireworks::Context> m_context;
69 
71  TEveManager* m_EveManager;
72  TRint* m_Rint;
73 
74  TEveMagField* m_MagField;
75 
79 };
80 
81 #endif
FWFFService::m_Rint
TRint * m_Rint
Definition: FWFFService.h:72
FWFFService
Definition: FWFFService.h:31
FWFFService::postEndJob
void postEndJob()
Definition: FWFFService.cc:190
FWFFService::FWFFService
FWFFService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition: FWFFService.cc:100
FWFFService::m_metadataManager
std::unique_ptr< FWFFMetadataManager > m_metadataManager
Definition: FWFFService.h:67
ActivityRegistry
FWFFService::m_ShowEvent
bool m_ShowEvent
Definition: FWFFService.h:77
FWFFService::postProcessEvent
void postProcessEvent(const edm::Event &, const edm::EventSetup &)
Definition: FWFFService.cc:260
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
FWFFService::postBeginRun
void postBeginRun(const edm::Run &, const edm::EventSetup &)
Definition: FWFFService.cc:214
FWFFService::postBeginJob
void postBeginJob()
Definition: FWFFService.cc:174
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
CmsShowMainBase.h
Context
FWFFHelper
Definition: FWFFHelper.h:11
FWFFService::m_navigator
std::unique_ptr< FWFFNavigator > m_navigator
Definition: FWFFService.h:66
FWFFService::m_context
std::unique_ptr< fireworks::Context > m_context
Definition: FWFFService.h:68
CmsShowMainBase
Definition: CmsShowMainBase.h:49
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
Event
FWFFService::quit
void quit() override
Definition: FWFFService.cc:290
FWFFHelper.h
FWFFService::~FWFFService
~FWFFService() override
Definition: FWFFService.cc:164
edm::ParameterSet
Definition: ParameterSet.h:47
FWFFService::setupFieldForPropagator
void setupFieldForPropagator(TEveTrackPropagator *prop)
Definition: FWFFService.cc:288
ParameterSet
Definition: Functions.h:16
FWFFService::m_AllowStep
bool m_AllowStep
Definition: FWFFService.h:76
FWFFService::m_MagField
TEveMagField * m_MagField
Definition: FWFFService.h:74
FWFFService::operator=
const FWFFService & operator=(const FWFFService &)=delete
FWFFService::getMagField
TEveMagField * getMagField()
Definition: FWFFService.cc:286
edm::EventSetup
Definition: EventSetup.h:58
FWFFNavigator
Definition: FWFFNavigator.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWFFService::autoLoadNewEvent
void autoLoadNewEvent() override
Definition: FWFFService.h:56
FWFFService::display
void display(const std::string &info="")
Definition: FWFFService.cc:272
FWFFMetadataManager
Definition: FWFFMetadataManager.h:11
FWFFService::m_EveManager
TEveManager * m_EveManager
Definition: FWFFService.h:71
FWFFService::m_firstTime
bool m_firstTime
Definition: FWFFService.h:78
FWFFService::stopPlaying
void stopPlaying() override
Definition: FWFFService.h:55
EventSetup
fireworks
Definition: FWTauProxyBuilderBase.h:35
FWFFService::m_appHelper
FWFFHelper m_appHelper
Definition: FWFFService.h:70
edm::Event
Definition: Event.h:73
FWFFService::checkPosition
void checkPosition() override
Definition: FWFFService.cc:196
Run