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
15namespace ROOT {
16namespace Experimental {
17
18class REveTableViewInfo;
19class REveTrackPropagator;
20
22private:
23 float m_R{100};
24 float m_Z{100};
27
28public:
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::R::TRInterface & r
Definition: Object.C:4
REveTrackPropagator Calculates path of a particle taking into account special path-marks and imposed ...
REveTableViewInfo * GetTableViewInfo() const
REveTrackPropagator * m_trackPropagator
void SetTrackPropagator(REveTrackPropagator *p)
void SetTableViewInfo(REveTableViewInfo *ti)
REveTrackPropagator * GetPropagator() const
VSD Structures.
Definition: StringConv.hxx:21