diff options
Diffstat (limited to 'io/root.C')
-rw-r--r-- | io/root.C | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -51,11 +51,10 @@ void fill_event(TTree *T, Event *ev, int event_id, double *gen_pos, int nchannels, float *channel_times) { + ev->clear(); ev->event_id = event_id; MC &mc = ev->mc; mc.gen_pos.SetXYZ(gen_pos[0], gen_pos[1], gen_pos[2]); - mc.photon.resize(0); - ev->channel.resize(0); ev->nhit = 0; Channel ch; for (int i=0; i < nchannels; i++) { |