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"
17 #include "TEveProjectionManager.h"
18 
19 #include "TAtt3D.h"
20 #include "TAttBBox.h"
21 #include "TEveCaloData.h"
22 #include <vector>
23 
24 class TClass;
25 class TEveRGBAPalette;
26 
27 class TEveCaloViz : public TEveElement,
28  public TNamed,
29  public TAtt3D,
30  public TAttBBox,
31  public TEveProjectable
32 {
33  friend class TEveCaloVizEditor;
34 
35 private:
36  TEveCaloViz(const TEveCaloViz&) = delete;
37  TEveCaloViz& operator=(const TEveCaloViz&) = delete;
38 
39 protected:
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 
71 public:
72  TEveCaloViz(TEveCaloData* data=0, const char* n="TEveCaloViz", const char* t="");
73 
74  virtual ~TEveCaloViz();
75 
76  virtual TEveElement* ForwardSelection();
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 
92  Bool_t AssertCellIdCache() const;
94 
95  Float_t GetDataSliceThreshold(Int_t slice) const;
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 
118  Float_t GetTransitionEta() const;
121  Float_t GetTransitionTheta() const;
124 
125  TEveRGBAPalette* GetPalette() const { return fPalette; }
126  void SetPalette(TEveRGBAPalette* p);
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 
141  void SetPhi(Float_t phi) { SetPhiWithRng(phi, fPhiOffset); }
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 
157 class TEveCalo3D : public TEveCaloViz
158 {
159  friend class TEveCalo3DGL;
160 private:
161  TEveCalo3D(const TEveCalo3D&) = delete;
162  TEveCalo3D& operator=(const TEveCalo3D&) = delete;
163 
164 protected:
166 
169 
173 
174  virtual void BuildCellIdCache();
175 
176 public:
177  TEveCalo3D(TEveCaloData* d=0, const char* n="TEveCalo3D", const char* t="xx");
178  virtual ~TEveCalo3D() {}
179  virtual void ComputeBBox();
180 
182  Float_t GetFrameWidth() const { return fFrameWidth; }
183 
190 
193 
194  ClassDef(TEveCalo3D, 0); // Class for 3D visualization of calorimeter event data.
195 };
196 
197 /**************************************************************************/
198 /**************************************************************************/
199 
200 class TEveCalo2D : public TEveCaloViz,
201  public TEveProjected
202 {
203  friend class TEveCalo2DGL;
204 
205 public:
206  typedef std::vector<TEveCaloData::vCellId_t*> vBinCells_t;
207  typedef std::vector<TEveCaloData::vCellId_t*>::iterator vBinCells_i;
208 
209 private:
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 
216 protected:
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 
229 public:
230  TEveCalo2D(const char* n="TEveCalo2D", const char* t="");
231  virtual ~TEveCalo2D();
232 
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 
243  const TEveCalo2D::vBinCells_t& GetBinLists() const { return fCellLists; }
244 
245  ClassDef(TEveCalo2D, 0); // Class for visualization of projected calorimeter event data.
246 };
247 /**************************************************************************/
248 /**************************************************************************/
249 
250 class TEveCaloLego : public TEveCaloViz
251 {
252  friend class TEveCaloLegoGL;
253  friend class TEveCaloLegoOverlay;
254 
255 public:
259 
260 private:
261  TEveCaloLego(const TEveCaloLego&) = delete;
262  TEveCaloLego& operator=(const TEveCaloLego&) = delete;
263 
264 protected:
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 
294 public:
295  TEveCaloLego(TEveCaloData* data=0, 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; }
302  void SetFontColor(Color_t ci) { fFontColor=ci; }
303 
304  Color_t GetGridColor() const { return fGridColor; }
305  void SetGridColor(Color_t ci) { fGridColor=ci; }
306 
307  Color_t GetPlaneColor() const { return fPlaneColor; }
309 
312 
313  Int_t GetNZSteps() const { return fNZSteps; }
315 
316  Int_t GetPixelsPerBin() const { return fPixelsPerBin; }
318 
319  Bool_t GetAutoRebin() const { return fAutoRebin; }
321 
324 
327 
328  void Set2DMode(E2DMode_e p) { f2DMode = p; }
330 
333 
336 
337  void SetBoxMode(EBoxMode_e p) { fBoxMode = p; }
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
TEveCalo3DGL
Definition: TEveCalo3DGL.h:21
l
auto * l
Definition: textangle.C:4
TEveCaloViz::fEndCapPosB
Float_t fEndCapPosB
Definition: TEveCalo.h:53
n
const Int_t n
Definition: legend1.C:16
TEveCaloViz::GetScaleAbs
Bool_t GetScaleAbs() const
Definition: TEveCalo.h:114
TEveCaloViz::GetEtaRng
Float_t GetEtaRng() const
Definition: TEveCalo.h:139
TEveCaloData::CellData_t
Definition: TEveCaloData.h:114
TEveCaloViz::GetDataSliceColor
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
Definition: TEveCalo.cxx:121
TEveElement
Definition: TEveElement.h:35
TEveCalo3D::fRnrBarrelFrame
Bool_t fRnrBarrelFrame
Definition: TEveCalo.h:168
TEveCaloViz::GetEtaMin
Float_t GetEtaMin() const
Definition: TEveCalo.h:137
e
#define e(i)
Definition: RSha256.hxx:121
TEveCaloViz::CellSelectionChanged
virtual void CellSelectionChanged()
Definition: TEveCalo.h:83
TEveCaloLego::~TEveCaloLego
virtual ~TEveCaloLego()
Definition: TEveCalo.h:296
TEveCaloLego::GetDrawHPlane
Bool_t GetDrawHPlane() const
Definition: TEveCalo.h:340
TEveCaloLego::fZAxisStep
Float_t fZAxisStep
Definition: TEveCalo.h:273
TEveCaloLego::k3D
@ k3D
Definition: TEveCalo.h:256
TEveCaloLego::Set2DMode
void Set2DMode(E2DMode_e p)
Definition: TEveCalo.h:328
TEveCaloLego::fFixedHeightValIn2DMode
Float_t fFixedHeightValIn2DMode
Definition: TEveCalo.h:287
TEveCaloViz::GetPhiRng
Float_t GetPhiRng() const
Definition: TEveCalo.h:147
TEveCaloLego::SetPixelsPerBin
void SetPixelsPerBin(Int_t bw)
Definition: TEveCalo.h:317
TEveCaloLego::GetProjection
EProjection_e GetProjection() const
Definition: TEveCalo.h:325
TEveCaloLego::kValSizeOutline
@ kValSizeOutline
Definition: TEveCalo.h:257
TEveCaloViz::operator=
TEveCaloViz & operator=(const TEveCaloViz &)=delete
TEveCaloLego::f2DMode
E2DMode_e f2DMode
Definition: TEveCalo.h:280
TEveCaloViz::Paint
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
Definition: TEveCalo.cxx:396
TEveCaloViz::fEtaMax
Double_t fEtaMax
Definition: TEveCalo.h:44
TEveCalo2D::GetValToHeight
virtual Float_t GetValToHeight() const
Virtual function of TEveCaloViz.
Definition: TEveCalo.cxx:716
TEveCaloLego::SetDrawNumberCellPixels
void SetDrawNumberCellPixels(Int_t x)
Definition: TEveCalo.h:347
TEveCalo2D::fCellListsSelected
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
Definition: TEveCalo.h:219
TEveCaloViz::GetEtaMax
Float_t GetEtaMax() const
Definition: TEveCalo.h:138
TEveProjection
Definition: TEveProjections.h:26
r
ROOT::R::TRInterface & r
Definition: Object.C:4
TEveCaloViz::SetPhiRng
void SetPhiRng(Float_t rng)
Definition: TEveCalo.h:142
TEveCaloLego::GetPlaneColor
Color_t GetPlaneColor() const
Definition: TEveCalo.h:307
TEveCaloViz::fAutoRange
Bool_t fAutoRange
Definition: TEveCalo.h:49
TEveCaloViz::GetTransitionTheta
Float_t GetTransitionTheta() const
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition: TEveCalo.cxx:183
TEveCalo3D::GetRnrEndCapFrame
Bool_t GetRnrEndCapFrame() const
Definition: TEveCalo.h:188
TEveCalo3D::GetRnrFrame
void GetRnrFrame(Bool_t &e, Bool_t &b) const
Definition: TEveCalo.h:185
TEveCaloLego::GetGridColor
Color_t GetGridColor() const
Definition: TEveCalo.h:304
TEveCaloViz::DataChanged
void DataChanged()
Update setting and cache on data changed.
Definition: TEveCalo.cxx:256
Float_t
float Float_t
Definition: RtypesCore.h:57
TEveCaloLego::fFontColor
Color_t fFontColor
Definition: TEveCalo.h:267
TGeant4Unit::s
static constexpr double s
Definition: TGeant4SystemOfUnits.h:168
TEveCalo3D::GetRnrBarrelFrame
Bool_t GetRnrBarrelFrame() const
Definition: TEveCalo.h:189
TEveCaloLego::k2D
@ k2D
Definition: TEveCalo.h:256
TEveCaloViz::SetupColorHeight
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
Int_t
int Int_t
Definition: RtypesCore.h:45
TEveCaloData::vCellId_t
std::vector< CellId_t > vCellId_t
Definition: TEveCaloData.h:146
TEveCaloLegoOverlay
Definition: TEveCaloLegoOverlay.h:20
TEveCaloViz::GetBackwardEndCapPos
Float_t GetBackwardEndCapPos() const
Definition: TEveCalo.h:104
TEveCaloLego::E2DMode_e
E2DMode_e
Definition: TEveCalo.h:257
TEveCalo3D::ComputeBBox
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition: TEveCalo.cxx:471
TEveCaloViz::SetMaxValAbs
void SetMaxValAbs(Float_t x)
Definition: TEveCalo.h:115
x
Double_t x[n]
Definition: legend1.C:17
TEveCaloViz::fData
TEveCaloData * fData
Definition: TEveCalo.h:40
TEveProjection::EPType_e
EPType_e
Definition: TEveProjections.h:29
TEveCaloViz::fPlotEt
Float_t fPlotEt
Definition: TEveCalo.h:55
TEveCaloLego::kBack
@ kBack
Definition: TEveCalo.h:258
TEveElement.h
TEveCaloLego::GetHasFixedHeightIn2DMode
bool GetHasFixedHeightIn2DMode() const
Definition: TEveCalo.h:331
TEveCaloLego::kValColor
@ kValColor
Definition: TEveCalo.h:257
TEveCalo3D::fFrameWidth
Float_t fFrameWidth
Definition: TEveCalo.h:170
TEveCaloLego::fDrawHPlane
Bool_t fDrawHPlane
Definition: TEveCalo.h:283
TEveCaloViz::SetPhiWithRng
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
Definition: TEveCalo.cxx:170
TEveCaloViz::GetTransitionThetaForward
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
Definition: TEveCalo.cxx:201
TEveCaloViz::GetPhiMax
Float_t GetPhiMax() const
Definition: TEveCalo.h:146
TEveCalo3D::BuildCellIdCache
virtual void BuildCellIdCache()
Build list of drawn cell IDs. See TEveCalo3DGL::DirectDraw().
Definition: TEveCalo.cxx:459
TEveCalo3D::operator=
TEveCalo3D & operator=(const TEveCalo3D &)=delete
TEveCalo2D::CellSelectionChangedInternal
void CellSelectionChangedInternal(TEveCaloData::vCellId_t &cells, std::vector< TEveCaloData::vCellId_t * > &cellLists)
Sort selected cells in eta or phi bins.
Definition: TEveCalo.cxx:661
TEveCaloViz::ForwardEdit
virtual TEveElement * ForwardEdit()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
Definition: TEveCalo.cxx:105
TEveCaloViz::SetForwardEndCapPos
void SetForwardEndCapPos(Float_t z)
Definition: TEveCalo.h:106
TAtt3D
Definition: TAtt3D.h:19
TEveCaloLego::GetFontColor
Color_t GetFontColor() const
Definition: TEveCalo.h:301
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TEveCaloLego::fNormalizeRebin
Bool_t fNormalizeRebin
Definition: TEveCalo.h:277
Color_t
short Color_t
Definition: RtypesCore.h:83
TEveCaloViz::fPhiOffset
Double_t fPhiOffset
Definition: TEveCalo.h:47
TEveCaloLego::GetHPlaneVal
Float_t GetHPlaneVal() const
Definition: TEveCalo.h:343
TEveProjectionBases.h
b
#define b(i)
Definition: RSha256.hxx:118
TEveCaloLego::EProjection_e
EProjection_e
Definition: TEveCalo.h:256
bool
TEveCaloLego::GetBoxMode
EBoxMode_e GetBoxMode()
Definition: TEveCalo.h:338
TEveCalo3D::fCellList
TEveCaloData::vCellId_t fCellList
Definition: TEveCalo.h:165
TEveCaloLego::GetCellPixelFontSize
Int_t GetCellPixelFontSize()
Definition: TEveCalo.h:348
TEveCalo2D::TEveCalo2D
TEveCalo2D(const TEveCalo2D &)=delete
TEveCalo3D::SetFrameWidth
void SetFrameWidth(Float_t w)
Definition: TEveCalo.h:181
TEveCaloLego::SetCellPixelFontSize
void SetCellPixelFontSize(Int_t x)
Definition: TEveCalo.h:349
TEveCalo2D::vBinCells_i
std::vector< TEveCaloData::vCellId_t * >::iterator vBinCells_i
Definition: TEveCalo.h:207
TEveCaloViz::GetPhi
Float_t GetPhi() const
Definition: TEveCalo.h:144
TAttBBox
Definition: TAttBBox.h:17
TEveCaloViz::GetTransitionEta
Float_t GetTransitionEta() const
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition: TEveCalo.cxx:191
TEveCaloLego::SetProjection
void SetProjection(EProjection_e p)
Definition: TEveCalo.h:326
TEveCalo3D::SetRnrBarrelFrame
void SetRnrBarrelFrame(Bool_t r)
Definition: TEveCalo.h:187
TEveCaloLego::BuildCellIdCache
virtual void BuildCellIdCache()
Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().
Definition: TEveCalo.cxx:825
TEveCaloViz::BuildCellIdCache
virtual void BuildCellIdCache()=0
TEveCaloViz::GetForwardEndCapPos
Float_t GetForwardEndCapPos() const
Definition: TEveCalo.h:103
TEveCaloViz::AssertCellIdCache
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
Definition: TEveCalo.cxx:293
TEveCaloLego::fAutoRebin
Bool_t fAutoRebin
Definition: TEveCalo.h:275
TEveProjectable
Definition: TEveProjectionBases.h:34
TEveCaloViz::AssignCaloVizParameters
void AssignCaloVizParameters(TEveCaloViz *cv)
Assign parameters from given model.
Definition: TEveCalo.cxx:321
TEveCaloLego::fDrawNumberCellPixels
Int_t fDrawNumberCellPixels
Definition: TEveCalo.h:289
TEveCalo3D::SetRnrEndCapFrame
void SetRnrEndCapFrame(Bool_t r)
Definition: TEveCalo.h:186
TEveCalo2D::SetProjection
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
Set projection manager and model object.
Definition: TEveCalo.cxx:549
TEveCaloViz::GetEndCapPos
Float_t GetEndCapPos() const
Definition: TEveCalo.h:102
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TEveCalo3D::GetFrameTransparency
Char_t GetFrameTransparency() const
Definition: TEveCalo.h:192
TEveProjectionManager.h
TEveCaloLego::GetNZSteps
Int_t GetNZSteps() const
Definition: TEveCalo.h:313
TEveCaloLego::SetFontColor
void SetFontColor(Color_t ci)
Definition: TEveCalo.h:302
TEveCalo3D
Definition: TEveCalo.h:157
TEveCaloLego::SetAutoRebin
void SetAutoRebin(Bool_t s)
Definition: TEveCalo.h:320
TEveCaloLego::SetPlaneTransparency
void SetPlaneTransparency(Char_t t)
Definition: TEveCalo.h:311
TEveCaloLego::kAuto
@ kAuto
Definition: TEveCalo.h:256
TEveCalo2D::fOldProjectionType
TEveProjection::EPType_e fOldProjectionType
Definition: TEveCalo.h:213
TEveCaloLego::GetPixelsPerBin
Int_t GetPixelsPerBin() const
Definition: TEveCalo.h:316
TEveCalo3D::TEveCalo3D
TEveCalo3D(const TEveCalo3D &)=delete
TEveCalo2D::~TEveCalo2D
virtual ~TEveCalo2D()
Destructor.
Definition: TEveCalo.cxx:507
TAtt3D.h
TEveCaloLego::kNone
@ kNone
Definition: TEveCalo.h:258
TEveCaloLego::fHasFixedHeightIn2DMode
Bool_t fHasFixedHeightIn2DMode
Definition: TEveCalo.h:286
TEveCaloLego::fNZSteps
Int_t fNZSteps
Definition: TEveCalo.h:272
TEveCaloViz::GetTransitionThetaBackward
Float_t GetTransitionThetaBackward() const
Get transition angle between barrel and backward end-cap cells.
Definition: TEveCalo.cxx:219
TEveCalo2D::operator=
TEveCalo2D & operator=(const TEveCalo2D &)=delete
TEveProjectionManager
Definition: TEveProjectionManager.h:20
TEveCaloLego::kFrontBack
@ kFrontBack
Definition: TEveCalo.h:258
TEveCaloLego::fProjection
EProjection_e fProjection
Definition: TEveCalo.h:279
TAttBBox.h
TEveCaloViz::GetTransitionEtaBackward
Float_t GetTransitionEtaBackward() const
Get transition eta between barrel and backward end-cap cells.
Definition: TEveCalo.cxx:227
TEveCaloViz::GetValToHeight
virtual Float_t GetValToHeight() const
Get transformation factor from E/Et to height.
Definition: TEveCalo.cxx:358
TAttBBox::ResetBBox
void ResetBBox()
Definition: TAttBBox.h:52
TNamed
Definition: TNamed.h:29
TEveCaloLego::kValSize
@ kValSize
Definition: TEveCalo.h:257
TEveCaloViz::GetPhiMin
Float_t GetPhiMin() const
Definition: TEveCalo.h:145
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TEveCalo2D::UpdateProjection
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
Definition: TEveCalo.cxx:536
TEveCaloViz::ProjectedClass
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCalo2D class.
Definition: TEveCalo.cxx:407
TEveCaloViz::fPalette
TEveRGBAPalette * fPalette
Definition: TEveCalo.h:62
TEveCalo2D::GetBinLists
const TEveCalo2D::vBinCells_t & GetBinLists() const
Definition: TEveCalo.h:243
TEveCaloLego::SetHasFixedHeightIn2DMode
void SetHasFixedHeightIn2DMode(bool x)
Definition: TEveCalo.h:332
TEveCaloLego::GetNormalizeRebin
Bool_t GetNormalizeRebin() const
Definition: TEveCalo.h:322
TEveCaloViz::GetMaxTowerH
Float_t GetMaxTowerH() const
Definition: TEveCalo.h:113
TEveCaloLego::SetNZSteps
void SetNZSteps(Int_t s)
Definition: TEveCalo.h:314
TEveCaloLego::operator=
TEveCaloLego & operator=(const TEveCaloLego &)=delete
TEveCaloViz::CellInEtaPhiRng
Bool_t CellInEtaPhiRng(TEveCaloData::CellData_t &) const
Returns true if given cell is in the ceta phi range.
Definition: TEveCalo.cxx:307
TEveCaloViz::SetEndCapPos
void SetEndCapPos(Float_t z)
Definition: TEveCalo.h:105
TEveCaloViz::SetValueIsColor
void SetValueIsColor(Bool_t x)
Definition: TEveCalo.h:130
TEveCaloViz
Definition: TEveCalo.h:27
TEveCaloLego::SetPlaneColor
void SetPlaneColor(Color_t ci)
Definition: TEveCalo.h:308
TEveCaloViz::SetDataSliceThreshold
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
Definition: TEveCalo.cxx:113
TEveCaloViz::fMaxTowerH
Float_t fMaxTowerH
Definition: TEveCalo.h:57
TEveCalo2D::CellSelectionChanged
virtual void CellSelectionChanged()
Sort selected cells in eta or phi bins for selection and highlight.
Definition: TEveCalo.cxx:652
TEveCaloViz::fScaleAbs
Bool_t fScaleAbs
Definition: TEveCalo.h:58
TEveCaloViz::SetPalette
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette object pointer.
Definition: TEveCalo.cxx:347
TEveCalo2D::fCellLists
std::vector< TEveCaloData::vCellId_t * > fCellLists
Definition: TEveCalo.h:217
TEveCalo3D::fFrameColor
Color_t fFrameColor
Definition: TEveCalo.h:171
TEveCaloData
Definition: TEveCaloData.h:26
TEveCaloViz::fValueIsColor
Bool_t fValueIsColor
Definition: TEveCalo.h:61
TEveCalo2D::vBinCells_t
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
Definition: TEveCalo.h:206
TEveCaloViz::TEveCaloViz
TEveCaloViz(const TEveCaloViz &)=delete
TEveCaloViz::SetAutoRange
void SetAutoRange(Bool_t x)
Definition: TEveCalo.h:133
TEveCaloViz::GetMaxValAbs
Float_t GetMaxValAbs() const
Definition: TEveCalo.h:116
TEveCaloData.h
TEveCaloLego::GetAutoRebin
Bool_t GetAutoRebin() const
Definition: TEveCalo.h:319
TEveCaloViz::GetValueIsColor
Bool_t GetValueIsColor() const
Definition: TEveCalo.h:129
TEveCaloLego::Get2DMode
E2DMode_e Get2DMode()
Definition: TEveCalo.h:329
TEveCaloViz::InvalidateCellIdCache
void InvalidateCellIdCache()
Definition: TEveCalo.h:93
TEveCalo2D::ComputeBBox
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition: TEveCalo.cxx:740
TEveCalo3D::SetFrameTransparency
void SetFrameTransparency(Char_t x)
Definition: TEveCalo.h:191
TEveCalo3D::fRnrEndCapFrame
Bool_t fRnrEndCapFrame
Definition: TEveCalo.h:167
TEveCaloViz::GetAutoRange
Bool_t GetAutoRange() const
Definition: TEveCalo.h:132
TEveCaloViz::fEndCapPosF
Float_t fEndCapPosF
Definition: TEveCalo.h:52
TEveCaloLego::fPlaneColor
Color_t fPlaneColor
Definition: TEveCalo.h:269
TEveCaloLegoGL
Definition: TEveCaloLegoGL.h:27
TEveCaloLego::fBoxMode
EBoxMode_e fBoxMode
Definition: TEveCalo.h:281
TEveCaloViz::SetEta
void SetEta(Float_t l, Float_t u)
Set eta range.
Definition: TEveCalo.cxx:137
TEveCaloLego::fPlaneTransparency
Char_t fPlaneTransparency
Definition: TEveCalo.h:270
TEveCaloLego::fPixelsPerBin
Int_t fPixelsPerBin
Definition: TEveCalo.h:276
TEveCaloLego::fCellPixelFontSize
Int_t fCellPixelFontSize
Definition: TEveCalo.h:290
Double_t
double Double_t
Definition: RtypesCore.h:59
TEveCaloLego::fGridColor
Color_t fGridColor
Definition: TEveCalo.h:268
TEveCaloViz::SetData
void SetData(TEveCaloData *d)
Set calorimeter event data.
Definition: TEveCalo.cxx:239
TEveCaloViz::SetScaleAbs
virtual void SetScaleAbs(Bool_t x)
Definition: TEveCalo.h:85
TEveCaloViz::AssertPalette
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
Definition: TEveCalo.cxx:378
TEveCaloLego::SetData
virtual void SetData(TEveCaloData *d)
Definition: TEveCalo.cxx:817
TEveCaloLego::GetPlaneTransparency
Char_t GetPlaneTransparency() const
Definition: TEveCalo.h:310
TEveProjected
Definition: TEveProjectionBases.h:83
TEveCaloViz::SetPlotEt
void SetPlotEt(Bool_t x)
Set E/Et plot.
Definition: TEveCalo.cxx:148
TClass
Definition: TClass.h:80
TEveCaloViz::GetPalette
TEveRGBAPalette * GetPalette() const
Definition: TEveCalo.h:125
TEveCaloLego::SetGridColor
void SetGridColor(Color_t ci)
Definition: TEveCalo.h:305
TEveCaloViz::GetData
TEveCaloData * GetData() const
Definition: TEveCalo.h:87
TEveCaloLego::SetFixedHeightValIn2DMode
void SetFixedHeightValIn2DMode(float x)
Definition: TEveCalo.h:335
TEveProjected::fDepth
Float_t fDepth
Definition: TEveProjectionBases.h:92
TEveCaloViz::~TEveCaloViz
virtual ~TEveCaloViz()
Destructor.
Definition: TEveCalo.cxx:78
TEveCalo2D::fCellListsHighlighted
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted
Definition: TEveCalo.h:220
TEveCaloLego::GetDrawNumberCellPixels
Int_t GetDrawNumberCellPixels()
Definition: TEveCalo.h:346
TEveCaloViz::GetEta
Float_t GetEta() const
Definition: TEveCalo.h:136
TEveCaloLego::SetBoxMode
void SetBoxMode(EBoxMode_e p)
Definition: TEveCalo.h:337
TEveCaloViz::SetBackwardEndCapPos
void SetBackwardEndCapPos(Float_t z)
Definition: TEveCalo.h:107
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveCaloViz::ForwardSelection
virtual TEveElement * ForwardSelection()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
Definition: TEveCalo.cxx:95
TEveCaloLego::SetNormalizeRebin
void SetNormalizeRebin(Bool_t s)
Definition: TEveCalo.h:323
TEveCaloLego::EBoxMode_e
EBoxMode_e
Definition: TEveCalo.h:258
TEveCaloViz::GetDataSliceThreshold
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
Definition: TEveCalo.cxx:86
TEveCaloViz::SetPhi
void SetPhi(Float_t phi)
Definition: TEveCalo.h:141
d
#define d(i)
Definition: RSha256.hxx:120
TEveCaloLego::TEveCaloLego
TEveCaloLego(const TEveCaloLego &)=delete
TEveCalo2D::fMaxESumBin
Float_t fMaxESumBin
Definition: TEveCalo.h:222
TEveCaloViz::GetBarrelRadius
Float_t GetBarrelRadius() const
Definition: TEveCalo.h:100
TEveCaloViz::GetPlotEt
Bool_t GetPlotEt() const
Definition: TEveCalo.h:109
TEveCalo2D::SetDepthLocal
virtual void SetDepthLocal(Float_t x)
Base-class implementation – just sets fDepth.
Definition: TEveCalo.h:227
TEveCalo2D::fMaxEtSumBin
Float_t fMaxEtSumBin
Definition: TEveCalo.h:223
make_cnn_model.model
model
Definition: make_cnn_model.py:6
TEveCaloLego::GetFixedHeightValIn2DMode
float GetFixedHeightValIn2DMode() const
Definition: TEveCalo.h:334
TEveCaloViz::SetDataSliceColor
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
Definition: TEveCalo.cxx:129
TEveCaloViz::fPhi
Double_t fPhi
Definition: TEveCalo.h:46
TEveCalo2D::SetScaleAbs
virtual void SetScaleAbs(Bool_t)
Set absolute scale in projected calorimeter.
Definition: TEveCalo.cxx:706
TEveCaloLego
Definition: TEveCalo.h:250
TEveCaloLego::SetDrawHPlane
void SetDrawHPlane(Bool_t s)
Definition: TEveCalo.h:341
TEveCaloViz::fEtaMin
Double_t fEtaMin
Definition: TEveCalo.h:43
TEveCalo2D::BuildCellIdCache
virtual void BuildCellIdCache()
Build lists of drawn cell IDs. See TEveCalo2DGL::DirecDraw().
Definition: TEveCalo.cxx:559
TEveCalo2D
Definition: TEveCalo.h:200
Char_t
char Char_t
Definition: RtypesCore.h:33
TEveCalo3D::SetRnrFrame
void SetRnrFrame(Bool_t e, Bool_t b)
Definition: TEveCalo.h:184
TEveCalo3D::GetFrameWidth
Float_t GetFrameWidth() const
Definition: TEveCalo.h:182
TEveCaloViz::fBarrelRadius
Float_t fBarrelRadius
Definition: TEveCalo.h:51
TEveCaloLego::fCellList
TEveCaloData::vCellId_t fCellList
Definition: TEveCalo.h:265
TEveCaloLego::fHPlaneVal
Float_t fHPlaneVal
Definition: TEveCalo.h:284
TEveCalo3D::fFrameTransparency
Char_t fFrameTransparency
Definition: TEveCalo.h:172
TEveCalo3D::~TEveCalo3D
virtual ~TEveCalo3D()
Definition: TEveCalo.h:178
TEveCaloLego::ComputeBBox
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
Definition: TEveCalo.cxx:837
TEveCaloViz::fMaxValAbs
Float_t fMaxValAbs
Definition: TEveCalo.h:59
TEveCaloViz::fCellIdCacheOK
Bool_t fCellIdCacheOK
Definition: TEveCalo.h:41
TEveCaloViz::SetMaxTowerH
void SetMaxTowerH(Float_t x)
Definition: TEveCalo.h:112
TEveCaloViz::SetBarrelRadius
void SetBarrelRadius(Float_t r)
Definition: TEveCalo.h:101
TEveCaloLego::SetHPlaneVal
void SetHPlaneVal(Float_t s)
Definition: TEveCalo.h:344
TEveCaloViz::GetMaxVal
Float_t GetMaxVal() const
Definition: TEveCalo.cxx:159
TEveCalo2DGL
Definition: TEveCalo2DGL.h:26
TEveCaloViz::GetTransitionEtaForward
Float_t GetTransitionEtaForward() const
Get transition eta between barrel and forward end-cap cells.
Definition: TEveCalo.cxx:209
int
TEveRGBAPalette
Definition: TEveRGBAPalette.h:22
TEveCaloVizEditor
Definition: TEveCaloVizEditor.h:28