Logo ROOT  
Reference Guide
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
23class TClass;
24class TEveRGBAPalette;
25
26class TEveCaloViz : public TEveElement,
27 public TNamed,
28 public TAtt3D,
29 public TAttBBox,
30 public TEveProjectable
31{
32 friend class TEveCaloVizEditor;
33
34private:
35 TEveCaloViz(const TEveCaloViz&); // Not implemented
36 TEveCaloViz& operator=(const TEveCaloViz&); // Not implemented
37
38protected:
39 TEveCaloData* fData; // event data reference
40 Bool_t fCellIdCacheOK; // data cell ids cache state
41
44
46 Double_t fPhiOffset; // phi range +/- offset
47
48 Bool_t fAutoRange; // set eta phi limits on DataChanged()
49
50 Float_t fBarrelRadius; // barrel raidus in cm
51 Float_t fEndCapPosF; // forward end cap z coordinate in cm
52 Float_t fEndCapPosB; // backward end cap z coordinate in cm (should be < 0)
53
54 Float_t fPlotEt; // plot E or Et.
55
56 Float_t fMaxTowerH; // bounding box z dimesion
59
60 Bool_t fValueIsColor; // Interpret signal value as RGBA color.
61 TEveRGBAPalette* fPalette; // Pointer to signal-color palette.
62
63
65
66 void SetupColorHeight(Float_t value, Int_t slice, Float_t& height) const;
67
68 virtual void BuildCellIdCache() = 0;
69
70public:
71 TEveCaloViz(TEveCaloData* data=0, const char* n="TEveCaloViz", const char* t="");
72
73 virtual ~TEveCaloViz();
74
76 virtual TEveElement* ForwardEdit();
77
78 virtual void Paint(Option_t* option="");
79
80 virtual TClass* ProjectedClass(const TEveProjection* p) const;
81 virtual Float_t GetValToHeight() const;
82 virtual void CellSelectionChanged() {}
83
84 virtual void SetScaleAbs(Bool_t x) { fScaleAbs = x; }
85
86 TEveCaloData* GetData() const { return fData; }
87 void SetData(TEveCaloData* d);
88 void DataChanged();
89 Float_t GetMaxVal() const;
90
93
95 void SetDataSliceThreshold(Int_t slice, Float_t val);
96 Color_t GetDataSliceColor(Int_t slice) const;
97 void SetDataSliceColor(Int_t slice, Color_t col);
98
101 Float_t GetEndCapPos () const { return fEndCapPosF; } // get end cap position, assuming fEndCapPosF = -fEndCapPosB
107
108 Bool_t GetPlotEt() const { return fPlotEt; }
109 void SetPlotEt(Bool_t x);
110
112 Float_t GetMaxTowerH() const { return fMaxTowerH; }
113 Bool_t GetScaleAbs() const { return fScaleAbs; }
115 Float_t GetMaxValAbs() const { return fMaxValAbs; }
116
123
126
130
131 Bool_t GetAutoRange() const { return fAutoRange; }
133
134 void SetEta(Float_t l, Float_t u);
135 Float_t GetEta() const { return 0.5f*(fEtaMin+fEtaMax); }
136 Float_t GetEtaMin() const { return fEtaMin; }
137 Float_t GetEtaMax() const { return fEtaMax; }
138 Float_t GetEtaRng() const { return fEtaMax-fEtaMin; }
139
141 void SetPhiRng(Float_t rng) { SetPhiWithRng(fPhi, rng); }
143 Float_t GetPhi() const { return fPhi; }
144 Float_t GetPhiMin() const { return fPhi-fPhiOffset; }
145 Float_t GetPhiMax() const { return fPhi+fPhiOffset; }
146 Float_t GetPhiRng() const { return 2.0f*fPhiOffset; }
147
149
150 ClassDef(TEveCaloViz, 0); // Base-class for visualization of calorimeter eventdata.
151};
152
153/**************************************************************************/
154/**************************************************************************/
155
157{
158 friend class TEveCalo3DGL;
159private:
160 TEveCalo3D(const TEveCalo3D&); // Not implemented
161 TEveCalo3D& operator=(const TEveCalo3D&); // Not implemented
162
163protected:
165
168
172
173 virtual void BuildCellIdCache();
174
175public:
176 TEveCalo3D(TEveCaloData* d=0, const char* n="TEveCalo3D", const char* t="xx");
177 virtual ~TEveCalo3D() {}
178 virtual void ComputeBBox();
179
182
189
192
193 ClassDef(TEveCalo3D, 0); // Class for 3D visualization of calorimeter event data.
194};
195
196/**************************************************************************/
197/**************************************************************************/
198
199class TEveCalo2D : public TEveCaloViz,
200 public TEveProjected
201{
202 friend class TEveCalo2DGL;
203
204public:
205 typedef std::vector<TEveCaloData::vCellId_t*> vBinCells_t;
206 typedef std::vector<TEveCaloData::vCellId_t*>::iterator vBinCells_i;
207
208private:
209 TEveCalo2D(const TEveCalo2D&); // Not implemented
210 TEveCalo2D& operator=(const TEveCalo2D&); // Not implemented
211
213 void CellSelectionChangedInternal(TEveCaloData::vCellId_t& cells, std::vector<TEveCaloData::vCellId_t*>& cellLists);
214
215protected:
216 std::vector<TEveCaloData::vCellId_t*> fCellLists;
217
218 std::vector<TEveCaloData::vCellId_t*> fCellListsSelected;
219 std::vector<TEveCaloData::vCellId_t*> fCellListsHighlighted;
220
223
224 virtual void BuildCellIdCache();
225
226 virtual void SetDepthLocal(Float_t x) { fDepth = x; }
227
228public:
229 TEveCalo2D(const char* n="TEveCalo2D", const char* t="");
230 virtual ~TEveCalo2D();
231
232 virtual void SetProjection(TEveProjectionManager* proj, TEveProjectable* model);
233 virtual void UpdateProjection();
234 virtual void ComputeBBox();
235
236 virtual void CellSelectionChanged();
237
238 virtual void SetScaleAbs(Bool_t);
239
240 virtual Float_t GetValToHeight() const;
241
243
244 ClassDef(TEveCalo2D, 0); // Class for visualization of projected calorimeter event data.
245};
246/**************************************************************************/
247/**************************************************************************/
248
250{
251 friend class TEveCaloLegoGL;
253
254public:
258
259private:
260 TEveCaloLego(const TEveCaloLego&); // Not implemented
261 TEveCaloLego& operator=(const TEveCaloLego&); // Not implemented
262
263protected:
265
270
271 Int_t fNZSteps; // Z axis label step in GeV
273
277
280 EBoxMode_e fBoxMode; // additional scale info
281
284
286 Float_t fFixedHeightValIn2DMode; // 1% of whole height
287
290
291 virtual void BuildCellIdCache();
292
293public:
294 TEveCaloLego(TEveCaloData* data=0, const char* n="TEveCaloLego", const char* t="");
295 virtual ~TEveCaloLego(){}
296
297 virtual void ComputeBBox();
298 virtual void SetData(TEveCaloData* d);
299
300 Color_t GetFontColor() const { return fFontColor; }
302
303 Color_t GetGridColor() const { return fGridColor; }
305
308
311
312 Int_t GetNZSteps() const { return fNZSteps; }
314
317
318 Bool_t GetAutoRebin() const { return fAutoRebin; }
320
323
326
327 void Set2DMode(E2DMode_e p) { f2DMode = p; }
329
332
335
338
339 Bool_t GetDrawHPlane() const { return fDrawHPlane; }
341
342 Float_t GetHPlaneVal() const { return fHPlaneVal; }
344
349
350 ClassDef(TEveCaloLego, 0); // Class for visualization of calorimeter histogram data.
351};
352
353#endif
ROOT::R::TRInterface & r
Definition: Object.C:4
#define d(i)
Definition: RSha256.hxx:102
#define b(i)
Definition: RSha256.hxx:100
#define e(i)
Definition: RSha256.hxx:103
int Int_t
Definition: RtypesCore.h:41
char Char_t
Definition: RtypesCore.h:29
const Bool_t kFALSE
Definition: RtypesCore.h:88
bool Bool_t
Definition: RtypesCore.h:59
double Double_t
Definition: RtypesCore.h:55
short Color_t
Definition: RtypesCore.h:79
float Float_t
Definition: RtypesCore.h:53
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
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:46
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:75
OpenGL renderer class for TEveCalo2D.
Definition: TEveCalo2DGL.h:26
Visualization of a calorimeter event data in 2D.
Definition: TEveCalo.h:201
Float_t fMaxEtSumBin
Definition: TEveCalo.h:222
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:219
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:206
virtual void SetDepthLocal(Float_t x)
Base-class implementation – just sets fDepth.
Definition: TEveCalo.h:226
TEveCalo2D & operator=(const TEveCalo2D &)
Float_t fMaxESumBin
Definition: TEveCalo.h:221
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
Definition: TEveCalo.h:205
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:216
TEveCalo2D(const TEveCalo2D &)
TEveProjection::EPType_e fOldProjectionType
Definition: TEveCalo.h:212
const TEveCalo2D::vBinCells_t & GetBinLists() const
Definition: TEveCalo.h:242
virtual ~TEveCalo2D()
Destructor.
Definition: TEveCalo.cxx:507
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
Definition: TEveCalo.h:218
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
Definition: TEveCalo.cxx:536
OpenGL renderer class for TEveCalo3D.
Definition: TEveCalo3DGL.h:21
Visualization of a calorimeter event data in 3D.
Definition: TEveCalo.h:157
void SetFrameTransparency(Char_t x)
Definition: TEveCalo.h:190
virtual ~TEveCalo3D()
Definition: TEveCalo.h:177
TEveCaloData::vCellId_t fCellList
Definition: TEveCalo.h:164
Bool_t GetRnrBarrelFrame() const
Definition: TEveCalo.h:188
Bool_t fRnrBarrelFrame
Definition: TEveCalo.h:167
virtual void BuildCellIdCache()
Build list of drawn cell IDs. See TEveCalo3DGL::DirectDraw().
Definition: TEveCalo.cxx:459
Float_t GetFrameWidth() const
Definition: TEveCalo.h:181
void SetRnrEndCapFrame(Bool_t r)
Definition: TEveCalo.h:185
Color_t fFrameColor
Definition: TEveCalo.h:170
Bool_t fRnrEndCapFrame
Definition: TEveCalo.h:166
TEveCalo3D(const TEveCalo3D &)
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:184
Char_t GetFrameTransparency() const
Definition: TEveCalo.h:191
Char_t fFrameTransparency
Definition: TEveCalo.h:171
void SetRnrFrame(Bool_t e, Bool_t b)
Definition: TEveCalo.h:183
void SetRnrBarrelFrame(Bool_t r)
Definition: TEveCalo.h:186
TEveCalo3D & operator=(const TEveCalo3D &)
Bool_t GetRnrEndCapFrame() const
Definition: TEveCalo.h:187
Float_t fFrameWidth
Definition: TEveCalo.h:169
void SetFrameWidth(Float_t w)
Definition: TEveCalo.h:180
A central manager for calorimeter event data.
Definition: TEveCaloData.h:28
std::vector< CellId_t > vCellId_t
Definition: TEveCaloData.h:146
OpenGL renderer class for TEveCaloLego.
GL-overlay control GUI for TEveCaloLego.
Visualization of calorimeter data as eta/phi histogram.
Definition: TEveCalo.h:250
Bool_t GetNormalizeRebin() const
Definition: TEveCalo.h:321
Float_t fZAxisStep
Definition: TEveCalo.h:272
EProjection_e fProjection
Definition: TEveCalo.h:278
Bool_t fNormalizeRebin
Definition: TEveCalo.h:276
void Set2DMode(E2DMode_e p)
Definition: TEveCalo.h:327
Char_t fPlaneTransparency
Definition: TEveCalo.h:269
Int_t GetPixelsPerBin() const
Definition: TEveCalo.h:315
Color_t GetFontColor() const
Definition: TEveCalo.h:300
void SetProjection(EProjection_e p)
Definition: TEveCalo.h:325
void SetFontColor(Color_t ci)
Definition: TEveCalo.h:301
void SetHPlaneVal(Float_t s)
Definition: TEveCalo.h:343
void SetAutoRebin(Bool_t s)
Definition: TEveCalo.h:319
void SetDrawNumberCellPixels(Int_t x)
Definition: TEveCalo.h:346
virtual void SetData(TEveCaloData *d)
Definition: TEveCalo.cxx:817
void SetPlaneColor(Color_t ci)
Definition: TEveCalo.h:307
Color_t fPlaneColor
Definition: TEveCalo.h:268
@ kValSizeOutline
Definition: TEveCalo.h:256
void SetBoxMode(EBoxMode_e p)
Definition: TEveCalo.h:336
void SetPixelsPerBin(Int_t bw)
Definition: TEveCalo.h:316
void SetNormalizeRebin(Bool_t s)
Definition: TEveCalo.h:322
EBoxMode_e fBoxMode
Definition: TEveCalo.h:280
Int_t fDrawNumberCellPixels
Definition: TEveCalo.h:288
Color_t GetPlaneColor() const
Definition: TEveCalo.h:306
EProjection_e GetProjection() const
Definition: TEveCalo.h:324
E2DMode_e f2DMode
Definition: TEveCalo.h:279
Float_t fHPlaneVal
Definition: TEveCalo.h:283
Char_t GetPlaneTransparency() const
Definition: TEveCalo.h:309
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:348
Int_t GetDrawNumberCellPixels()
Definition: TEveCalo.h:345
float GetFixedHeightValIn2DMode() const
Definition: TEveCalo.h:333
void SetGridColor(Color_t ci)
Definition: TEveCalo.h:304
Bool_t GetDrawHPlane() const
Definition: TEveCalo.h:339
TEveCaloData::vCellId_t fCellList
Definition: TEveCalo.h:264
void SetHasFixedHeightIn2DMode(bool x)
Definition: TEveCalo.h:331
E2DMode_e Get2DMode()
Definition: TEveCalo.h:328
Bool_t GetAutoRebin() const
Definition: TEveCalo.h:318
Bool_t fHasFixedHeightIn2DMode
Definition: TEveCalo.h:285
TEveCaloLego(const TEveCaloLego &)
Int_t GetCellPixelFontSize()
Definition: TEveCalo.h:347
void SetDrawHPlane(Bool_t s)
Definition: TEveCalo.h:340
Color_t GetGridColor() const
Definition: TEveCalo.h:303
void SetPlaneTransparency(Char_t t)
Definition: TEveCalo.h:310
Float_t fFixedHeightValIn2DMode
Definition: TEveCalo.h:286
Color_t fFontColor
Definition: TEveCalo.h:266
Bool_t fDrawHPlane
Definition: TEveCalo.h:282
Float_t GetHPlaneVal() const
Definition: TEveCalo.h:342
Bool_t fAutoRebin
Definition: TEveCalo.h:274
virtual ~TEveCaloLego()
Definition: TEveCalo.h:295
TEveCaloLego & operator=(const TEveCaloLego &)
bool GetHasFixedHeightIn2DMode() const
Definition: TEveCalo.h:330
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition: TEveCalo.cxx:837
Int_t fCellPixelFontSize
Definition: TEveCalo.h:289
void SetFixedHeightValIn2DMode(float x)
Definition: TEveCalo.h:334
Color_t fGridColor
Definition: TEveCalo.h:267
EBoxMode_e GetBoxMode()
Definition: TEveCalo.h:337
Int_t fNZSteps
Definition: TEveCalo.h:271
Int_t GetNZSteps() const
Definition: TEveCalo.h:312
void SetNZSteps(Int_t s)
Definition: TEveCalo.h:313
Int_t fPixelsPerBin
Definition: TEveCalo.h:275
GUI editor for TEveCaloEditor.
Base class for calorimeter data visualization.
Definition: TEveCalo.h:31
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:100
void SetValueIsColor(Bool_t x)
Definition: TEveCalo.h:129
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
Definition: TEveCalo.cxx:121
Float_t fMaxTowerH
Definition: TEveCalo.h:56
Float_t fEndCapPosF
Definition: TEveCalo.h:51
Float_t GetEtaMin() const
Definition: TEveCalo.h:136
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
Definition: TEveCalo.cxx:293
TEveRGBAPalette * GetPalette() const
Definition: TEveCalo.h:124
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
Definition: TEveCalo.cxx:113
Float_t fPlotEt
Definition: TEveCalo.h:54
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
Definition: TEveCalo.cxx:86
Float_t GetMaxTowerH() const
Definition: TEveCalo.h:112
Float_t GetPhiRng() const
Definition: TEveCalo.h:146
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:101
void SetPlotEt(Bool_t x)
Set E/Et plot.
Definition: TEveCalo.cxx:148
TEveRGBAPalette * fPalette
Definition: TEveCalo.h:61
TEveCaloViz & operator=(const TEveCaloViz &)
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:140
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:60
Float_t fBarrelRadius
Definition: TEveCalo.h:50
Double_t fEtaMax
Definition: TEveCalo.h:43
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:99
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:103
Bool_t fAutoRange
Definition: TEveCalo.h:48
Float_t GetMaxVal() const
Definition: TEveCalo.cxx:159
void SetPhiRng(Float_t rng)
Definition: TEveCalo.h:141
Float_t GetForwardEndCapPos() const
Definition: TEveCalo.h:102
TEveCaloData * GetData() const
Definition: TEveCalo.h:86
void SetBackwardEndCapPos(Float_t z)
Definition: TEveCalo.h:106
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:135
virtual void CellSelectionChanged()
Definition: TEveCalo.h:82
virtual void SetScaleAbs(Bool_t x)
Definition: TEveCalo.h:84
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
Definition: TEveCalo.cxx:378
Bool_t fCellIdCacheOK
Definition: TEveCalo.h:40
Float_t GetPhi() const
Definition: TEveCalo.h:143
void SetEndCapPos(Float_t z)
Definition: TEveCalo.h:104
void InvalidateCellIdCache()
Definition: TEveCalo.h:92
void SetForwardEndCapPos(Float_t z)
Definition: TEveCalo.h:105
TEveCaloViz(const TEveCaloViz &)
void SetMaxTowerH(Float_t x)
Definition: TEveCalo.h:111
Float_t GetMaxValAbs() const
Definition: TEveCalo.h:115
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:108
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette object pointer.
Definition: TEveCalo.cxx:347
Float_t GetEtaMax() const
Definition: TEveCalo.h:137
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
Definition: TEveCalo.cxx:201
Bool_t fScaleAbs
Definition: TEveCalo.h:57
Double_t fPhiOffset
Definition: TEveCalo.h:46
void SetMaxValAbs(Float_t x)
Definition: TEveCalo.h:114
Double_t fPhi
Definition: TEveCalo.h:45
TEveCaloData * fData
Definition: TEveCalo.h:39
Float_t fEndCapPosB
Definition: TEveCalo.h:52
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:131
void SetAutoRange(Bool_t x)
Definition: TEveCalo.h:132
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:145
Double_t fEtaMin
Definition: TEveCalo.h:42
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:138
void DataChanged()
Update setting and cache on data changed.
Definition: TEveCalo.cxx:256
Float_t fMaxValAbs
Definition: TEveCalo.h:58
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:128
Bool_t GetScaleAbs() const
Definition: TEveCalo.h:113
Float_t GetPhiMin() const
Definition: TEveCalo.h:144
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:34
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
static constexpr double s
Cell data inner structure.
Definition: TEveCaloData.h:115
auto * l
Definition: textangle.C:4