Project

General

Profile

Feature #12098

Update MCHit

Added by Herbert Greenlee over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/29/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
MicroBooNE
Co-Assignees:
Duration:

Description

Change definition of data product MCHit to change five doubles to floats, and one std::vector<double> (representing a Cartesian xyz 3-vector) to float3. Purpose is to save memory and disk space. The api of the MCHit class changes nontrivially because of the accessor that accesses the vector data member.

One issue that I don't know how to solve, or if it is even a problem, is how to convert the std::vector to float array during i/o so that old data can be read (backward compatibility).

Updates are on feature branches feature/greenlee_small_mchit of lardata and larreco. The class is defined in lardata. The larreco update is because of the api change.

History

#1 Updated by Tingjun Yang over 3 years ago

This is OK for DUNE and LArIAT since we do not use MCHit.

#2 Updated by Lynn Garren over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Lynn Garren
  • % Done changed from 0 to 100

This is part of the larsoft v05_07_00 release.

#3 Updated by Lynn Garren about 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF