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 <framework/datastore/RelationsObject.h>
12#include "Math/Vector3D.h"
13
14namespace Belle2 {
22 public:
25 m_houghspace(std::vector<ROOT::Math::XYZVector>()), m_ndreadout(std::vector<ROOT::Math::XYZVector>()) { }
26
28 CDCTrigger3DFinderInfo(std::vector<ROOT::Math::XYZVector>& houghspace, std::vector<ROOT::Math::XYZVector>& ndreadout):
29 m_houghspace(houghspace), m_ndreadout(ndreadout) { }
30
33
35 std::vector<ROOT::Math::XYZVector> getHoughSpace() const { return m_houghspace; }
36
37 std::vector<ROOT::Math::XYZVector> getNDReadout() const { return m_ndreadout; }
38
39 // setters
41 void setInfoInts(std::vector<ROOT::Math::XYZVector> houghspace, std::vector<ROOT::Math::XYZVector> ndreadout)
42 {
43 m_houghspace = houghspace;
44 m_ndreadout = ndreadout;
45 }
46
47 protected:
48
50 std::vector<ROOT::Math::XYZVector> m_houghspace = {};
51
53 std::vector<ROOT::Math::XYZVector> m_ndreadout = {};
54
57 };
59}
Extra info created by the 3D finder of the CDC trigger.
CDCTrigger3DFinderInfo(std::vector< ROOT::Math::XYZVector > &houghspace, std::vector< ROOT::Math::XYZVector > &ndreadout)
constructor with arguments
CDCTrigger3DFinderInfo()
default constructor
~CDCTrigger3DFinderInfo()
destructor, empty because we don't allocate memory anywhere.
ClassDef(CDCTrigger3DFinderInfo, 1)
Needed to make the ROOT object storable.
std::vector< ROOT::Math::XYZVector > m_houghspace
list of hough space weights
std::vector< ROOT::Math::XYZVector > getHoughSpace() const
get list of cell member indices
void setInfoInts(std::vector< ROOT::Math::XYZVector > houghspace, std::vector< ROOT::Math::XYZVector > ndreadout)
set int values
std::vector< ROOT::Math::XYZVector > m_ndreadout
list of cell indices of all cluster
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.
STL namespace.