Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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):
38
FWLegoViewBase
(slot, typeId)
39
{
40
}
41
42
// FWHFView::FWHFView(const FWHFView& rhs)
43
// {
44
// // do actual copying here;
45
// }
46
47
FWHFView::~FWHFView
()
48
{
49
}
50
51
//
52
// assignment operators
53
//
54
// const FWHFView& FWHFView::operator=(const FWHFView& rhs)
55
// {
56
// //An exception safe implementation is
57
// FWHFView temp(rhs);
58
// swap(rhs);
59
//
60
// return *this;
61
// }
62
63
//
64
// member functions
65
//
66
67
//
68
// const member functions
69
//
70
71
//
72
// static member functions
73
//
74
75
76
void
77
FWHFView::setContext
(
const
fireworks::Context
& context)
78
{
79
FWLegoViewBase::setContext
(context);
80
81
// phi bins center shifted for 10 degres
82
m_lego
->RefMainTrans().SetPos(0, -TMath::DegToRad()*10, 0);
83
}
84
85
86
FWHFView::FWHFView
FWHFView(TEveWindowSlot *, FWViewType::EType)
Definition:
FWHFView.cc:37
FWHFView::~FWHFView
virtual ~FWHFView()
Definition:
FWHFView.cc:47
Context.h
FWEnumParameter.h
FWHFView.h
FWLegoViewBase::setContext
virtual void setContext(const fireworks::Context &)
Definition:
FWLegoViewBase.cc:96
FWHFView::setContext
virtual void setContext(const fireworks::Context &)
Definition:
FWHFView.cc:77
fireworks::Context
Definition:
Context.h:41
FWLegoViewBase::m_lego
TEveCaloLego * m_lego
Definition:
FWLegoViewBase.h:59
FWViewType::EType
EType
Definition:
FWViewType.h:33
FWLegoViewBase
Definition:
FWLegoViewBase.h:39
FWGenericParameter.h
Generated for CMSSW Reference Manual by
1.8.5