GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TBgoHit.cxx
Go to the documentation of this file.
1#include "TBgoHit.h"
2
3#include "TClass.h"
4
5#include "GValue.h"
6
8{
9 Clear();
10}
11
12TBgoHit::~TBgoHit() = default;
13
15{
16 rhs.Copy(*this, true);
17}
18
20{
21 rhs.Copy(*this, true);
22}
23
24// The first version of this simply called the TDetectorHit constructor with the fragment.
25// This was problematic as this meant we're slicing the TFragment object to fit the
26// TDetectorHit argument of the base constructor
27// Now we simply do the same thing as the TDetectorHit constructor would be doing.
29{
30 static_cast<const TDetectorHit*>(&frag)->Copy(*this);
31 static_cast<const TDetectorHit*>(&frag)->CopyWave(*this);
33}
34
36{
37 rhs.Copy(*this, true);
38
39 return *this;
40}
41
43{
44 rhs.Copy(*this, true);
45
46 return *this;
47}
48
49void TBgoHit::Copy(TObject& rhs, bool copywave) const
50{
51 // Copy function.
52 TDetectorHit::Copy(rhs, copywave);
53}
54
55void TBgoHit::Clear(Option_t* opt)
56{
57 /// Clears the mother, and all of the hits
59}
60
61void TBgoHit::Print(Option_t*) const
62{
63 Print(std::cout);
64}
65
66void TBgoHit::Print(std::ostream& out) const
67{
69}
void Copy(TObject &, bool copywave) const override
!
Definition TBgoHit.cxx:49
TBgoHit & operator=(const TBgoHit &rhs)
Definition TBgoHit.cxx:35
void Print(Option_t *opt="") const override
!
Definition TBgoHit.cxx:61
TBgoHit()
Definition TBgoHit.cxx:7
void Clear(Option_t *opt="all") override
!
Definition TBgoHit.cxx:55
virtual void ClearTransients() const
void Clear(Option_t *opt="") override
!
void Copy(TObject &) const override
!
virtual void CopyWave(TObject &) const
!
void Print(Option_t *opt="") const override
!