Skip to content

CRTHit struct members not initialized #160

@mt82

Description

@mt82

CRTHit has a lot of not initialized members

      std::vector<uint8_t> feb_id; ///< FEB address
      std::map< uint8_t, std::vector<std::pair<int,float> > > pesmap; ///< Saves signal hit information (FEB, local-channel and PE) .
      float         peshit; ///< Total photo-electron (PE) in a crt hit.

      uint64_t       ts0_s; ///< Second-only part of timestamp T0.
      double    ts0_s_corr; ///< [Honestly, not sure at this point, it was there since long time (BB)]
      double        ts0_ns; ///< Timestamp T0 (from White Rabbit), in UTC absolute time scale in nanoseconds from the Epoch.
      double   ts0_ns_corr; ///< [Honestly, not sure at this point, it was there since long time (BB)]

      double        ts1_ns; ///< Timestamp T1 ([signal time w.r.t. Trigger time]), 

      int            plane; ///< Name of the CRT wall (in the form of numbers).

      float          x_pos; ///< position in x-direction (cm).
      float          x_err; ///< position uncertainty in x-direction (cm).
      float          y_pos; ///< position in y-direction (cm).
      float          y_err; ///< position uncertainty in y-direction (cm).
      float          z_pos; ///< position in z-direction (cm).
      float          z_err; ///< position uncertainty in z-direction (cm).

      std::string   tagger; ///< Name of the CRT wall (in the form of strings).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingminorMinor change not deserving a release to be made on its behalf

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions