Belle II Software  release-08-01-10
CDCTrackingEventLevelMdstInfoFillerModule.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 #pragma once
9 
10 #include <tracking/trackFindingCDC/eventdata/utils/ClassMnemomics.h>
11 
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
13 #include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
14 #include <tracking/trackFindingCDC/findlets/base/FindletModule.h>
15 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <mdst/dataobjects/EventLevelTrackingInfo.h>
18 
19 #include <vector>
20 #include <string>
21 
22 namespace Belle2 {
27  namespace TrackFindingCDC {
32  class CDCTrackingEventLevelMdstInfoFillerFindlet : public Findlet<const CDCWireHit, const CDCSegment2D> {
33  private:
36 
37  public:
39  std::string getDescription() final;
40 
42  void initialize() final;
43 
44  public:
46  void apply(const std::vector<CDCWireHit>& inputWireHits, const std::vector<CDCSegment2D>& inputWireHitSegments) final;
47 
48  private:
51  };
52 
60  public:
63  : FindletModule<CDCTrackingEventLevelMdstInfoFillerFindlet>({"CDCWireHitVector", "CDCSegment2DVector"})
64  {
65  }
66  };
67  }
69 }
Tracking-related info on event-level, for example number of unassigned measurements.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:39
void apply(const std::vector< CDCWireHit > &inputWireHits, const std::vector< CDCSegment2D > &inputWireHitSegments) final
Main method to make the heavy lifting.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
Acccess to the CDCTrackingEventLevelTrackingInfo object in the datastore.
Module interface to the CDCTrackingEventLevelMdstInfoFillerFindlet.
CDCTrackingEventLevelMdstInfoFillerModule()
Constructor setting up the default store array names.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Adapter of a findlet to a module that exposes the parameters of the findlet and manages the IO with t...
Definition: FindletModule.h:30
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.