Fireworks
ParticleFlow
plugins
FWPFEcalRecHitRPProxyBuilder.h
Go to the documentation of this file.
1
#ifndef _FWPFECALRECHITRPPROXYBUILDER_H_
2
#define _FWPFECALRECHITRPPROXYBUILDER_H_
3
4
// -*- C++ -*-
5
//
6
// Package: ParticleFlow
7
// Class : FWPFEcalRecHitRPProxyBuilder
8
//
9
// Implementation:
10
// <Notes on implementation>
11
//
12
// Original Author: Simon Harris
13
//
14
15
// System include files
16
#include "TEveCompound.h"
17
18
// User include files
19
#include "
Fireworks/Core/interface/FWProxyBuilderTemplate.h
"
20
#include "
Fireworks/Core/interface/FWEventItem.h
"
21
#include "
Fireworks/Core/interface/FWGeometry.h
"
22
#include "
Fireworks/Core/interface/Context.h
"
23
24
#include "
DataFormats/EcalRecHit/interface/EcalRecHit.h
"
25
#include "
Fireworks/ParticleFlow/interface/FWPFRhoPhiRecHit.h
"
26
#include "
Fireworks/ParticleFlow/interface/FWPFGeom.h
"
27
#include "
Fireworks/ParticleFlow/interface/FWPFMaths.h
"
28
29
#include "
Fireworks/Core/interface/FWViewContext.h
"
30
#include "
Fireworks/Core/interface/FWViewEnergyScale.h
"
31
32
//-----------------------------------------------------------------------------
33
// FWPFEcalRecHitRPProxyBuilder
34
//-----------------------------------------------------------------------------
35
class
FWPFEcalRecHitRPProxyBuilder
:
public
FWProxyBuilderTemplate
<EcalRecHit> {
36
public
:
37
static
std::string
typeOfBuilder
() {
return
"simple#"
; }
38
39
// ---------------- Constructor(s)/Destructor ----------------------
40
FWPFEcalRecHitRPProxyBuilder
() {}
41
~FWPFEcalRecHitRPProxyBuilder
()
override
{}
42
43
// --------------------- Member Functions --------------------------
44
void
build
(
const
FWEventItem
*iItem, TEveElementList *product,
const
FWViewContext
*)
override
;
45
46
bool
havePerViewProduct
(
FWViewType::EType
)
const override
{
return
true
; }
47
void
scaleProduct
(TEveElementList *
parent
,
FWViewType::EType
,
const
FWViewContext
*vc)
override
;
48
void
cleanLocal
()
override
;
49
50
REGISTER_PROXYBUILDER_METHODS
();
51
52
private
:
53
FWPFEcalRecHitRPProxyBuilder
(
const
FWPFEcalRecHitRPProxyBuilder
&) =
delete
;
// Stop default
54
const
FWPFEcalRecHitRPProxyBuilder
&
operator=
(
const
FWPFEcalRecHitRPProxyBuilder
&) =
delete
;
// Stop default
55
56
// --------------------- Member Functions --------------------------
57
TEveVector
calculateCentre
(
const
float
*corners);
58
59
// ----------------------- Data Members ----------------------------
60
std::vector<FWPFRhoPhiRecHit *>
m_towers
;
61
};
62
#endif
63
//=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
FWViewType::EType
EType
Definition:
FWViewType.h:31
FWPFEcalRecHitRPProxyBuilder::operator=
const FWPFEcalRecHitRPProxyBuilder & operator=(const FWPFEcalRecHitRPProxyBuilder &)=delete
FWPFMaths.h
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:28
FWProxyBuilderTemplate.h
FWPFEcalRecHitRPProxyBuilder
Definition:
FWPFEcalRecHitRPProxyBuilder.h:35
FWPFEcalRecHitRPProxyBuilder::m_towers
std::vector< FWPFRhoPhiRecHit * > m_towers
Definition:
FWPFEcalRecHitRPProxyBuilder.h:60
FWPFGeom.h
FWViewContext.h
EcalRecHit.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FWPFEcalRecHitRPProxyBuilder::typeOfBuilder
static std::string typeOfBuilder()
Definition:
FWPFEcalRecHitRPProxyBuilder.h:37
FWGeometry.h
FWPFEcalRecHitRPProxyBuilder::FWPFEcalRecHitRPProxyBuilder
FWPFEcalRecHitRPProxyBuilder()
Definition:
FWPFEcalRecHitRPProxyBuilder.h:40
FWProxyBuilderTemplate
Definition:
FWProxyBuilderTemplate.h:30
FWPFEcalRecHitRPProxyBuilder::havePerViewProduct
bool havePerViewProduct(FWViewType::EType) const override
Definition:
FWPFEcalRecHitRPProxyBuilder.h:46
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
FWEventItem.h
FWViewContext
Definition:
FWViewContext.h:32
FWPFEcalRecHitRPProxyBuilder::scaleProduct
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
Definition:
FWPFEcalRecHitRPProxyBuilder.cc:4
FWEventItem
Definition:
FWEventItem.h:56
FWPFEcalRecHitRPProxyBuilder::cleanLocal
void cleanLocal() override
Definition:
FWPFEcalRecHitRPProxyBuilder.cc:17
FWPFEcalRecHitRPProxyBuilder::calculateCentre
TEveVector calculateCentre(const float *corners)
Definition:
FWPFEcalRecHitRPProxyBuilder.cc:26
FWViewEnergyScale.h
FWPFRhoPhiRecHit.h
FWPFEcalRecHitRPProxyBuilder::~FWPFEcalRecHitRPProxyBuilder
~FWPFEcalRecHitRPProxyBuilder() override
Definition:
FWPFEcalRecHitRPProxyBuilder.h:41
class-composition.parent
parent
Definition:
class-composition.py:88
Context.h
Generated for CMSSW Reference Manual by
1.8.16