Belle II Software  release-05-01-25
TRGGDLCosmicRunModule.h
1 #ifndef TRGGDLCOSMICRUNMODULE_H
2 #define TRGGDLCOSMICRUNMODULE_H
3 
4 #include "framework/core/Module.h"
5 
6 #include <framework/datastore/StoreArray.h>
7 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
8 #include <trg/ecl/dataobjects/TRGECLTrg.h>
9 
10 namespace Belle2 {
21  class TRGGDLCosmicRunModule : public Module {
22 
23  public:
24 
27 
30 
32  virtual void initialize() override;
33 
35  virtual void event() override;
36 
37  protected:
39  std::string m_tsHitCollectionName;
43  bool m_skipECL;
44 
49  };
50 
52 } // namespace Belle2
53 
54 #endif // TRGGDLCOSMICRUNMODULE_H
Belle2::TRGGDLCosmicRunModule::event
virtual void event() override
Check the trigger condition and set return value.
Definition: TRGGDLCosmicRunModule.cc:41
Belle2::TRGGDLCosmicRunModule::m_skipECL
bool m_skipECL
switch for turning off the ECL part
Definition: TRGGDLCosmicRunModule.h:43
Belle2::TRGGDLCosmicRunModule::initialize
virtual void initialize() override
Initialize the module.
Definition: TRGGDLCosmicRunModule.cc:34
Belle2::TRGGDLCosmicRunModule::m_tsHitCollectionName
std::string m_tsHitCollectionName
name of track segment hit list
Definition: TRGGDLCosmicRunModule.h:39
Belle2::TRGGDLCosmicRunModule::~TRGGDLCosmicRunModule
virtual ~TRGGDLCosmicRunModule()
Destructor.
Definition: TRGGDLCosmicRunModule.h:29
Belle2::Module
Base class for Modules.
Definition: Module.h:74
Belle2::TRGGDLCosmicRunModule
Module that returns true if the trigger condition for the 2017 cosmic runs is fulfilled.
Definition: TRGGDLCosmicRunModule.h:21
Belle2::TRGGDLCosmicRunModule::m_tchit
StoreArray< TRGECLTrg > m_tchit
list of ECL trigger hits
Definition: TRGGDLCosmicRunModule.h:48
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGGDLCosmicRunModule::m_backToBack
bool m_backToBack
switch for back-to-back condition
Definition: TRGGDLCosmicRunModule.h:41
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::TRGGDLCosmicRunModule::m_segmentHits
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of track segment hits
Definition: TRGGDLCosmicRunModule.h:46
Belle2::TRGGDLCosmicRunModule::TRGGDLCosmicRunModule
TRGGDLCosmicRunModule()
Constructor, for setting module description and parameters.
Definition: TRGGDLCosmicRunModule.cc:10