GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TPinDiodeHit.h
Go to the documentation of this file.
1#ifndef PINDIODEHIT_H
2#define PINDIODEHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8/////////////////////////////////////////////////////////////////
9///
10/// \class TPinDiodeHit
11///
12/// This is class that contains the information about a sceptar
13/// hit. This class is used to find energy, time, etc.
14/// The address is set to 0x200 plus the id of the diode.
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 TPinDiodeHit : public TDetectorHit {
30public:
32 ~TPinDiodeHit() override;
34 TPinDiodeHit(const uint8_t& id, const uint16_t& energy, 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(TPinDiodeHit, 1) // Stores the information for a PinDiodeHit
50 /// \endcond
51};
52/*! @} */
53#endif
void Print(Option_t *opt="") const override
!
Double_t GetDefaultDistance() const
TVector3 GetPosition() const override
!
void Clear(Option_t *opt="") override
!
~TPinDiodeHit() override
void Copy(TObject &) const override
!