1#include "TrigScint/Event/TrigScintCluster.h"
9 std::cout <<
"TrigScintCluster { "
10 <<
"Energy: " << energy_ <<
", "
11 <<
"Number of hits: " << nHits_ <<
", "
12 <<
"Seed channel " << seed_ <<
", Channel centroid: " << centroid_
14 std::cout <<
" -- Constituent hit channel ids: { ";
15 for (
const auto &idx :
getHitIDs()) std::cout << idx <<
" ";
16 std::cout <<
"}" << std::endl;
Stores cluster information from the trigger scintillator pads.
virtual ~TrigScintCluster()
Class destructor.
void setNHits(int nHits)
The number of hits forming the cluster.
void setEnergy(double energy)
Set the cluster energy.
void Print(Option_t *option="") const
Print a description of this object.
void setCentroid(double centroid)
const std::vector< unsigned int > & getHitIDs() const
Get vector of channel IDs of hits forming the cluster.
void Clear(Option_t *option="")
Reset the TrigScintCluster object.