GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TIfinBgoHit.h
Go to the documentation of this file.
1#ifndef TIFINBGOHIT_H
2#define TIFINBGOHIT_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 "TBgoHit.h"
23
24class TIfinBgoHit : public TBgoHit {
25public:
27 TIfinBgoHit(const TIfinBgoHit& hit) : TBgoHit(static_cast<const TBgoHit&>(hit)) {}
28 TIfinBgoHit(const TFragment& frag) : TBgoHit(frag) {}
29 ~TIfinBgoHit() override;
30
31 ///////////////////////// /////////////////////////////////////
32 UShort_t GetArrayNumber() const override { return (20 * (GetDetector() - 1) + 5 * GetCrystal() + GetSegment()); } //!<!
33
34 /// \cond CLASSIMP
35 ClassDefOverride(TIfinBgoHit, 1)
36 /// \endcond
37};
38/*! @} */
39#endif
virtual Int_t GetCrystal() const
!
virtual Int_t GetDetector() const
!
virtual Int_t GetSegment() const
!
~TIfinBgoHit() override
TIfinBgoHit(const TFragment &frag)
Definition TIfinBgoHit.h:28
TIfinBgoHit(const TIfinBgoHit &hit)
Definition TIfinBgoHit.h:27
UShort_t GetArrayNumber() const override
!
Definition TIfinBgoHit.h:32