BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
23class 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:
39
40 MpdBoxSet(const MpdBoxSet&) = delete;
41 MpdBoxSet operator=(const MpdBoxSet&) = delete;
42
44};
45
46#endif
double Double_t
#define ClassDef(name, id)
MpdBoxSet(MpdBoxSetDraw *drawer, const char *name="MpdBoxSet", const char *t="")
Standard constructor.
Definition MpdBoxSet.cxx:9
MpdBoxSetDraw * fDraw
Definition MpdBoxSet.h:38
MpdBoxSet(const MpdBoxSet &)=delete
MpdBoxSet operator=(const MpdBoxSet &)=delete
virtual ~MpdBoxSet()
Destructor.
Definition MpdBoxSet.h:29
Double_t GetTimeWindowMinus()
Definition MpdBoxSet.h:35
Double_t GetTimeWindowPlus()
Definition MpdBoxSet.h:34
void SetTimeWindowMinus(Double_t time)
Definition MpdBoxSet.h:32
void SetTimeWindowPlus(Double_t time)
Definition MpdBoxSet.h:31
TEveBoxSet(const char *n="TEveBoxSet", const char *t="")