Belle II Software  release-08-01-10
TRGGDLCosmicRunModule.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 TRGGDLCOSMICRUNMODULE_H
9 #define TRGGDLCOSMICRUNMODULE_H
10 
11 #include "framework/core/Module.h"
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
15 #include <trg/ecl/dataobjects/TRGECLTrg.h>
16 
17 namespace Belle2 {
28  class TRGGDLCosmicRunModule : public Module {
29 
30  public:
31 
34 
37 
39  virtual void initialize() override;
40 
42  virtual void event() override;
43 
44  protected:
46  std::string m_tsHitCollectionName;
50  bool m_skipECL;
51 
56  };
57 
59 } // namespace Belle2
60 
61 #endif // TRGGDLCOSMICRUNMODULE_H
Base class for Modules.
Definition: Module.h:72
Module that returns true if the trigger condition for the 2017 cosmic runs is fulfilled.
StoreArray< TRGECLTrg > m_tchit
list of ECL trigger hits
virtual void initialize() override
Initialize the module.
virtual void event() override
Check the trigger condition and set return value.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of track segment hits
bool m_skipECL
switch for turning off the ECL part
std::string m_tsHitCollectionName
name of track segment hit list
virtual ~TRGGDLCosmicRunModule()
Destructor.
TRGGDLCosmicRunModule()
Constructor, for setting module description and parameters.
bool m_backToBack
switch for back-to-back condition
Abstract base class for different kinds of events.