10 #ifndef HERD_CLUSTER_H_ 11 #define HERD_CLUSTER_H_ 45 Cluster(std::vector<Hit> hits,
size_t seedIndex);
54 const std::vector<Hit> &
Hits()
const {
return _hits; }
60 void SetHits(std::vector<Hit> hits,
size_t seedIndex);
size_t _seedHitIndex
Index of the seed channel in the hits vector.
Definition: Cluster.h:104
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
const std::vector< Hit > & Hits() const
Gets the hits forming the cluster.
Definition: Cluster.h:54
Tracker cluster object for transient data model.
Definition: Cluster.h:30
virtual ~Cluster()=default
Virtual destructor.
size_t SeedHitIndex() const
Gets the index of the seed hit within the hits vector.
Definition: Cluster.h:71
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Cluster()
Default constructor.
Definition: Cluster.cpp:16
void SetHits(std::vector< Hit > hits, size_t seedIndex)
Sets the hits forming the cluster.
Definition: Cluster.cpp:23
Point COGPosition(const TrackingDetectorGeoParams &geoParams) const
Get the center of gravity position of the cluster.
Definition: Cluster.cpp:29
std::vector< Hit > _hits
Hits in each channel constituting the cluster.
Definition: Cluster.h:109
void _ComputeEdep()
Update the value of _edep.
Definition: Cluster.cpp:53
bool operator==(const Cluster &right) const
Get the center of gravity position of the fit cluster.
Definition: Cluster.h:98
float _eDep
Deposited energy [GeV].
Definition: Cluster.h:103
Base data structure for single tracking detector layer geometry parameters.
Definition: TrackingDetectorGeoParams.h:28
float EDep() const
Gets the deposited energy associated to the cluster.
Definition: Cluster.h:80