GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTdrSiLi.h
Go to the documentation of this file.
1#ifndef TTDRSILI_H
2#define TTDRSILI_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8#include <vector>
9#include <cstdio>
10
11#include "TBits.h"
12#include "TVector3.h"
13
14#include "Globals.h"
15#include "TDetector.h"
16#include "TTdrSiLiHit.h"
17
18class TTdrSiLi : public TDetector {
19
20public:
21 TTdrSiLi();
22 TTdrSiLi(const TTdrSiLi&);
23 ~TTdrSiLi() override;
24
25public:
26 TTdrSiLiHit* GetTdrSiLiHit(const int& i) const { return static_cast<TTdrSiLiHit*>(GetHit(i)); }
27
28#ifndef __CINT__
29 void AddFragment(const std::shared_ptr<const TFragment>&, TChannel*) override;
30#endif
31 static TVector3 GetPosition(int DetNbr); //!<!
32
33 TTdrSiLi& operator=(const TTdrSiLi&); //!<!
34
35private:
36 static bool fSetCoreWave; //!<! Flag for Waveforms ON/OFF
37
38public:
39 static bool SetCoreWave() { return fSetCoreWave; } //!<!
40
41 void Copy(TObject&) const override; //!<!
42 void Clear(Option_t* opt = "all") override; //!<!
43 void Print(Option_t* opt = "") const override; //!<!
44 void Print(std::ostream& out) const override;
45
46 /// \cond CLASSIMP
47 ClassDefOverride(TTdrSiLi, 4) // TdrSiLi Physics structure
48 /// \endcond
49};
50/*! @} */
51#endif
virtual TDetectorHit * GetHit(const int &index) const
Definition TDetector.cxx:61
TTdrSiLiHit * GetTdrSiLiHit(const int &i) const
Definition TTdrSiLi.h:26
static bool SetCoreWave()
!
Definition TTdrSiLi.h:39
void Print(Option_t *opt="") const override
!
Definition TTdrSiLi.cxx:55
void Copy(TObject &) const override
!
Definition TTdrSiLi.cxx:37
TTdrSiLi & operator=(const TTdrSiLi &)
!
Definition TTdrSiLi.cxx:68
static TVector3 GetPosition(int DetNbr)
!
Definition TTdrSiLi.cxx:80
static bool fSetCoreWave
! Flag for Waveforms ON/OFF
Definition TTdrSiLi.h:36
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
Definition TTdrSiLi.cxx:74
~TTdrSiLi() override
Definition TTdrSiLi.cxx:44
void Clear(Option_t *opt="all") override
!
Definition TTdrSiLi.cxx:49