GRSISort
"v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TTdrDetectorInformation.h
Go to the documentation of this file.
1
#ifndef TTDRDETECTORINFORMATION_H
2
#define TTDRDETECTORINFORMATION_H
3
4
/** \addtogroup Sorting
5
* @{
6
*/
7
8
/////////////////////////////////////////////////////////////////
9
///
10
/// \class TTdrDetectorInformation
11
///
12
/// This Class is designed to store setup dependent
13
/// information. It is used to store existence of
14
/// detector systems, etc.
15
///
16
/////////////////////////////////////////////////////////////////
17
18
#include "
Globals.h
"
19
20
#include "
TDetectorInformation.h
"
21
#include "
TChannel.h
"
22
23
class
TTdrDetectorInformation
:
public
TDetectorInformation
{
24
public
:
25
TTdrDetectorInformation
();
26
~TTdrDetectorInformation
()
override
;
27
28
TEventBuildingLoop::EBuildMode
BuildMode
()
const override
;
29
30
void
Print
(Option_t* opt =
""
)
const override
;
31
void
Clear
(Option_t* =
""
)
override
;
32
void
Set
()
override
;
33
34
inline
void
SetTdrClover
(
bool
flag =
true
) {
fTdrClover
= flag; }
35
inline
void
SetTdrTigress
(
bool
flag =
true
) {
fTdrTigress
= flag; }
36
inline
void
SetTdrSiLi
(
bool
flag =
true
) {
fTdrSiLi
= flag; }
37
inline
void
SetTdrPlastic
(
bool
flag =
true
) {
fTdrPlastic
= flag; }
38
39
inline
bool
TdrClover
()
const
{
return
fTdrClover
; }
40
inline
bool
TdrTigress
()
const
{
return
fTdrTigress
; }
41
inline
bool
TdrSiLi
()
const
{
return
fTdrSiLi
; }
42
inline
bool
TdrPlastic
()
const
{
return
fTdrPlastic
; }
43
44
private
:
45
// detector types to switch over in Set()
46
47
bool
fTdrClover
{
false
};
// flag for TdrClover on/off
48
bool
fTdrTigress
{
false
};
// flag for TdrTigress on/off
49
bool
fTdrSiLi
{
false
};
// flag for TdrSiLi on/off
50
bool
fTdrPlastic
{
false
};
// flag for TdrPlastic on/off
51
52
/// \cond CLASSIMP
53
ClassDefOverride(
TTdrDetectorInformation
, 1);
// Contains the run-dependent information.
54
/// \endcond
55
};
56
/*! @} */
57
#endif
Globals.h
TChannel.h
TDetectorInformation.h
TDetectorInformation
Definition
TDetectorInformation.h:21
TEventBuildingLoop::EBuildMode
EBuildMode
Definition
TEventBuildingLoop.h:29
TTdrDetectorInformation
Definition
TTdrDetectorInformation.h:23
TTdrDetectorInformation::Clear
void Clear(Option_t *="") override
Definition
TTdrDetectorInformation.cxx:41
TTdrDetectorInformation::TdrSiLi
bool TdrSiLi() const
Definition
TTdrDetectorInformation.h:41
TTdrDetectorInformation::TdrClover
bool TdrClover() const
Definition
TTdrDetectorInformation.h:39
TTdrDetectorInformation::Set
void Set() override
Definition
TTdrDetectorInformation.cxx:54
TTdrDetectorInformation::fTdrSiLi
bool fTdrSiLi
Definition
TTdrDetectorInformation.h:49
TTdrDetectorInformation::TdrTigress
bool TdrTigress() const
Definition
TTdrDetectorInformation.h:40
TTdrDetectorInformation::SetTdrSiLi
void SetTdrSiLi(bool flag=true)
Definition
TTdrDetectorInformation.h:36
TTdrDetectorInformation::SetTdrClover
void SetTdrClover(bool flag=true)
Definition
TTdrDetectorInformation.h:34
TTdrDetectorInformation::Print
void Print(Option_t *opt="") const override
Definition
TTdrDetectorInformation.cxx:28
TTdrDetectorInformation::fTdrClover
bool fTdrClover
Definition
TTdrDetectorInformation.h:47
TTdrDetectorInformation::TTdrDetectorInformation
TTdrDetectorInformation()
Definition
TTdrDetectorInformation.cxx:14
TTdrDetectorInformation::BuildMode
TEventBuildingLoop::EBuildMode BuildMode() const override
Set the detector information based on the available TChannels.
Definition
TTdrDetectorInformation.cxx:23
TTdrDetectorInformation::SetTdrTigress
void SetTdrTigress(bool flag=true)
Definition
TTdrDetectorInformation.h:35
TTdrDetectorInformation::fTdrTigress
bool fTdrTigress
Definition
TTdrDetectorInformation.h:48
TTdrDetectorInformation::TdrPlastic
bool TdrPlastic() const
Definition
TTdrDetectorInformation.h:42
TTdrDetectorInformation::fTdrPlastic
bool fTdrPlastic
Definition
TTdrDetectorInformation.h:50
TTdrDetectorInformation::SetTdrPlastic
void SetTdrPlastic(bool flag=true)
Definition
TTdrDetectorInformation.h:37
TTdrDetectorInformation::~TTdrDetectorInformation
~TTdrDetectorInformation() override
iThembaData
include
TTdrDetectorInformation.h
GRSISort ("v4.0.0.5") Reference Guide Generated on Mon Feb 3 2025 16:38:05.