GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TTip.h
Go to the documentation of this file.
1
#ifndef TTIP_H
2
#define TTIP_H
3
4
/** \addtogroup Detectors
5
* @{
6
*/
7
8
/////////////////////////////////////////////////////////////
9
///
10
/// \class TTip
11
///
12
/// The TTip class defines the observables and algorithms used
13
/// when analyzing TIP data. It includes detector positions,
14
/// etc.
15
///
16
/////////////////////////////////////////////////////////////
17
18
#include "
Globals.h
"
19
#include "
TDetector.h
"
20
#include "
TTipHit.h
"
21
22
class
TTip
:
public
TDetector
{
23
public
:
24
25
~TTip
()
override
;
26
TTip
();
27
TTip
(
const
TTip
& rhs);
28
29
static
TVector3
GetPosition
(
int
DetNbr);
//!<!
30
static
TVector3
GetPosition
(
const
TTipHit
&);
31
32
TTipHit
*
GetTipHit
(
const
int
& i)
const
{
return
static_cast<
TTipHit
*
>
(
GetHit
(i)); }
33
34
#ifndef __CINT__
35
void
AddFragment
(
const
std::shared_ptr<const TFragment>&,
TChannel
*)
override
;
//!<!
36
#endif
37
void
BuildHits
()
override
{}
// no need to build any hits, everything already done in AddFragment
38
39
TTip
&
operator=
(
const
TTip
&);
//!<!
40
41
private
:
42
43
// Position vectors for individual TIP detectors
44
static
TVector3
fPositionVectors
[128];
//!<!
45
46
public
:
47
48
void
Print
(Option_t* opt =
""
)
const override
;
49
void
Print
(std::ostream& out)
const override
;
//!<!
50
51
/// \cond CLASSIMP
52
ClassDefOverride(
TTip
, 2);
53
/// \endcond
54
};
55
/*! @} */
56
#endif
TDetector.h
TTip::operator=
TTip & operator=(const TTip &)
!
Definition:
TTip.cxx:162
TTipHit.h
TTip::AddFragment
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
Definition:
TTip.cxx:168
TTipHit
Definition:
TTipHit.h:19
TTip::~TTip
~TTip() override
Definition:
TTip.cxx:149
TTip
Definition:
TTip.h:22
TTip::TTip
TTip()
Definition:
TTip.cxx:145
TTip::fPositionVectors
static TVector3 fPositionVectors[128]
!
Definition:
TTip.h:44
TTip::Print
void Print(Option_t *opt="") const override
Definition:
TTip.cxx:179
Globals.h
TTip::GetTipHit
TTipHit * GetTipHit(const int &i) const
Definition:
TTip.h:32
TDetector::GetHit
virtual TDetectorHit * GetHit(const int &) const
Definition:
TDetector.cxx:70
TTip::GetPosition
static TVector3 GetPosition(int DetNbr)
!
Definition:
TTip.cxx:197
TTip::BuildHits
void BuildHits() override
!
Definition:
TTip.h:37
TDetector
Definition:
TDetector.h:34
TChannel
Definition:
TChannel.h:50