Belle II Software  release-08-01-10
TRGGRLProjectsModule.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 
9 #ifndef TRGGRLProjectsModule_H
10 #define TRGGRLProjectsModule_H
11 
12 #include <string>
13 #include "framework/core/Module.h"
14 #include <trg/grl/dataobjects/TRGGRLInfo.h>
15 #include <framework/database/DBObjPtr.h>
16 #include <mdst/dbobjects/TRGGDLDBInputBits.h>
17 
18 namespace Belle2 {
27 
28  class TRGGRLProjectsModule : public Module {
29 
30  public:
31 
34 // TRGGRLProjectsModule(const std::string & type);
35 
37  virtual ~TRGGRLProjectsModule() {};
38 
40  virtual void initialize() override;
41 
43  virtual void beginRun() override;
44 
46  virtual void event() override;
47 
49  virtual void endRun() override;
50 
52  virtual void terminate() override;
53 
54 
55  public:
56 
58  //std::string version(void) const;
59 
60  private: // Parameters
61 // StoreObjPtr<TRGGRLInfo> m_TRGGRLInfo; /**< output for TRGGRLInfo */
62 
65 
67  std::string m_belle2phase;
68 
70  std::string m_configFilename;
71 
75 
79 
82 
86  std::string m_phimatch_tracklist;
90  std::string m_klmmatch_tracklist;
100  std::string m_grlphotonlist;
101 
103  std::string m_NNCollectionName;
105  std::string m_TrgECLClusterName;
107  std::string m_TrgECLTrgsName;
109  std::string m_KLMTrgSummaryName;
111  std::vector<double> m_energythreshold;
116 
118  //double m_RtD;
119 
121  std::vector<std::string> m_falsebits;
122 
123  };
124 
126 } // namespace Belle2
127 
128 #endif // TRGGRLProjectsModule_H
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
A module to simulate the Global Decision Logic.
std::string m_configFilename
Config. file name.
std::string m_KLMTrgSummaryName
Name of the collection of KLM TRG.
int m_fastSimulationMode
Switch for the fast simulation.
std::string m_TrgECLTrgsName
Name of the StoreArray holding the ecl trg result.
int m_simulationMode
Mode for TRGGRL simulation.
std::string m_2DmatchCollectionName
Name of the StoreArray holding the matched 2D tracks.
std::string m_3DfitterCollectionName
Name of the StoreArray holding the tracks made by the 3D fitter.
int _debugLevel
returns version of TRGGRLProjectsModule.
int m_firmwareSimulationMode
Switch for the firmware simulation. 0:do nothing, 1:do everything.
virtual void initialize() override
Initilizes TRGGRLProjectsModule.
std::string m_TrgECLClusterName
Name of the StoreArray holding the eclclusters.
std::string m_phimatch_tracklist
the matched 2d track list by phi matching
virtual void event() override
Called event by event.
std::vector< std::string > m_falsebits
convert the unit of angle from rad to degree
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
double m_eclClusterTimeWindow
ecl cluster time window to suppress beam induced background
std::string m_belle2phase
choose the corresponding trigger menu of Belle2 phase
virtual void beginRun() override
Called when new run started.
std::string m_2DfinderCollectionName
Name of the StoreArray holding the tracks made by the 2D finder.
DBObjPtr< TRGGDLDBInputBits > m_InputBitsDB
Data base of GDL input bits.
std::string m_NNCollectionName
Name of the StoreArray holding the tracks made by NN.
std::string m_klmmatch_tracklist
the matched 2d track list by KLM matching
std::string m_TrgGrlInformationName
Name of the StoreArray holding projects information from grl.
virtual ~TRGGRLProjectsModule()
Destructor.
std::string m_grlphotonlist
Name of the StoreArray holding projects information from grlphoton.
std::string m_2DfitterCollectionName
Name of the StoreArray holding the tracks made by the 2D fitter.
std::vector< double > m_energythreshold
the collection of energy threshold used in the projects
std::string m_3DmatchCollectionName
Name of the StoreArray holding the matched 3D tracks.
Abstract base class for different kinds of events.