GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTdrSiLiHit.h
Go to the documentation of this file.
1#ifndef TDRSILIHIT_H
2#define TDRSILIHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8#include <cstdio>
9#include <cmath>
10
11#include "TVector3.h"
12
13#include "TFragment.h"
14#include "TChannel.h"
15
16#include "TDetectorHit.h"
17
18class TTdrSiLiHit : public TDetectorHit {
19public:
22 TTdrSiLiHit(const TFragment& frag) : TDetectorHit(frag) {}
23 ~TTdrSiLiHit() override;
24
25private:
26 Int_t fFilter{0};
27
28public:
29 ///////////////////////// Setters /////////////////////////////////////
30 inline void SetFilterPattern(const int& x) { fFilter = x; } //!<!
31 // void SetHit();
32
33 ///////////////////////// Getters /////////////////////////////////////
34 inline Int_t GetFilterPattern() const { return fFilter; } //!<!
35
36 ///////////////////////// TChannel Helpers /////////////////////////////////////
37 bool InFilter(Int_t); //!<!
38
39public:
40 void Clear(Option_t* opt = "") override; //!<!
41 void Print(Option_t* opt = "") const override; //!<!
42 void Print(std::ostream& out) const override;
43 void Copy(TObject&) const override; //!<!
44 TVector3 GetPosition(Double_t dist) const override; //!<!
45 TVector3 GetPosition() const override; //!<!
46
47private:
48 Double_t GetDefaultDistance() const { return 0.0; }
49
50 /// \cond CLASSIMP
51 ClassDefOverride(TTdrSiLiHit, 3);
52 /// \endcond
53};
54/*! @} */
55#endif
TVector3 GetPosition() const override
!
void SetFilterPattern(const int &x)
!
Definition TTdrSiLiHit.h:30
TTdrSiLiHit(const TFragment &frag)
Definition TTdrSiLiHit.h:22
Int_t GetFilterPattern() const
!
Definition TTdrSiLiHit.h:34
void Copy(TObject &) const override
!
~TTdrSiLiHit() override
void Print(Option_t *opt="") const override
!
bool InFilter(Int_t)
!
Int_t fFilter
Definition TTdrSiLiHit.h:26
Double_t GetDefaultDistance() const
Definition TTdrSiLiHit.h:48
void Clear(Option_t *opt="") override
!