Main Page
Namespaces
Classes
Package Documentation
Fireworks
Core
interface
FWDetailViewBase.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWDetailViewBase_h
2
#define Fireworks_Core_FWDetailViewBase_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWDetailViewBase
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Fri Jan 9 13:35:52 EST 2009
19
// $Id: FWDetailViewBase.h,v 1.6 2009/06/22 14:32:25 amraktad Exp
20
// system include files
21
22
#include "
Fireworks/Core/interface/FWSimpleProxyHelper.h
"
23
24
#include "Rtypes.h"
25
26
class
TEveWindow;
27
class
TEveWindowSlot;
28
class
FWModelId
;
29
class
FWEventItem
;
30
31
namespace
fireworks
{
32
class
Context
;
33
}
34
35
class
FWDetailViewBase
36
{
37
public
:
38
virtual
~
FWDetailViewBase
();
39
40
void
build (
const
FWModelId
&);
41
42
virtual
void
init
(TEveWindowSlot*) = 0;
43
virtual
void
setBackgroundColor
(Color_t
col
) {}
44
45
//canvas utilities
46
static
void
drawCanvasDot(Float_t x, Float_t y, Float_t
r
, Color_t);
47
static
void
drawCanvasBox(Double_t*
pos
, Color_t fillCol, Int_t fillType = 0,
bool
bg=kTRUE);
48
49
const
FWEventItem
*
item
() {
return
m_item; }
50
void
setItem
(
const
FWEventItem
* x) { m_item =x; }
51
const
fireworks::Context
& context()
const
;
52
53
protected
:
54
FWDetailViewBase
(
const
std::type_info&);
55
56
private
:
57
FWDetailViewBase
(
const
FWDetailViewBase
&) =
delete
;
// stop default
58
const
FWDetailViewBase
& operator=(
const
FWDetailViewBase
&) =
delete
;
// stop default
59
60
virtual
void
build(
const
FWModelId
&,
const
void
*) = 0;
61
62
const
FWEventItem
*
m_item
;
63
FWSimpleProxyHelper
m_helper
;
64
};
65
66
#endif
FWDetailViewBase::setBackgroundColor
virtual void setBackgroundColor(Color_t col)
Definition:
FWDetailViewBase.h:43
Context
FWDetailViewBase::m_helper
FWSimpleProxyHelper m_helper
Definition:
FWDetailViewBase.h:63
FWDetailViewBase::item
const FWEventItem * item()
Definition:
FWDetailViewBase.h:49
init
int init
Definition:
HydjetWrapper.h:67
FWSimpleProxyHelper
Definition:
FWSimpleProxyHelper.h:30
FWDetailViewBase::setItem
void setItem(const FWEventItem *x)
Definition:
FWDetailViewBase.h:50
FWSimpleProxyHelper.h
FWModelId
Definition:
FWModelId.h:28
FWDetailViewBase
Definition:
FWDetailViewBase.h:35
fireworks
Definition:
FWTauProxyBuilderBase.h:36
fireworks::Context
Definition:
Context.h:41
pos
Definition:
PixelAliasList.h:18
FWEventItem
Definition:
FWEventItem.h:56
alignCSCRings.r
r
Definition:
alignCSCRings.py:92
FWDetailViewBase::m_item
const FWEventItem * m_item
Definition:
FWDetailViewBase.h:62
cuy.col
col
Definition:
cuy.py:1009
Generated for CMSSW Reference Manual by
1.8.11