Belle II Software  release-08-01-10
trggdlSummaryModule.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #ifndef TRCGDLSummaryModule_h
9 #define TRCGDLSummaryModule_h
10 
11 #include <trg/gdl/dataobjects/TRGGDLUnpackerStore.h>
12 #include <trg/gdl/modules/trggdlUnpacker/trggdlUnpackerModule.h>
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <mdst/dataobjects/TRGSummary.h>
16 #include <framework/database/DBObjPtr.h>
17 #include <mdst/dbobjects/TRGGDLDBPrescales.h>
18 #include <trg/gdl/dbobjects/TRGGDLDBUnpacker.h>
19 
20 namespace Belle2 {
26  class TRGGDLSummaryModule : public Module {
27 
28  public:
32  virtual ~TRGGDLSummaryModule() {}
33 
34  public:
36  virtual void initialize() override;
38  virtual void beginRun() override {}
40  virtual void event() override;
42  virtual void endRun() override {}
44  virtual void terminate() override {}
45 
46  private:
47 
50  //condition database for unpacer
51  DBObjPtr<TRGGDLDBUnpacker> m_unpacker;
52  //condition database for prescales
53  DBObjPtr<TRGGDLDBPrescales> m_prescales;
54  int LeafBitMap[320] = {0};
55  char LeafNames[320][100] = {{""}};
56  int _e_timtype = 0;
57  int _e_rvcout = 0;
58  int ee_psn[10] = {0};
59  int ee_ftd[10] = {0};
60  int ee_itd[10] = {0};
61 
64 
65  };
66 
68 }
69 
70 #endif
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
virtual void endRun() override
End Run.
virtual void terminate() override
terminate
virtual void initialize() override
initialize
virtual void event() override
Event.
virtual void beginRun() override
begin Run
virtual ~TRGGDLSummaryModule()
Destrunctor.
StoreObjPtr< TRGSummary > GDLResult
output for TRGSummary
Abstract base class for different kinds of events.