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
// $Id: FWHFView.cc,v 1.12 2011/02/22 18:37:31 amraktad Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "TEveCalo.h"
18
#include "TEveCaloData.h"
19
#include "TEveTrans.h"
20
21
#include "
Fireworks/Core/interface/FWHFView.h
"
22
#include "
Fireworks/Core/interface/Context.h
"
23
#include "
Fireworks/Core/interface/FWGenericParameter.h
"
24
25
#include "
Fireworks/Core/interface/FWEnumParameter.h
"
26
27
//
28
// constants, enums and typedefs
29
//
30
31
//
32
// static data member definitions
33
//
34
35
//
36
// constructors and destructor
37
//
38
FWHFView::FWHFView
(TEveWindowSlot* slot,
FWViewType::EType
typeId):
39
FWLegoViewBase
(slot, typeId)
40
{
41
}
42
43
// FWHFView::FWHFView(const FWHFView& rhs)
44
// {
45
// // do actual copying here;
46
// }
47
48
FWHFView::~FWHFView
()
49
{
50
}
51
52
//
53
// assignment operators
54
//
55
// const FWHFView& FWHFView::operator=(const FWHFView& rhs)
56
// {
57
// //An exception safe implementation is
58
// FWHFView temp(rhs);
59
// swap(rhs);
60
//
61
// return *this;
62
// }
63
64
//
65
// member functions
66
//
67
68
//
69
// const member functions
70
//
71
72
//
73
// static member functions
74
//
75
76
77
void
78
FWHFView::setContext
(
const
fireworks::Context
& context)
79
{
80
FWLegoViewBase::setContext
(context);
81
82
// phi bins center shifted for 10 degres
83
m_lego
->RefMainTrans().SetPos(0, -TMath::DegToRad()*10, 0);
84
}
85
86
87
FWHFView::FWHFView
FWHFView(TEveWindowSlot *, FWViewType::EType)
Definition:
FWHFView.cc:38
FWHFView::~FWHFView
virtual ~FWHFView()
Definition:
FWHFView.cc:48
Context.h
FWEnumParameter.h
FWHFView.h
FWLegoViewBase::setContext
virtual void setContext(const fireworks::Context &)
Definition:
FWLegoViewBase.cc:97
FWHFView::setContext
virtual void setContext(const fireworks::Context &)
Definition:
FWHFView.cc:78
fireworks::Context
Definition:
Context.h:42
FWLegoViewBase::m_lego
TEveCaloLego * m_lego
Definition:
FWLegoViewBase.h:60
FWViewType::EType
EType
Definition:
FWViewType.h:34
FWLegoViewBase
Definition:
FWLegoViewBase.h:40
FWGenericParameter.h
Generated for CMSSW Reference Manual by
1.8.5