GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TAriesHit.h
Go to the documentation of this file.
1#ifndef ARIESHIT_H
2#define ARIESHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8/////////////////////////////////////////////////////////////////
9///
10/// \class TAriesHit
11///
12/// This is class that contains the information about a aries
13/// hit. This class is used to find energy, time, etc.
14///
15/////////////////////////////////////////////////////////////////
16
17#include <cstdio>
18#include <cmath>
19#include <vector>
20
21#include "TFragment.h"
22#include "TChannel.h"
23
24#include "TVector3.h"
25
26#include "TDetectorHit.h"
27
28class TAriesHit : public TDetectorHit {
29public:
30 TAriesHit();
31 TAriesHit(const TAriesHit&);
32 TAriesHit(TAriesHit&&) noexcept = default;
33 TAriesHit& operator=(const TAriesHit&) = default;
34 TAriesHit& operator=(TAriesHit&&) noexcept = default;
35 explicit TAriesHit(const TFragment& frag);
36 ~TAriesHit() override = default;
37
38 TVector3 GetPosition(Double_t dist) const override; //!<!
39 TVector3 GetPosition() const override; //!<!
40
41 void Clear(Option_t* opt = "") override; //!<!
42 void Print(Option_t* opt = "") const override; //!<!
43 void Print(std::ostream& out) const override; //!<!
44 void Copy(TObject&) const override; //!<!
45 void Copy(TObject&, bool) const override; //!<!
46
47private:
48 Double_t GetDefaultDistance() const { return 0.0; }
49
50 /// \cond CLASSIMP
51 ClassDefOverride(TAriesHit, 4) // Stores the information for a AriesHit // NOLINT(readability-else-after-return)
52 /// \endcond
53};
54/*! @} */
55#endif
TAriesHit(TAriesHit &&) noexcept=default
TVector3 GetPosition() const override
!
Definition TAriesHit.cxx:56
void Print(Option_t *opt="") const override
!
Definition TAriesHit.cxx:68
void Clear(Option_t *opt="") override
!
Definition TAriesHit.cxx:62
void Copy(TObject &) const override
!
Definition TAriesHit.cxx:35
Double_t GetDefaultDistance() const
Definition TAriesHit.h:48