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
class
TEveWindow;
25
class
FWModelId
;
26
class
FWEventItem
;
27
28
namespace
fireworks
{
29
class
Context
;
30
}
31
32
class
FWDetailViewBase
33
{
34
public
:
35
virtual
~
FWDetailViewBase
();
36
37
void
build (
const
FWModelId
&);
38
39
virtual
void
init
(TEveWindowSlot*) = 0;
40
virtual
void
setBackgroundColor
(Color_t
col
) {}
41
42
//canvas utilities
43
static
void
drawCanvasDot(Float_t
x
, Float_t y, Float_t
r
, Color_t);
44
static
void
drawCanvasBox(Double_t*
pos
, Color_t fillCol, Int_t fillType = 0,
bool
bg=kTRUE);
45
46
const
FWEventItem
*
item
() {
return
m_item; }
47
void
setItem
(
const
FWEventItem
* x) { m_item =x; }
48
const
fireworks::Context
& context()
const
;
49
50
protected
:
51
FWDetailViewBase
(
const
std::type_info&);
52
53
private
:
54
FWDetailViewBase
(
const
FWDetailViewBase
&);
// stop default
55
const
FWDetailViewBase
& operator=(
const
FWDetailViewBase
&);
// stop default
56
57
virtual
void
build(
const
FWModelId
&,
const
void
*) = 0;
58
59
const
FWEventItem
*
m_item
;
60
FWSimpleProxyHelper
m_helper
;
61
};
62
63
#endif
StGenEvtProducer_cfi.init
init
Definition:
StGenEvtProducer_cfi.py:9
FWDetailViewBase::setBackgroundColor
virtual void setBackgroundColor(Color_t col)
Definition:
FWDetailViewBase.h:40
Context
FWDetailViewBase::m_helper
FWSimpleProxyHelper m_helper
Definition:
FWDetailViewBase.h:60
FWDetailViewBase::item
const FWEventItem * item()
Definition:
FWDetailViewBase.h:46
FWSimpleProxyHelper
Definition:
FWSimpleProxyHelper.h:30
FWDetailViewBase::setItem
void setItem(const FWEventItem *x)
Definition:
FWDetailViewBase.h:47
FWSimpleProxyHelper.h
FWModelId
Definition:
FWModelId.h:28
FWDetailViewBase
Definition:
FWDetailViewBase.h:32
x
T x() const
Cartesian x coordinate.
Definition:
Basic3DVectorLD.h:127
fireworks
Definition:
FWTauProxyBuilderBase.h:36
fireworks::Context
Definition:
Context.h:41
pos
Definition:
PixelAliasList.h:14
FWEventItem
Definition:
FWEventItem.h:56
alignCSCRings.r
r
Definition:
alignCSCRings.py:92
FWDetailViewBase::m_item
const FWEventItem * m_item
Definition:
FWDetailViewBase.h:59
cuy.col
col
Definition:
cuy.py:1008
Generated for CMSSW Reference Manual by
1.8.11