FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairBoxSet.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 // -------------------------------------------------------------------------
9 // ----- FairBoxSet header file -----
10 // ----- Created 26/03/09 by T. Stockmanns -----
11 // -------------------------------------------------------------------------
12 
24 #ifndef FAIRBOXSET_H
25 #define FAIRBOXSET_H
26 
27 #include "FairBoxSetDraw.h" // for FairBoxSetDraw
28 
29 #include <Rtypes.h> // for Double_t, FairBoxSet::Class, etc
30 #include <TEveBoxSet.h> // for TEveBoxSet
31 
32 class FairBoxSet : public TEveBoxSet
33 {
34  public:
37  FairBoxSet(FairBoxSetDraw* drawer, const char* name = "FairBoxSet", const char* t = "");
38 
39  void SetTimeWindowPlus(Double_t time) { fDraw->SetTimeWindowPlus(time); }
40  void SetTimeWindowMinus(Double_t time) { fDraw->SetTimeWindowMinus(time); }
41 
42  Double_t GetTimeWindowPlus() { return fDraw->GetTimeWindowPlus(); }
43  Double_t GetTimeWindowMinus() { return fDraw->GetTimeWindowMinus(); }
44 
46  virtual ~FairBoxSet(){};
47 
48  private:
49  FairBoxSetDraw* fDraw;
50 
51  FairBoxSet(const FairBoxSet&);
52  FairBoxSet operator=(const FairBoxSet&);
53 
54  ClassDef(FairBoxSet, 1);
55 };
56 
57 #endif
FairBoxSet(FairBoxSetDraw *drawer, const char *name="FairBoxSet", const char *t="")
Definition: FairBoxSet.cxx:15
Double_t GetTimeWindowPlus()
Definition: FairBoxSet.h:42
Double_t GetTimeWindowMinus()
Definition: FairBoxSet.h:43
virtual ~FairBoxSet()
Definition: FairBoxSet.h:46
void SetTimeWindowMinus(Double_t time)
Definition: FairBoxSet.h:40
virtual void SetTimeWindowMinus(Double_t val)
virtual Double_t GetTimeWindowMinus()
void SetTimeWindowPlus(Double_t time)
Definition: FairBoxSet.h:39
virtual Double_t GetTimeWindowPlus()
virtual void SetTimeWindowPlus(Double_t val)