GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTAC.h
Go to the documentation of this file.
1#ifndef TTAC_H
2#define TTAC_H
3
4/** \addtogroup Detectors
5 * @{
6 */
7
8/////////////////////////////////////////////////////////////
9///
10/// \class TTAC
11///
12/// The TTAC class defines the observables and algorithms used
13/// when analyzing TAC data. It includes detector positions,
14/// etc.
15///
16/////////////////////////////////////////////////////////////
17
18#include <vector>
19#include <cstdio>
20
21#include "TVector3.h"
22
23#include "Globals.h"
24#include "TDetector.h"
25#include "TTACHit.h"
26
27class TTAC : public TDetector {
28public:
29 TTAC();
30 TTAC(const TTAC& rhs);
31 TTAC(TTAC&&) noexcept = default;
32 TTAC& operator=(const TTAC&); //!<!
33 TTAC& operator=(TTAC&&) noexcept = default;
34 ~TTAC() override = default;
35
36 TTACHit* GetTACHit(const int& i) const { return static_cast<TTACHit*>(GetHit(i)); }
37
38#ifndef __CINT__
39 void AddFragment(const std::shared_ptr<const TFragment>&, TChannel*) override; //!<!
40#endif
41 void BuildHits() override {} // no need to build any hits, everything already done in AddFragment
42
43 void Print(Option_t* opt = "") const override; //!<!
44 void Print(std::ostream& out) const override; //!<!
45
46 /// \cond CLASSIMP
47 ClassDefOverride(TTAC, 1) // TAC Physics structure // NOLINT(readability-else-after-return)
48 /// \endcond
49};
50/*! @} */
51#endif
virtual TDetectorHit * GetHit(const int &index) const
Definition TDetector.cxx:61
Definition TTAC.h:27
TTAC(TTAC &&) noexcept=default
TTACHit * GetTACHit(const int &i) const
Definition TTAC.h:36
TTAC()
Definition TTAC.cxx:6
void Print(Option_t *opt="") const override
!
Definition TTAC.cxx:24
void BuildHits() override
!
Definition TTAC.h:41
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
Definition TTAC.cxx:37