Logo ROOT  
Reference Guide
REveViewContext.hxx
Go to the documentation of this file.
1 // @(#)root/eve7:$Id$
2 // Author: Matevz Tadel, Alja Tadel 2018
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT7_REveViewContext
13 #define ROOT7_REveViewContext
14 
15 namespace ROOT {
16 namespace Experimental {
17 
18 class REveTableViewInfo;
19 class REveTrackPropagator;
20 
22 private:
23  float m_R{100};
24  float m_Z{100};
27 
28 public:
29  REveViewContext() = default;
30  virtual ~REveViewContext() {}
31 
32  void SetBarrel(float r, float z) { m_R = r; m_Z = z; }
33 
36 
37  float GetMaxR() const { return m_R; }
38  float GetMaxZ() const { return m_Z; }
41 };
42 }
43 }
44 
45 #endif
ROOT::Experimental::REveViewContext
Definition: REveViewContext.hxx:21
ROOT::Experimental::REveViewContext::m_R
float m_R
Definition: REveViewContext.hxx:23
ROOT::Experimental::REveViewContext::~REveViewContext
virtual ~REveViewContext()
Definition: REveViewContext.hxx:30
r
ROOT::R::TRInterface & r
Definition: Object.C:4
ROOT::Experimental::REveViewContext::m_Z
float m_Z
Definition: REveViewContext.hxx:24
ROOT::Experimental::REveViewContext::GetMaxR
float GetMaxR() const
Definition: REveViewContext.hxx:37
ROOT::Experimental::REveViewContext::GetTableViewInfo
REveTableViewInfo * GetTableViewInfo() const
Definition: REveViewContext.hxx:40
ROOT::Experimental::REveViewContext::SetTrackPropagator
void SetTrackPropagator(REveTrackPropagator *p)
Definition: REveViewContext.hxx:34
ROOT::Experimental::REveViewContext::fTableInfo
REveTableViewInfo * fTableInfo
Definition: REveViewContext.hxx:26
ROOT::Experimental::REveViewContext::SetBarrel
void SetBarrel(float r, float z)
Definition: REveViewContext.hxx:32
ROOT::Experimental::REveViewContext::SetTableViewInfo
void SetTableViewInfo(REveTableViewInfo *ti)
Definition: REveViewContext.hxx:35
ROOT::Experimental::REveViewContext::GetPropagator
REveTrackPropagator * GetPropagator() const
Definition: REveViewContext.hxx:39
ROOT::Experimental::REveTableViewInfo
REveTableViewInfo.
Definition: REveTableInfo.hxx:87
ROOT::Experimental::REveTrackPropagator
REveTrackPropagator Calculates path of a particle taking into account special path-marks and imposed ...
Definition: REveTrackPropagator.hxx:113
ROOT::Experimental::REveViewContext::REveViewContext
REveViewContext()=default
ROOT::Experimental::REveViewContext::m_trackPropagator
REveTrackPropagator * m_trackPropagator
Definition: REveViewContext.hxx:25
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Experimental::REveViewContext::GetMaxZ
float GetMaxZ() const
Definition: REveViewContext.hxx:38