DDASToys for NSCLDAQ  6.2-000
DDASRootFitHit.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 
24 #ifndef DDASROOTFITHIT_H
25 #define DDASROOTFITHIT_H
26 
27 #include <DDASFitHit.h>
28 #include <TObject.h>
29 
31 namespace ddastoys {
32 
52  class DDASRootFitHit : public DDASFitHit, public TObject
53  {
54  public:
61  DDASRootFitHit(const DDASRootFitHit& rhs);
62 
76  DDASRootFitHit& operator=(const DDASFitHit& rhs);
77 
82  void Reset();
83 
84  // Tell ROOT we're implementing the class:
85 
86  ClassDef(DDASRootFitHit, 1)
87  };
88 
90 }
91 
92 #endif
Extends DDASHit to include fit data that's been tacked on to the end of a hit.
Encapsulates data for DDAS hits that may have fitted traces.
Definition: DDASFitHit.h:46
This class is a ROOT serializable DDAS hit with possible fit data.
Definition: DDASRootFitHit.h:53
DDASRootFitHit & operator=(const DDASRootFitHit &rhs)
Assignment from another DDASRootFitHit.
Definition: DDASRootFitHit.cpp:43
void Reset()
Reset the object to empty. This is really just a matter of assigning a reset hit to ourselves.
Definition: DDASRootFitHit.cpp:65
DDASRootFitHit()
Constructor.
Definition: DDASRootFitHit.cpp:33