Belle II Software development
CDCDedxHitSaverModule.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#pragma once
10
11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13#include <mdst/dataobjects/Track.h>
14#include <tracking/dataobjects/RecoTrack.h>
15#include <cdc/dataobjects/CDCDedxHit.h>
16
17
18namespace Belle2 {
23
28
29 public:
30
33
35 ~CDCDedxHitSaverModule() override;
36
38 virtual void initialize() override;
39
41 virtual void event() override;
42
43 private:
44
48
49 };
50
52} // Belle2 namespace
StoreArray< Track > m_tracks
required collection of tracks
StoreArray< RecoTrack > m_recoTracks
required collection of reco tracks
StoreArray< CDCDedxHit > m_hits
output collection of hits
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
~CDCDedxHitSaverModule() override
Destructor.
CDCDedxHitSaverModule()
Default constructor.
virtual void initialize() override
Initialize the module.
virtual void event() override
This method is called for each event.
Abstract base class for different kinds of events.