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.
Loading...
Searching...
No Matches
event
src
HodoCluster.cxx
Go to the documentation of this file.
1
7
#include "
HodoCluster.h
"
8
9
ClassImp
(
HodoCluster
)
10
11
HodoCluster::~HodoCluster
() {
12
Clear
();
13
delete
hits_
;
14
}
15
16
void
HodoCluster::Clear
(Option_t*
/*option*/
) {
17
TObject::Clear();
18
hits_
->Delete();
19
n_hits_
= 0;
20
}
21
22
void
HodoCluster::addHit
(TObject* hit) {
23
++
n_hits_
;
24
hits_
->Add(hit);
25
}
ClassImp
ClassImp(HodoCluster) HodoCluster
Definition
HodoCluster.cxx:9
HodoCluster.h
HodoCluster
Definition
HodoCluster.h:23
HodoCluster::n_hits_
int n_hits_
Definition
HodoCluster.h:105
HodoCluster::Clear
void Clear(Option_t *option="")
Definition
HodoCluster.cxx:16
HodoCluster::hits_
TRefArray * hits_
Definition
HodoCluster.h:102
HodoCluster::addHit
void addHit(TObject *hit)
Definition
HodoCluster.cxx:22
HodoCluster::~HodoCluster
~HodoCluster()
Generated by
1.9.8