GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTdrPlasticHit.h
Go to the documentation of this file.
1#ifndef TTDRPLASTICHIT_H
2#define TTDRPLASTICHIT_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8/////////////////////////////////////////////////////////////////
9///
10/// \class TTdrPlasticHit
11///
12/// This is class that contains the information about a sceptar
13/// hit. This class is used to find energy, time, etc.
14///
15/////////////////////////////////////////////////////////////////
16
17#include <cstdio>
18#include <cmath>
19#include <vector>
20
21#include "TFragment.h"
22#include "TChannel.h"
23
24#include "TVector3.h"
25
26#include "TDetectorHit.h"
27
29public:
31 ~TTdrPlasticHit() override;
33 TTdrPlasticHit(const TFragment& frag);
34
35private:
36 Int_t fFilter{0};
37
38public:
39 ///////////////////////// /////////////////////////////////////
40 inline void SetFilterPattern(const int& x) { fFilter = x; } //!<!
41
42 ///////////////////////// /////////////////////////////////////
43 inline Int_t GetFilterPattern() const { return fFilter; } //!<!
44
45 bool InFilter(Int_t); //!<!
46
47 TVector3 GetPosition(Double_t dist) const override; //!<!
48 TVector3 GetPosition() const override; //!<!
49
50public:
51 void Clear(Option_t* opt = "") override; //!<!
52 void Print(Option_t* opt = "") const override; //!<!
53 void Print(std::ostream& out) const override;
54 void Copy(TObject&) const override; //!<!
55 void Copy(TObject&, bool) const override; //!<!
56
57private:
58 Double_t GetDefaultDistance() const { return 0.0; }
59
60 /// \cond CLASSIMP
61 ClassDefOverride(TTdrPlasticHit, 3) // Stores the information for a TdrPlasticHit
62 /// \endcond
63};
64/*! @} */
65#endif
void Clear(Option_t *opt="") override
!
bool InFilter(Int_t)
!
void Print(Option_t *opt="") const override
!
TVector3 GetPosition() const override
!
Int_t GetFilterPattern() const
!
void SetFilterPattern(const int &x)
!
~TTdrPlasticHit() override
Double_t GetDefaultDistance() const
void Copy(TObject &) const override
!