GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TBgoHit.h
Go to the documentation of this file.
1#ifndef TBGOHIT_H
2#define TBGOHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8#include <cstdio>
9#include <cmath>
10#if !defined(__CINT__) && !defined(__CLING__)
11#endif
12
13#include "TFragment.h"
14#include "TDetectorHit.h"
15
16class TBgoHit : public TDetectorHit {
17public:
18 TBgoHit();
19 TBgoHit(const TBgoHit& rhs);
20 TBgoHit(TBgoHit&& rhs) noexcept;
21 explicit TBgoHit(const TFragment& frag);
23
24 TBgoHit& operator=(const TBgoHit& rhs);
25 TBgoHit& operator=(TBgoHit&& rhs) noexcept;
26
27 ///////////////////////// /////////////////////////////////////
28 UShort_t GetArrayNumber() const override { return (20 * (GetDetector() - 1) + 5 * GetCrystal() + GetSegment()); } //!<!
29
30 using TObject::Copy;
31 void Copy(TObject&, bool copywave) const override; //!<!
32 void Clear(Option_t* opt = "all") override; //!<!
33 void Print(Option_t* opt = "") const override; //!<!
34 void Print(std::ostream& out) const override; //!<!
35
36 /// \cond CLASSIMP
37 ClassDefOverride(TBgoHit, 1) // NOLINT(readability-else-after-return)
38 /// \endcond
39};
40/*! @} */
41#endif
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
UShort_t GetArrayNumber() const override
!
Definition TBgoHit.h:28
virtual Int_t GetCrystal() const
!
virtual Int_t GetDetector() const
!
virtual Int_t GetSegment() const
!