206 typedef std::vector<TEveCaloData::vCellId_t*>::iterator
vBinCells_i;
213 void CellSelectionChangedInternal(
TEveCaloData::vCellId_t& cells, std::vector<TEveCaloData::vCellId_t*>& cellLists);
229 TEveCalo2D(
const char*
n=
"TEveCalo2D",
const char* t=
"");
233 virtual void UpdateProjection();
256 enum E2DMode_e { kValColor, kValSize, kValSizeOutline };
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
Abstract base class for classes that hold results of a non-linear projection transformation.
void SetNormalizeRebin(Bool_t s)
TEveCaloData * GetData() const
Float_t GetMaxTowerH() const
TEveProjection::EPType_e fOldProjectionType
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
A central manager for calorimeter event data.
void SetHasFixedHeightIn2DMode(bool x)
void SetEta(Float_t l, Float_t u)
Set eta range.
void SetForwardEndCapPos(Float_t z)
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette object pointer.
void SetPlotEt(Bool_t x)
Set E/Et plot.
Bool_t GetNormalizeRebin() const
Float_t GetMaxValAbs() const
virtual void SetDepthLocal(Float_t x)
Base-class implementation – just sets fDepth.
void SetMaxTowerH(Float_t x)
bool GetHasFixedHeightIn2DMode() const
OpenGL renderer class for TEveCaloLego.
Bool_t GetRnrEndCapFrame() const
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
void SetDrawNumberCellPixels(Int_t x)
Bool_t GetRnrBarrelFrame() const
virtual TEveElement * ForwardSelection()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
Char_t GetFrameTransparency() const
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
TEveCaloViz & operator=(const TEveCaloViz &)
Float_t GetPhiMax() const
Use this attribute class when an object should have 3D capabilities.
Float_t GetForwardEndCapPos() const
Float_t GetTransitionEtaBackward() const
Get transition eta between barrel and backward end-cap cells.
void SetFixedHeightValIn2DMode(float x)
Float_t GetEndCapPos() const
TEveCaloViz(const TEveCaloViz &)
Float_t fFixedHeightValIn2DMode
TEveCaloData::vCellId_t fCellList
void SetPixelsPerBin(Int_t bw)
void Set2DMode(E2DMode_e p)
Float_t GetTransitionThetaBackward() const
Get transition angle between barrel and backward end-cap cells.
Char_t fPlaneTransparency
Int_t GetDrawNumberCellPixels()
virtual void BuildCellIdCache()=0
void SetFrameTransparency(Char_t x)
void SetProjection(EProjection_e p)
Float_t GetEtaRng() const
void SetFontColor(Color_t ci)
void SetBarrelRadius(Float_t r)
Float_t GetEtaMin() const
void SetCellPixelFontSize(Int_t x)
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
float GetFixedHeightValIn2DMode() const
void SetAutoRange(Bool_t x)
void SetRnrEndCapFrame(Bool_t r)
#define ClassDef(name, id)
Visualization of a calorimeter event data in 2D.
Bool_t GetValueIsColor() const
EProjection_e GetProjection() const
The TNamed class is the base class for all named ROOT classes.
Color_t GetGridColor() const
Bool_t fHasFixedHeightIn2DMode
Float_t GetPhiMin() const
virtual void SetScaleAbs(Bool_t x)
Base-class for non-linear projections.
std::vector< CellId_t > vCellId_t
TEveRGBAPalette * GetPalette() const
Float_t GetTransitionTheta() const
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
virtual ~TEveCaloViz()
Destructor.
Manager class for steering of projections and managing projected objects.
Bool_t GetScaleAbs() const
Float_t GetHPlaneVal() const
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
void SetRnrFrame(Bool_t e, Bool_t b)
Float_t GetFrameWidth() const
virtual void ComputeBBox()=0
Abstract base-class for non-linear projectable objects.
std::vector< TEveCaloData::vCellId_t * > fCellLists
void SetRnrBarrelFrame(Bool_t r)
void InvalidateCellIdCache()
void SetBackwardEndCapPos(Float_t z)
Float_t GetTransitionEtaForward() const
Get transition eta between barrel and forward end-cap cells.
Float_t GetTransitionEta() const
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Int_t GetCellPixelFontSize()
OpenGL renderer class for TEveCalo2D.
Color_t GetPlaneColor() const
const TEveCalo2D::vBinCells_t & GetBinLists() const
OpenGL renderer class for TEveCalo3D.
TEveCaloData::vCellId_t fCellList
GUI editor for TEveCaloEditor.
The ROOT global object gROOT contains a list of all defined classes.
Color_t GetFontColor() const
virtual void CellSelectionChanged()
Int_t fDrawNumberCellPixels
EProjection_e fProjection
Char_t GetPlaneTransparency() const
void SetHPlaneVal(Float_t s)
Char_t fFrameTransparency
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
void SetGridColor(Color_t ci)
void SetPlaneTransparency(Char_t t)
Visualization of calorimeter data as eta/phi histogram.
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.
Float_t GetBarrelRadius() const
std::vector< TEveCaloData::vCellId_t * >::iterator vBinCells_i
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted
Float_t GetEtaMax() const
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Base class for calorimeter data visualization.
void DataChanged()
Update setting and cache on data changed.
Bool_t CellInEtaPhiRng(TEveCaloData::CellData_t &) const
Returns true if given cell is in the ceta phi range.
void SetFrameWidth(Float_t w)
void SetValueIsColor(Bool_t x)
void SetBoxMode(EBoxMode_e p)
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
Bool_t GetAutoRebin() const
you should not use this method at all Int_t Int_t z
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCalo2D class.
Float_t GetBackwardEndCapPos() const
Float_t GetMaxVal() const
Int_t GetPixelsPerBin() const
Helper for management of bounding-box information.
void SetPhiRng(Float_t rng)
Float_t GetPhiRng() const
void SetEndCapPos(Float_t z)
void SetPlaneColor(Color_t ci)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Cell data inner structure.
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
void SetDrawHPlane(Bool_t s)
void AssignCaloVizParameters(TEveCaloViz *cv)
Assign parameters from given model.
void SetAutoRebin(Bool_t s)
Visualization of a calorimeter event data in 3D.
void SetData(TEveCaloData *d)
Set calorimeter event data.
TEveRGBAPalette * fPalette
void SetMaxValAbs(Float_t x)
GL-overlay control GUI for TEveCaloLego.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Bool_t GetAutoRange() const
Bool_t GetDrawHPlane() const
virtual Float_t GetValToHeight() const
Get transformation factor from E/Et to height.
void GetRnrFrame(Bool_t &e, Bool_t &b) const
virtual TEveElement * ForwardEdit()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.