Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Calo
plugins
FWL1JetParticleProxyBuilder.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Calo
4
// Class : FWL1JetParticleProxyBuilder
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author:
10
// Created: Sun Jan 6 23:57:00 EST 2008
11
//
12
13
#include "
Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h
"
14
#include "
Fireworks/Core/interface/BuilderUtils.h
"
15
16
#include "
DataFormats/L1Trigger/interface/L1JetParticle.h
"
17
18
class
FWL1JetParticleProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1JetParticle>
19
{
20
public
:
21
FWL1JetParticleProxyBuilder
(
void
) {}
22
virtual
~FWL1JetParticleProxyBuilder
(
void
) {}
23
24
REGISTER_PROXYBUILDER_METHODS
();
25
26
private
:
27
FWL1JetParticleProxyBuilder
(
const
FWL1JetParticleProxyBuilder
& );
// stop default
28
const
FWL1JetParticleProxyBuilder
&
operator=
(
const
FWL1JetParticleProxyBuilder
& );
// stop default
29
30
virtual
void
build
(
const
l1extra::L1JetParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder ,
const
FWViewContext
* );
31
};
32
33
void
34
FWL1JetParticleProxyBuilder::build
(
const
l1extra::L1JetParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder ,
const
FWViewContext
* )
35
{
36
double
scale
= 10;
37
38
fireworks::addDashedLine
( iData.
phi
(), iData.
theta
(), iData.
pt
() *
scale
, &oItemHolder, this );
39
}
40
41
REGISTER_FWPROXYBUILDER
(
FWL1JetParticleProxyBuilder
,
l1extra::L1JetParticle
,
"L1JetParticle"
,
FWViewType::kAllRPZBits
);
FWL1JetParticleProxyBuilder::FWL1JetParticleProxyBuilder
FWL1JetParticleProxyBuilder(void)
Definition:
FWL1JetParticleProxyBuilder.cc:21
FWSimpleProxyBuilderTemplate.h
FWL1JetParticleProxyBuilder
Definition:
FWL1JetParticleProxyBuilder.cc:18
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWViewType::kAllRPZBits
static const int kAllRPZBits
Definition:
FWViewType.h:58
l1extra::L1JetParticle
Definition:
L1JetParticle.h:28
FWL1JetParticleProxyBuilder::operator=
const FWL1JetParticleProxyBuilder & operator=(const FWL1JetParticleProxyBuilder &)
FWViewContext
Definition:
FWViewContext.h:32
reco::LeafCandidate::theta
virtual double theta() const GCC11_FINAL
momentum polar angle
Definition:
LeafCandidate.h:157
reco::LeafCandidate::phi
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
Definition:
LeafCandidate.h:155
fireworks::addDashedLine
void addDashedLine(double phi, double theta, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:183
L1JetParticle.h
pileupReCalc_HLTpaths.scale
int scale
Definition:
pileupReCalc_HLTpaths.py:111
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:131
BuilderUtils.h
FWL1JetParticleProxyBuilder::~FWL1JetParticleProxyBuilder
virtual ~FWL1JetParticleProxyBuilder(void)
Definition:
FWL1JetParticleProxyBuilder.cc:22
FWL1JetParticleProxyBuilder::REGISTER_PROXYBUILDER_METHODS
REGISTER_PROXYBUILDER_METHODS()
reco::LeafCandidate::pt
virtual float pt() const GCC11_FINAL
transverse momentum
Definition:
LeafCandidate.h:153
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:29
Generated for CMSSW Reference Manual by
1.8.5