Belle II Software development
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
17namespace Belle2 {
26
27 public:
28
31
34
36 virtual void initialize() override;
37
39 virtual void event() override;
40
41 protected:
48
53 };
54
56} // namespace Belle2
57
58#endif // TRGGDLCOSMICRUNMODULE_H
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
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.