DDASToys for NSCLDAQ  6.2-000
DDASFitHitUnpacker.h
Go to the documentation of this file.
1 /*
2  This software is Copyright by the Board of Trustees of Michigan
3  State University (c) Copyright 2017.
4 
5  You may use this software under the terms of the GNU public license
6  (GPL). The terms of this license are described at:
7 
8  http://www.gnu.org/licenses/gpl.txt
9 
10  Authors:
11  Ron Fox
12  Jeromy Tompkins
13  Aaron Chester
14  FRIB
15  Michigan State University
16  East Lansing, MI 48824-1321
17 */
18 
25 #ifndef DDASFITHITUNPACKER_H
26 #define DDASFITHITUNPACKER_H
27 
28 #include <DDASHitUnpacker.h>
29 
30 namespace ddastoys {
31 
32  class DDASFitHit;
33 
61  class DDASFitHitUnpacker : public ddasfmt::DDASHitUnpacker
62  {
63  public:
75  const void* decode(const void* p, DDASFitHit& hit);
76  };
77 
80 }
81 
82 #endif
Unpack raw hit data from DDAS event files.
Definition: DDASFitHitUnpacker.h:62
const void * decode(const void *p, DDASFitHit &hit)
Decode the current event and unpack it into a DDASFitHit.
Definition: DDASFitHitUnpacker.cpp:61
Encapsulates data for DDAS hits that may have fitted traces.
Definition: DDASFitHit.h:46