Belle II Software development
CDCTrigger3DFinderInfo.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 <utility>
12#include <framework/datastore/RelationsObject.h>
13#include "Math/Vector3D.h"
14
15namespace Belle2 {
20
22 class CDCTrigger3DFinderInfo : public RelationsObject {
23 public:
24 // Default constructor
25 CDCTrigger3DFinderInfo() = default;
27 CDCTrigger3DFinderInfo(std::vector<ROOT::Math::XYZVector> houghSpace,
28 std::vector<ROOT::Math::XYZVector> readoutCluster)
29 : m_houghSpace(std::move(houghSpace)), m_readoutCluster(std::move(readoutCluster)) {}
30
31 std::vector<ROOT::Math::XYZVector> getHoughSpace() const { return m_houghSpace; }
33 std::vector<ROOT::Math::XYZVector> getClusterReadout() const { return m_readoutCluster; }
34
35 private:
37 std::vector<ROOT::Math::XYZVector> m_houghSpace = {};
39 std::vector<ROOT::Math::XYZVector> m_readoutCluster = {};
41 ClassDef(CDCTrigger3DFinderInfo, 2);
42 };
43
44}
CDCTrigger3DFinderInfo(std::vector< ROOT::Math::XYZVector > houghSpace, std::vector< ROOT::Math::XYZVector > readoutCluster)
Constructor with arguments.
std::vector< ROOT::Math::XYZVector > getClusterReadout() const
Return the cluster readout.
std::vector< ROOT::Math::XYZVector > m_houghSpace
List of the complete Hough space weights.
std::vector< ROOT::Math::XYZVector > getHoughSpace() const
Return the Hough space.
std::vector< ROOT::Math::XYZVector > m_readoutCluster
Includes the peak weight, cluster weights, center of gravity and indices.
ClassDef(CDCTrigger3DFinderInfo, 2)
Needed to make the ROOT object storable.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Abstract base class for different kinds of events.
STL namespace.