Belle II Software  release-08-01-10
CDCTriggerTrackCombinerModule.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 CDCTRIGGERTRACKCOMBINERModule_H
9 #define CDCTRIGGERTRACKCOMBINERModule_H
10 
11 #include "framework/core/Module.h"
12 #include <string>
13 
14 #include <framework/datastore/StoreArray.h>
15 #include <trg/cdc/dataobjects/CDCTriggerTrack.h>
16 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
17 
18 namespace Belle2 {
29 
30  public:
31 
34 
37 
39  virtual void initialize() override;
40 
42  virtual void event() override;
43 
44  protected:
52  std::string m_neuroCollectionName;
56  std::string m_hitCollectionName;
58  std::string m_thetaDefinition;
60  std::string m_zDefinition;
61 
62  private:
69  };
70 
72 } // namespace Belle2
73 
74 #endif // CDCTriggerTrackCombinerModule_H
Module to combine the information from the various track trigger stages.
StoreArray< CDCTriggerTrack > m_tracks2Dfinder
list of 2D finder tracks (all others are obtained via relations)
std::string m_zDefinition
defines how to calculate z0 of the combined track
std::string m_thetaDefinition
defines how to calculate cot(theta) of the combined track
std::string m_3DfitterCollectionName
name of the 3D fitter track list
virtual void initialize() override
Initialize the module and register DataStore arrays.
virtual void event() override
Combine tracks.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of track segment hits
std::string m_outputCollectionName
name of the output track list for the combined tracks
std::string m_neuroCollectionName
name of the neuro track list
CDCTriggerTrackCombinerModule()
Constructor, for setting module description and parameters.
std::string m_2DfinderCollectionName
name of the 2D finder track list
StoreArray< CDCTriggerTrack > m_tracksCombined
list of combined output tracks
std::string m_2DfitterCollectionName
name of the 2D fitter track list
std::string m_hitCollectionName
name of track segment hit list (for relations)
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.