Fireworks
Candidates
plugins
FWCandidateTowerProxyBuilder.h
Go to the documentation of this file.
1
#ifndef Fireworks_Calo_FWCandTowerProxyBuilder_h
2
#define Fireworks_Calo_FWCandTowerProxyBuilder_h
3
// -*- C++ -*-
4
//
5
// Package: Calo
6
#include "Rtypes.h"
7
#include <string>
8
9
#include "
Fireworks/Calo/interface/FWCaloDataHistProxyBuilder.h
"
10
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
11
#include "
DataFormats/Candidate/interface/Candidate.h
"
12
13
#include "
DataFormats/PatCandidates/interface/PackedCandidate.h
"
14
#include "
Fireworks/Core/interface/FWSimpleProxyHelper.h
"
15
16
class
FWHistSliceSelector
;
17
18
class
FWCandidateTowerProxyBuilder
:
public
FWCaloDataHistProxyBuilder
{
19
public
:
20
FWCandidateTowerProxyBuilder
();
21
~FWCandidateTowerProxyBuilder
()
override
;
22
static
std::string
typeOfBuilder
() {
return
std::string
(
"simple#"
); }
23
virtual
double
getEt
(
const
reco::Candidate
&
cand
)
const
{
return
cand
.pt(); }
24
25
REGISTER_PROXYBUILDER_METHODS
();
26
27
protected
:
28
void
fillCaloData
()
override
;
29
FWHistSliceSelector
*
instantiateSliceSelector
()
override
;
30
void
build
(
const
FWEventItem
* iItem, TEveElementList* product,
const
FWViewContext
*)
override
;
31
32
private
:
33
FWCandidateTowerProxyBuilder
(
const
FWCandidateTowerProxyBuilder
&) =
delete
;
// stop default
34
const
FWCandidateTowerProxyBuilder
&
operator=
(
const
FWCandidateTowerProxyBuilder
&) =
delete
;
// stop default
35
36
virtual
void
itemChangedImp
(
const
FWEventItem
*);
37
// ---------- member data --------------------------------
38
FWSimpleProxyHelper
m_helper
;
39
};
40
41
#endif
FWCandidateTowerProxyBuilder::getEt
virtual double getEt(const reco::Candidate &cand) const
Definition:
FWCandidateTowerProxyBuilder.h:23
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:28
FWCandidateTowerProxyBuilder::instantiateSliceSelector
FWHistSliceSelector * instantiateSliceSelector() override
Definition:
FWCandidateTowerProxyBuilder.cc:45
FWCandidateTowerProxyBuilder::m_helper
FWSimpleProxyHelper m_helper
Definition:
FWCandidateTowerProxyBuilder.h:38
FWCandidateTowerProxyBuilder::fillCaloData
void fillCaloData() override
Definition:
FWCandidateTowerProxyBuilder.cc:50
CandidateFwd.h
FWCandidateTowerProxyBuilder::typeOfBuilder
static std::string typeOfBuilder()
Definition:
FWCandidateTowerProxyBuilder.h:22
FWHistSliceSelector
Definition:
FWHistSliceSelector.h:7
FWCandidateTowerProxyBuilder::operator=
const FWCandidateTowerProxyBuilder & operator=(const FWCandidateTowerProxyBuilder &)=delete
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FWCandidateTowerProxyBuilder::~FWCandidateTowerProxyBuilder
~FWCandidateTowerProxyBuilder() override
Definition:
FWCandidateTowerProxyBuilder.cc:25
PackedCandidate.h
cand
Definition:
decayParser.h:32
FWCandidateTowerProxyBuilder
Definition:
FWCandidateTowerProxyBuilder.h:18
FWCaloDataHistProxyBuilder
Definition:
FWCaloDataHistProxyBuilder.h:10
FWCaloDataHistProxyBuilder.h
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
FWViewContext
Definition:
FWViewContext.h:32
reco::Candidate
Definition:
Candidate.h:27
FWSimpleProxyHelper.h
FWEventItem
Definition:
FWEventItem.h:56
FWCandidateTowerProxyBuilder::FWCandidateTowerProxyBuilder
FWCandidateTowerProxyBuilder()
Definition:
FWCandidateTowerProxyBuilder.cc:23
FWCandidateTowerProxyBuilder::itemChangedImp
virtual void itemChangedImp(const FWEventItem *)
Definition:
FWCandidateTowerProxyBuilder.cc:31
Candidate.h
FWSimpleProxyHelper
Definition:
FWSimpleProxyHelper.h:30
Generated for CMSSW Reference Manual by
1.8.16