hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HodoCluster.cxx
Go to the documentation of this file.
1
7#include "HodoCluster.h"
8
15
16void HodoCluster::Clear(Option_t* /*option*/) {
17 TObject::Clear();
18 hits_->Delete();
19 n_hits_ = 0;
20}
21
22void HodoCluster::addHit(TObject* hit) {
23 ++n_hits_;
24 hits_->Add(hit);
25}
ClassImp(HodoCluster) HodoCluster
void Clear(Option_t *option="")
TRefArray * hits_
void addHit(TObject *hit)