Main Page
Namespaces
Classes
Package Documentation
src
Fireworks
Core
src
FWViewContext.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : FWViewContext
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Alja Mrak-Tadel
10
// Created: Wed Apr 14 18:31:58 CEST 2010
11
//
12
13
// system include files
14
15
// user include files
16
#include "
Fireworks/Core/interface/FWViewContext.h
"
17
#include "
Fireworks/Core/interface/FWViewEnergyScale.h
"
18
19
FWViewContext::FWViewContext
():
20
m_energyScale(
nullptr
)
21
{
22
}
23
24
FWViewContext::~FWViewContext
()
25
{
26
}
27
28
29
void
30
FWViewContext::scaleChanged
()
31
{
32
scaleChanged_
.emit(
this
);
33
}
34
35
FWViewEnergyScale
*
36
FWViewContext::getEnergyScale
()
const
37
{
38
return
m_energyScale
;
39
}
40
41
void
42
FWViewContext::setEnergyScale
(
FWViewEnergyScale
*
x
)
43
{
44
m_energyScale
=
x
;
45
}
FWViewContext::scaleChanged
void scaleChanged()
Definition:
FWViewContext.cc:30
FWViewContext::m_energyScale
FWViewEnergyScale * m_energyScale
Definition:
FWViewContext.h:52
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
FWViewContext::getEnergyScale
FWViewEnergyScale * getEnergyScale() const
Definition:
FWViewContext.cc:36
FWViewContext::scaleChanged_
sigc::signal< void, const FWViewContext * > scaleChanged_
Definition:
FWViewContext.h:43
FWViewContext::FWViewContext
FWViewContext()
Definition:
FWViewContext.cc:19
FWViewEnergyScale
Definition:
FWViewEnergyScale.h:34
FWViewEnergyScale.h
FWViewContext::~FWViewContext
virtual ~FWViewContext()
Definition:
FWViewContext.cc:24
FWViewContext.h
DDAxes::x
FWViewContext::setEnergyScale
void setEnergyScale(FWViewEnergyScale *)
Definition:
FWViewContext.cc:42
Generated for CMSSW Reference Manual by
1.8.11