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#include <tuple>
12#endif
13
14#include "TMath.h"
15#include "TVector3.h"
16#include "TClonesArray.h"
17
18#include "TFragment.h"
19#include "TChannel.h"
20#include "TPulseAnalyzer.h"
21
22#include "TDetectorHit.h"
23
24class TBgoHit : public TDetectorHit {
25public:
26 TBgoHit();
27 TBgoHit(const TBgoHit& rhs);
28 TBgoHit(TBgoHit&& rhs) noexcept;
29 explicit TBgoHit(const TFragment& frag);
31
32 TBgoHit& operator=(const TBgoHit& rhs);
33 TBgoHit& operator=(TBgoHit&& rhs) noexcept;
34
35 ///////////////////////// /////////////////////////////////////
36 inline UShort_t GetArrayNumber() const override { return (20 * (GetDetector() - 1) + 5 * GetCrystal() + GetSegment()); } //!<!
37
38 using TObject::Copy;
39 void Copy(TObject&, bool copywave) const override; //!<!
40 void Clear(Option_t* opt = "all") override; //!<!
41 void Print(Option_t* opt = "") const override; //!<!
42 void Print(std::ostream& out) const override; //!<!
43
44 /// \cond CLASSIMP
45 ClassDefOverride(TBgoHit, 1) // NOLINT(readability-else-after-return)
46 /// \endcond
47};
48/*! @} */
49#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:36
virtual Int_t GetCrystal() const
!
virtual Int_t GetDetector() const
!
virtual Int_t GetSegment() const
!