8#ifndef CDCTRIGGERHOUGHCLUSTER_H
9#define CDCTRIGGERHOUGHCLUSTER_H
11#include <framework/datastore/RelationsObject.h>
13#include <Math/Vector2D.h>
30 const std::vector<ROOT::Math::XYVector>& cellList):
56 std::vector<ROOT::Math::XYVector>
m_cells = {};
Cluster created by the Hough finder of the CDC trigger.
~CDCTriggerHoughCluster()
destructor, empty because we don't allocate memory anywhere.
ClassDef(CDCTriggerHoughCluster, 2)
Needed to make the ROOT object storable.
std::vector< ROOT::Math::XYVector > getCells() const
get list of cell indices
ROOT::Math::XYVector getCornerBL() const
get left bottom corner
int m_ymax
y index of top boundary cell
int m_xmax
x index of right boundary cell
CDCTriggerHoughCluster(int x1, int x2, int y1, int y2, const std::vector< ROOT::Math::XYVector > &cellList)
constructor with arguments
int m_xmin
x index of left boundary cell
int m_ymin
y index of bottom boundary cell
ROOT::Math::XYVector getClusterArea() const
get size of bounding rectangle of cluster
ROOT::Math::XYVector getCornerTR() const
get top right corner
CDCTriggerHoughCluster()
default constructor
std::vector< ROOT::Math::XYVector > m_cells
list of cell indices in the cluster
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.