GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TEagleHit.h
Go to the documentation of this file.
1#ifndef EAGLEHIT_H
2#define EAGLEHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8/////////////////////////////////////////////////////////////////
9///
10/// \class TEagleHit
11///
12/// This is class that contains the information about an eagle
13/// hit. This class is used to find energy, time, etc.
14/// The address is set to 0x100 plus the id of the detector.
15///
16/////////////////////////////////////////////////////////////////
17
18#include <cstdio>
19#include <cmath>
20#include <vector>
21
22#include "TFragment.h"
23#include "TChannel.h"
24
25#include "TVector3.h"
26
27#include "TDetectorHit.h"
28
29class TEagleHit : public TDetectorHit {
30public:
31 TEagleHit();
32 ~TEagleHit() override;
33 TEagleHit(const TEagleHit&);
34 TEagleHit(const uint8_t& id, const uint16_t& energy, const uint16_t& time, const uint64_t& eventTime);
35
36 TVector3 GetPosition(Double_t dist) const override; //!<!
37 TVector3 GetPosition() const override; //!<!
38
39 void Clear(Option_t* opt = "") override; //!<!
40 void Print(Option_t* opt = "") const override; //!<!
41 void Print(std::ostream& out) const override; //!<!
42 void Copy(TObject&) const override; //!<!
43 void Copy(TObject&, bool) const override; //!<!
44
45private:
46 Double_t GetDefaultDistance() const { return 0.0; }
47
48 /// \cond CLASSIMP
49 ClassDefOverride(TEagleHit, 1) // Stores the information for a EagleHit
50 /// \endcond
51};
52/*! @} */
53#endif
void Print(Option_t *opt="") const override
!
Definition TEagleHit.cxx:78
~TEagleHit() override
Double_t GetDefaultDistance() const
Definition TEagleHit.h:46
void Copy(TObject &) const override
!
Definition TEagleHit.cxx:45
void Clear(Option_t *opt="") override
!
Definition TEagleHit.cxx:72
TVector3 GetPosition() const override
!
Definition TEagleHit.cxx:66