Fireworks
Core
src
FWHFView.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : FWHFView
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author:
10
// Created: Mon May 31 13:42:13 CEST 2010
11
//
12
13
// system include files
14
15
// user include files
16
#include "TEveCalo.h"
17
#include "TEveCaloData.h"
18
#include "TEveTrans.h"
19
20
#include "
Fireworks/Core/interface/FWHFView.h
"
21
#include "
Fireworks/Core/interface/Context.h
"
22
#include "
Fireworks/Core/interface/FWGenericParameter.h
"
23
24
#include "
Fireworks/Core/interface/FWEnumParameter.h
"
25
26
//
27
// constants, enums and typedefs
28
//
29
30
//
31
// static data member definitions
32
//
33
34
//
35
// constructors and destructor
36
//
37
FWHFView::FWHFView
(TEveWindowSlot* slot,
FWViewType::EType
typeId) :
FWLegoViewBase
(slot, typeId) {}
38
39
// FWHFView::FWHFView(const FWHFView& rhs)
40
// {
41
// // do actual copying here;
42
// }
43
44
FWHFView::~FWHFView
() {}
45
46
//
47
// assignment operators
48
//
49
// const FWHFView& FWHFView::operator=(const FWHFView& rhs)
50
// {
51
// //An exception safe implementation is
52
// FWHFView temp(rhs);
53
// swap(rhs);
54
//
55
// return *this;
56
// }
57
58
//
59
// member functions
60
//
61
62
//
63
// const member functions
64
//
65
66
//
67
// static member functions
68
//
69
70
void
FWHFView::setContext
(
const
fireworks::Context
& context) {
71
FWLegoViewBase::setContext
(
context
);
72
73
// phi bins center shifted for 10 degres
74
m_lego
->RefMainTrans().SetPos(0, -TMath::DegToRad() * 10, 0);
75
}
fireworks::Context
Definition:
Context.h:41
FWViewType::EType
EType
Definition:
FWViewType.h:31
FWHFView::FWHFView
FWHFView(TEveWindowSlot *, FWViewType::EType)
Definition:
FWHFView.cc:37
FWLegoViewBase
Definition:
FWLegoViewBase.h:39
FWEveView::context
const fireworks::Context & context()
Definition:
FWEveView.h:64
FWLegoViewBase::m_lego
TEveCaloLego * m_lego
Definition:
FWLegoViewBase.h:58
FWEnumParameter.h
FWHFView.h
FWGenericParameter.h
FWHFView::setContext
void setContext(const fireworks::Context &) override
Definition:
FWHFView.cc:70
FWHFView::~FWHFView
~FWHFView() override
Definition:
FWHFView.cc:44
FWLegoViewBase::setContext
void setContext(const fireworks::Context &) override
Definition:
FWLegoViewBase.cc:88
Context.h
Generated for CMSSW Reference Manual by
1.8.16