Belle II Software  release-08-01-10
PostMergeUpdaterModule.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/dataobjects/EventExtraInfo.h>
13 #include <mdst/dataobjects/TrackFitResult.h>
14 #include <mdst/dataobjects/Track.h>
15 #include <mdst/dataobjects/ECLCluster.h>
16 
17 #include <framework/datastore/StoreObjPtr.h>
18 #include <framework/datastore/StoreArray.h>
19 #include <TRotation.h>
20 
21 #include <string>
22 
23 namespace Belle2 {
35  class PostMergeUpdaterModule : public Module {
36 
37  public:
38 
43 
47  virtual void initialize() override;
48 
52  virtual void event() override;
53 
54  private:
55 
59  TRotation tag_vertex_rotation();
60 
64  void cluster_rotation(const TRotation& rot);
65 
72  bool m_mixing;
73  bool m_isCharged;
74  };
75 
77 } // Belle2 namespace
78 
Base class for Modules.
Definition: Module.h:72
If the content of two DataStores are merged using the 'MergeDataStoreModule', several kinematic prope...
StoreObjPtr< EventExtraInfo > m_eventExtraInfo_orig
Event extra info original.
TRotation tag_vertex_rotation()
Helper function to determine rotation matrix.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
StoreArray< Track > m_tracks
tracks
void cluster_rotation(const TRotation &rot)
Rotate clusters.
StoreArray< TrackFitResult > m_trackFits
track fits
StoreObjPtr< EventExtraInfo > m_mergedArrayIndices
indices where the StoreArrays were merged
StoreObjPtr< EventExtraInfo > m_eventExtraInfo
Event extra info.
StoreArray< ECLCluster > m_eclclusters
StoreArray of ECLCluster.
bool m_mixing
Fix to common vertex.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.