BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
MpdBoxSet.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- MpdBoxSet header file -----
3
// ----- Created 26/03/09 by T. Stockmanns -----
4
// -------------------------------------------------------------------------
5
6
/** MpdBoxSet
7
* @author T. Stockmanns
8
* @since 26.3.2009
9
* Base class to display 3D Points in Eve as a BoxSet
10
* One has to overwrite the method GetVector which takes a TObject and writes out a TVector3 which is then taken as an
11
* input to place the points. If one wants to change the color of the points one has to overwrite the method GetValue.
12
* This method takes a TObject and an integer and translates this into an integer as input for the EveBoxSet method
13
* DigitValue
14
**
15
**/
16
17
#ifndef MPDBOXSET_H
18
#define MPDBOXSET_H
19
20
#include "
MpdBoxSetDraw.h
"
21
#include "
TEveBoxSet.h
"
22
23
class
MpdBoxSet
:
public
TEveBoxSet
24
{
25
public
:
26
/** Standard constructor **/
27
MpdBoxSet
(
MpdBoxSetDraw
* drawer,
const
char
* name =
"MpdBoxSet"
,
const
char
* t =
""
);
28
/** Destructor **/
29
virtual
~MpdBoxSet
() {}
30
31
void
SetTimeWindowPlus
(
Double_t
time) {
fDraw
->SetTimeWindowPlus(time); }
32
void
SetTimeWindowMinus
(
Double_t
time) {
fDraw
->SetTimeWindowMinus(time); }
33
34
Double_t
GetTimeWindowPlus
() {
return
fDraw
->GetTimeWindowPlus(); }
35
Double_t
GetTimeWindowMinus
() {
return
fDraw
->GetTimeWindowMinus(); }
36
37
private
:
38
MpdBoxSetDraw
*
fDraw
;
39
40
MpdBoxSet
(
const
MpdBoxSet
&) =
delete
;
41
MpdBoxSet
operator=
(
const
MpdBoxSet
&) =
delete
;
42
43
ClassDef
(
MpdBoxSet
, 1);
44
};
45
46
#endif
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TEveBoxSet.h
MpdBoxSetDraw
Definition
MpdBoxSetDraw.h:30
MpdBoxSet::MpdBoxSet
MpdBoxSet(MpdBoxSetDraw *drawer, const char *name="MpdBoxSet", const char *t="")
Standard constructor.
Definition
MpdBoxSet.cxx:9
MpdBoxSet::fDraw
MpdBoxSetDraw * fDraw
Definition
MpdBoxSet.h:38
MpdBoxSet::MpdBoxSet
MpdBoxSet(const MpdBoxSet &)=delete
MpdBoxSet::operator=
MpdBoxSet operator=(const MpdBoxSet &)=delete
MpdBoxSet::~MpdBoxSet
virtual ~MpdBoxSet()
Destructor.
Definition
MpdBoxSet.h:29
MpdBoxSet::GetTimeWindowMinus
Double_t GetTimeWindowMinus()
Definition
MpdBoxSet.h:35
MpdBoxSet::GetTimeWindowPlus
Double_t GetTimeWindowPlus()
Definition
MpdBoxSet.h:34
MpdBoxSet::SetTimeWindowMinus
void SetTimeWindowMinus(Double_t time)
Definition
MpdBoxSet.h:32
MpdBoxSet::SetTimeWindowPlus
void SetTimeWindowPlus(Double_t time)
Definition
MpdBoxSet.h:31
TEveBoxSet::TEveBoxSet
TEveBoxSet(const char *n="TEveBoxSet", const char *t="")
MpdBoxSetDraw.h
eventdisplay
MpdBoxSet.h
Generated on
for BmnRoot by
1.17.0