Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveCalo.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, 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 ROOT_TEveCalo
13#define ROOT_TEveCalo
14
15#include "TEveElement.h"
16#include "TEveProjectionBases.h"
18
19#include "TAtt3D.h"
20#include "TAttBBox.h"
21#include "TEveCaloData.h"
22#include <vector>
23
24class TClass;
25class TEveRGBAPalette;
26
27class TEveCaloViz : public TEveElement,
28 public TNamed,
29 public TAtt3D,
30 public TAttBBox,
31 public TEveProjectable
32{
33 friend class TEveCaloVizEditor;
34
35private:
36 TEveCaloViz(const TEveCaloViz&) = delete;
38
39protected:
40 TEveCaloData* fData; // event data reference
41 Bool_t fCellIdCacheOK; // data cell ids cache state
42
45
47 Double_t fPhiOffset; // phi range +/- offset
48
49 Bool_t fAutoRange; // set eta phi limits on DataChanged()
50
51 Float_t fBarrelRadius; // barrel raidus in cm
52 Float_t fEndCapPosF; // forward end cap z coordinate in cm
53 Float_t fEndCapPosB; // backward end cap z coordinate in cm (should be < 0)
54
55 Float_t fPlotEt; // plot E or Et.
56
57 Float_t fMaxTowerH; // bounding box z dimesion
60
61 Bool_t fValueIsColor; // Interpret signal value as RGBA color.
62 TEveRGBAPalette* fPalette; // Pointer to signal-color palette.
63
64
66
67 void SetupColorHeight(Float_t value, Int_t slice, Float_t& height) const;
68
69 virtual void BuildCellIdCache() = 0;
70
71public:
72 TEveCaloViz(TEveCaloData* data=nullptr, const char* n="TEveCaloViz", const char* t="");
73
74 virtual ~TEveCaloViz();
75
77 virtual TEveElement* ForwardEdit();
78
79 virtual void Paint(Option_t* option="");
80
81 virtual TClass* ProjectedClass(const TEveProjection* p) const;
82 virtual Float_t GetValToHeight() const;
83 virtual void CellSelectionChanged() {}
84
85 virtual void SetScaleAbs(Bool_t x) { fScaleAbs = x; }
86
87 TEveCaloData* GetData() const { return fData; }
88 void SetData(TEveCaloData* d);
89 void DataChanged();
90 Float_t GetMaxVal() const;
91
94
96 void SetDataSliceThreshold(Int_t slice, Float_t val);
97 Color_t GetDataSliceColor(Int_t slice) const;
98 void SetDataSliceColor(Int_t slice, Color_t col);
99
102 Float_t GetEndCapPos () const { return fEndCapPosF; } // get end cap position, assuming fEndCapPosF = -fEndCapPosB
108
109 Bool_t GetPlotEt() const { return fPlotEt; }
110 void SetPlotEt(Bool_t x);
111
113 Float_t GetMaxTowerH() const { return fMaxTowerH; }
114 Bool_t GetScaleAbs() const { return fScaleAbs; }
116 Float_t GetMaxValAbs() const { return fMaxValAbs; }
117
124
127
131
132 Bool_t GetAutoRange() const { return fAutoRange; }
134
135 void SetEta(Float_t l, Float_t u);
136 Float_t GetEta() const { return 0.5f*(fEtaMin+fEtaMax); }
137 Float_t GetEtaMin() const { return fEtaMin; }
138 Float_t GetEtaMax() const { return fEtaMax; }
139 Float_t GetEtaRng() const { return fEtaMax-fEtaMin; }
140
142 void SetPhiRng(Float_t rng) { SetPhiWithRng(fPhi, rng); }
144 Float_t GetPhi() const { return fPhi; }
145 Float_t GetPhiMin() const { return fPhi-fPhiOffset; }
146 Float_t GetPhiMax() const { return fPhi+fPhiOffset; }
147 Float_t GetPhiRng() const { return 2.0f*fPhiOffset; }
148
150
151 ClassDef(TEveCaloViz, 0); // Base-class for visualization of calorimeter eventdata.
152};
153
154/**************************************************************************/
155/**************************************************************************/
156
158{
159 friend class TEveCalo3DGL;
160private:
161 TEveCalo3D(const TEveCalo3D&) = delete;
162 TEveCalo3D& operator=(const TEveCalo3D&) = delete;
163
164protected:
166
169
173
174 virtual void BuildCellIdCache();
175
176public:
177 TEveCalo3D(TEveCaloData* d=nullptr, const char* n="TEveCalo3D", const char* t="xx");
178 virtual ~TEveCalo3D() {}
179 virtual void ComputeBBox();
180
183
190
193
194 ClassDef(TEveCalo3D, 0); // Class for 3D visualization of calorimeter event data.
195};
196
197/**************************************************************************/
198/**************************************************************************/
199
200class TEveCalo2D : public TEveCaloViz,
201 public TEveProjected
202{
203 friend class TEveCalo2DGL;
204
205public:
206 typedef std::vector<TEveCaloData::vCellId_t*> vBinCells_t;
207 typedef std::vector<TEveCaloData::vCellId_t*>::iterator vBinCells_i;
208
209private:
210 TEveCalo2D(const TEveCalo2D&) = delete;
211 TEveCalo2D& operator=(const TEveCalo2D&) = delete;
212
214 void CellSelectionChangedInternal(TEveCaloData::vCellId_t& cells, std::vector<TEveCaloData::vCellId_t*>& cellLists);
215
216protected:
217 std::vector<TEveCaloData::vCellId_t*> fCellLists;
218
219 std::vector<TEveCaloData::vCellId_t*> fCellListsSelected;
220 std::vector<TEveCaloData::vCellId_t*> fCellListsHighlighted;
221
224
225 virtual void BuildCellIdCache();
226
227 virtual void SetDepthLocal(Float_t x) { fDepth = x; }
228
229public:
230 TEveCalo2D(const char* n="TEveCalo2D", const char* t="");
231 virtual ~TEveCalo2D();
232
233 virtual void SetProjection(TEveProjectionManager* proj, TEveProjectable* model);
234 virtual void UpdateProjection();
235 virtual void ComputeBBox();
236
237 virtual void CellSelectionChanged();
238
239 virtual void SetScaleAbs(Bool_t);
240
241 virtual Float_t GetValToHeight() const;
242
244
245 ClassDef(TEveCalo2D, 0); // Class for visualization of projected calorimeter event data.
246};
247/**************************************************************************/
248/**************************************************************************/
249
251{
252 friend class TEveCaloLegoGL;
254
255public:
259
260private:
261 TEveCaloLego(const TEveCaloLego&) = delete;
263
264protected:
266
271
272 Int_t fNZSteps; // Z axis label step in GeV
274
278
281 EBoxMode_e fBoxMode; // additional scale info
282
285
287 Float_t fFixedHeightValIn2DMode; // 1% of whole height
288
291
292 virtual void BuildCellIdCache();
293
294public:
295 TEveCaloLego(TEveCaloData* data=nullptr, const char* n="TEveCaloLego", const char* t="");
296 virtual ~TEveCaloLego(){}
297
298 virtual void ComputeBBox();
299 virtual void SetData(TEveCaloData* d);
300
301 Color_t GetFontColor() const { return fFontColor; }
303
304 Color_t GetGridColor() const { return fGridColor; }
306
309
312
313 Int_t GetNZSteps() const { return fNZSteps; }
314 void SetNZSteps(Int_t s) { fNZSteps = s;}
315
318
319 Bool_t GetAutoRebin() const { return fAutoRebin; }
321
324
327
330
333
336
339
340 Bool_t GetDrawHPlane() const { return fDrawHPlane; }
342
343 Float_t GetHPlaneVal() const { return fHPlaneVal; }
345
350
351 ClassDef(TEveCaloLego, 0); // Class for visualization of calorimeter histogram data.
352};
353
354#endif
#define d(i)
Definition RSha256.hxx:102
#define b(i)
Definition RSha256.hxx:100
#define e(i)
Definition RSha256.hxx:103
bool Bool_t
Definition RtypesCore.h:63
int Int_t
Definition RtypesCore.h:45
short Color_t
Definition RtypesCore.h:92
char Char_t
Definition RtypesCore.h:37
float Float_t
Definition RtypesCore.h:57
constexpr Bool_t kFALSE
Definition RtypesCore.h:101
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:337
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Use this attribute class when an object should have 3D capabilities.
Definition TAtt3D.h:19
Helper for management of bounding-box information.
Definition TAttBBox.h:18
void ResetBBox()
Definition TAttBBox.h:57
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition TClass.h:81
OpenGL renderer class for TEveCalo2D.
Visualization of a calorimeter event data in 2D.
Definition TEveCalo.h:202
Float_t fMaxEtSumBin
Definition TEveCalo.h:223
TEveCalo2D(const TEveCalo2D &)=delete
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
Set projection manager and model object.
Definition TEveCalo.cxx:549
virtual void CellSelectionChanged()
Sort selected cells in eta or phi bins for selection and highlight.
Definition TEveCalo.cxx:652
virtual void SetScaleAbs(Bool_t)
Set absolute scale in projected calorimeter.
Definition TEveCalo.cxx:706
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted
Definition TEveCalo.h:220
void CellSelectionChangedInternal(TEveCaloData::vCellId_t &cells, std::vector< TEveCaloData::vCellId_t * > &cellLists)
Sort selected cells in eta or phi bins.
Definition TEveCalo.cxx:661
std::vector< TEveCaloData::vCellId_t * >::iterator vBinCells_i
Definition TEveCalo.h:207
virtual void SetDepthLocal(Float_t x)
Base-class implementation – just sets fDepth.
Definition TEveCalo.h:227
Float_t fMaxESumBin
Definition TEveCalo.h:222
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
Definition TEveCalo.h:206
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition TEveCalo.cxx:740
virtual void BuildCellIdCache()
Build lists of drawn cell IDs. See TEveCalo2DGL::DirecDraw().
Definition TEveCalo.cxx:559
virtual Float_t GetValToHeight() const
Virtual function of TEveCaloViz.
Definition TEveCalo.cxx:716
std::vector< TEveCaloData::vCellId_t * > fCellLists
Definition TEveCalo.h:217
TEveProjection::EPType_e fOldProjectionType
Definition TEveCalo.h:213
const TEveCalo2D::vBinCells_t & GetBinLists() const
Definition TEveCalo.h:243
virtual ~TEveCalo2D()
Destructor.
Definition TEveCalo.cxx:507
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
Definition TEveCalo.h:219
TEveCalo2D & operator=(const TEveCalo2D &)=delete
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
Definition TEveCalo.cxx:536
OpenGL renderer class for TEveCalo3D.
Visualization of a calorimeter event data in 3D.
Definition TEveCalo.h:158
void SetFrameTransparency(Char_t x)
Definition TEveCalo.h:191
virtual ~TEveCalo3D()
Definition TEveCalo.h:178
TEveCaloData::vCellId_t fCellList
Definition TEveCalo.h:165
Bool_t GetRnrBarrelFrame() const
Definition TEveCalo.h:189
Bool_t fRnrBarrelFrame
Definition TEveCalo.h:168
virtual void BuildCellIdCache()
Build list of drawn cell IDs. See TEveCalo3DGL::DirectDraw().
Definition TEveCalo.cxx:459
TEveCalo3D & operator=(const TEveCalo3D &)=delete
Float_t GetFrameWidth() const
Definition TEveCalo.h:182
void SetRnrEndCapFrame(Bool_t r)
Definition TEveCalo.h:186
Color_t fFrameColor
Definition TEveCalo.h:171
Bool_t fRnrEndCapFrame
Definition TEveCalo.h:167
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition TEveCalo.cxx:471
void GetRnrFrame(Bool_t &e, Bool_t &b) const
Definition TEveCalo.h:185
Char_t GetFrameTransparency() const
Definition TEveCalo.h:192
Char_t fFrameTransparency
Definition TEveCalo.h:172
void SetRnrFrame(Bool_t e, Bool_t b)
Definition TEveCalo.h:184
void SetRnrBarrelFrame(Bool_t r)
Definition TEveCalo.h:187
TEveCalo3D(const TEveCalo3D &)=delete
Bool_t GetRnrEndCapFrame() const
Definition TEveCalo.h:188
Float_t fFrameWidth
Definition TEveCalo.h:170
void SetFrameWidth(Float_t w)
Definition TEveCalo.h:181
A central manager for calorimeter event data.
std::vector< CellId_t > vCellId_t
OpenGL renderer class for TEveCaloLego.
GL-overlay control GUI for TEveCaloLego.
Visualization of calorimeter data as eta/phi histogram.
Definition TEveCalo.h:251
Bool_t GetNormalizeRebin() const
Definition TEveCalo.h:322
TEveCaloLego(const TEveCaloLego &)=delete
Float_t fZAxisStep
Definition TEveCalo.h:273
EProjection_e fProjection
Definition TEveCalo.h:279
Bool_t fNormalizeRebin
Definition TEveCalo.h:277
void Set2DMode(E2DMode_e p)
Definition TEveCalo.h:328
Char_t fPlaneTransparency
Definition TEveCalo.h:270
Int_t GetPixelsPerBin() const
Definition TEveCalo.h:316
Color_t GetFontColor() const
Definition TEveCalo.h:301
TEveCaloLego & operator=(const TEveCaloLego &)=delete
void SetProjection(EProjection_e p)
Definition TEveCalo.h:326
void SetFontColor(Color_t ci)
Definition TEveCalo.h:302
void SetHPlaneVal(Float_t s)
Definition TEveCalo.h:344
void SetAutoRebin(Bool_t s)
Definition TEveCalo.h:320
void SetDrawNumberCellPixels(Int_t x)
Definition TEveCalo.h:347
virtual void SetData(TEveCaloData *d)
Definition TEveCalo.cxx:817
void SetPlaneColor(Color_t ci)
Definition TEveCalo.h:308
Color_t fPlaneColor
Definition TEveCalo.h:269
void SetBoxMode(EBoxMode_e p)
Definition TEveCalo.h:337
void SetPixelsPerBin(Int_t bw)
Definition TEveCalo.h:317
void SetNormalizeRebin(Bool_t s)
Definition TEveCalo.h:323
EBoxMode_e fBoxMode
Definition TEveCalo.h:281
Int_t fDrawNumberCellPixels
Definition TEveCalo.h:289
Color_t GetPlaneColor() const
Definition TEveCalo.h:307
EProjection_e GetProjection() const
Definition TEveCalo.h:325
E2DMode_e f2DMode
Definition TEveCalo.h:280
Float_t fHPlaneVal
Definition TEveCalo.h:284
Char_t GetPlaneTransparency() const
Definition TEveCalo.h:310
virtual void BuildCellIdCache()
Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().
Definition TEveCalo.cxx:825
void SetCellPixelFontSize(Int_t x)
Definition TEveCalo.h:349
Int_t GetDrawNumberCellPixels()
Definition TEveCalo.h:346
float GetFixedHeightValIn2DMode() const
Definition TEveCalo.h:334
void SetGridColor(Color_t ci)
Definition TEveCalo.h:305
Bool_t GetDrawHPlane() const
Definition TEveCalo.h:340
TEveCaloData::vCellId_t fCellList
Definition TEveCalo.h:265
void SetHasFixedHeightIn2DMode(bool x)
Definition TEveCalo.h:332
E2DMode_e Get2DMode()
Definition TEveCalo.h:329
Bool_t GetAutoRebin() const
Definition TEveCalo.h:319
Bool_t fHasFixedHeightIn2DMode
Definition TEveCalo.h:286
Int_t GetCellPixelFontSize()
Definition TEveCalo.h:348
void SetDrawHPlane(Bool_t s)
Definition TEveCalo.h:341
Color_t GetGridColor() const
Definition TEveCalo.h:304
void SetPlaneTransparency(Char_t t)
Definition TEveCalo.h:311
Float_t fFixedHeightValIn2DMode
Definition TEveCalo.h:287
Color_t fFontColor
Definition TEveCalo.h:267
Bool_t fDrawHPlane
Definition TEveCalo.h:283
Float_t GetHPlaneVal() const
Definition TEveCalo.h:343
Bool_t fAutoRebin
Definition TEveCalo.h:275
virtual ~TEveCaloLego()
Definition TEveCalo.h:296
bool GetHasFixedHeightIn2DMode() const
Definition TEveCalo.h:331
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition TEveCalo.cxx:837
Int_t fCellPixelFontSize
Definition TEveCalo.h:290
void SetFixedHeightValIn2DMode(float x)
Definition TEveCalo.h:335
Color_t fGridColor
Definition TEveCalo.h:268
EBoxMode_e GetBoxMode()
Definition TEveCalo.h:338
Int_t fNZSteps
Definition TEveCalo.h:272
Int_t GetNZSteps() const
Definition TEveCalo.h:313
void SetNZSteps(Int_t s)
Definition TEveCalo.h:314
Int_t fPixelsPerBin
Definition TEveCalo.h:276
GUI editor for TEveCaloEditor.
Base class for calorimeter data visualization.
Definition TEveCalo.h:32
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
Definition TEveCalo.cxx:129
void SetBarrelRadius(Float_t r)
Definition TEveCalo.h:101
void SetValueIsColor(Bool_t x)
Definition TEveCalo.h:130
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
Definition TEveCalo.cxx:121
Float_t fMaxTowerH
Definition TEveCalo.h:57
Float_t fEndCapPosF
Definition TEveCalo.h:52
Float_t GetEtaMin() const
Definition TEveCalo.h:137
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
Definition TEveCalo.cxx:293
TEveRGBAPalette * GetPalette() const
Definition TEveCalo.h:125
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
Definition TEveCalo.cxx:113
Float_t fPlotEt
Definition TEveCalo.h:55
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
Definition TEveCalo.cxx:86
Float_t GetMaxTowerH() const
Definition TEveCalo.h:113
Float_t GetPhiRng() const
Definition TEveCalo.h:147
Float_t GetTransitionEtaBackward() const
Get transition eta between barrel and backward end-cap cells.
Definition TEveCalo.cxx:227
Float_t GetEndCapPos() const
Definition TEveCalo.h:102
void SetPlotEt(Bool_t x)
Set E/Et plot.
Definition TEveCalo.cxx:148
TEveRGBAPalette * fPalette
Definition TEveCalo.h:62
virtual void BuildCellIdCache()=0
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
Definition TEveCalo.cxx:170
void SetPhi(Float_t phi)
Definition TEveCalo.h:141
virtual TEveElement * ForwardEdit()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
Definition TEveCalo.cxx:105
Bool_t fValueIsColor
Definition TEveCalo.h:61
Float_t fBarrelRadius
Definition TEveCalo.h:51
Double_t fEtaMax
Definition TEveCalo.h:44
Float_t GetTransitionThetaBackward() const
Get transition angle between barrel and backward end-cap cells.
Definition TEveCalo.cxx:219
Float_t GetBarrelRadius() const
Definition TEveCalo.h:100
Float_t GetTransitionEta() const
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition TEveCalo.cxx:191
Float_t GetBackwardEndCapPos() const
Definition TEveCalo.h:104
Bool_t fAutoRange
Definition TEveCalo.h:49
Float_t GetMaxVal() const
Definition TEveCalo.cxx:159
void SetPhiRng(Float_t rng)
Definition TEveCalo.h:142
Float_t GetForwardEndCapPos() const
Definition TEveCalo.h:103
TEveCaloData * GetData() const
Definition TEveCalo.h:87
void SetBackwardEndCapPos(Float_t z)
Definition TEveCalo.h:107
void SetEta(Float_t l, Float_t u)
Set eta range.
Definition TEveCalo.cxx:137
virtual ~TEveCaloViz()
Destructor.
Definition TEveCalo.cxx:78
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
Definition TEveCalo.cxx:396
Float_t GetEta() const
Definition TEveCalo.h:136
virtual void CellSelectionChanged()
Definition TEveCalo.h:83
virtual void SetScaleAbs(Bool_t x)
Definition TEveCalo.h:85
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
Definition TEveCalo.cxx:378
TEveCaloViz(const TEveCaloViz &)=delete
Bool_t fCellIdCacheOK
Definition TEveCalo.h:41
Float_t GetPhi() const
Definition TEveCalo.h:144
void SetEndCapPos(Float_t z)
Definition TEveCalo.h:105
void InvalidateCellIdCache()
Definition TEveCalo.h:93
void SetForwardEndCapPos(Float_t z)
Definition TEveCalo.h:106
void SetMaxTowerH(Float_t x)
Definition TEveCalo.h:112
Float_t GetMaxValAbs() const
Definition TEveCalo.h:116
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCalo2D class.
Definition TEveCalo.cxx:407
virtual TEveElement * ForwardSelection()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
Definition TEveCalo.cxx:95
Bool_t GetPlotEt() const
Definition TEveCalo.h:109
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette object pointer.
Definition TEveCalo.cxx:347
Float_t GetEtaMax() const
Definition TEveCalo.h:138
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
Definition TEveCalo.cxx:201
Bool_t fScaleAbs
Definition TEveCalo.h:58
Double_t fPhiOffset
Definition TEveCalo.h:47
void SetMaxValAbs(Float_t x)
Definition TEveCalo.h:115
TEveCaloViz & operator=(const TEveCaloViz &)=delete
Double_t fPhi
Definition TEveCalo.h:46
TEveCaloData * fData
Definition TEveCalo.h:40
Float_t fEndCapPosB
Definition TEveCalo.h:53
Float_t GetTransitionEtaForward() const
Get transition eta between barrel and forward end-cap cells.
Definition TEveCalo.cxx:209
Bool_t GetAutoRange() const
Definition TEveCalo.h:132
void SetAutoRange(Bool_t x)
Definition TEveCalo.h:133
Float_t GetTransitionTheta() const
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition TEveCalo.cxx:183
void AssignCaloVizParameters(TEveCaloViz *cv)
Assign parameters from given model.
Definition TEveCalo.cxx:321
Float_t GetPhiMax() const
Definition TEveCalo.h:146
Double_t fEtaMin
Definition TEveCalo.h:43
virtual Float_t GetValToHeight() const
Get transformation factor from E/Et to height.
Definition TEveCalo.cxx:358
void SetData(TEveCaloData *d)
Set calorimeter event data.
Definition TEveCalo.cxx:239
Float_t GetEtaRng() const
Definition TEveCalo.h:139
void DataChanged()
Update setting and cache on data changed.
Definition TEveCalo.cxx:256
Float_t fMaxValAbs
Definition TEveCalo.h:59
Bool_t CellInEtaPhiRng(TEveCaloData::CellData_t &) const
Returns true if given cell is in the ceta phi range.
Definition TEveCalo.cxx:307
Bool_t GetValueIsColor() const
Definition TEveCalo.h:129
Bool_t GetScaleAbs() const
Definition TEveCalo.h:114
Float_t GetPhiMin() const
Definition TEveCalo.h:145
void SetupColorHeight(Float_t value, Int_t slice, Float_t &height) const
Set color and height for a given value and slice using slice color or TEveRGBAPalette.
Definition TEveCalo.cxx:415
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition TEveElement.h:36
Abstract base-class for non-linear projectable objects.
Abstract base class for classes that hold results of a non-linear projection transformation.
Manager class for steering of projections and managing projected objects.
Base-class for non-linear projections.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16
Cell data inner structure.
TLine l
Definition textangle.C:4