Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Fireworks
Calo
plugins
FWL1EtMissParticleProxyBuilder.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Calo
4
// Class : FWL1EtMissParticleProxyBuilder
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/L1EtMissParticle.h
"
17
18
class
FWL1EtMissParticleProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1EtMissParticle>
19
{
20
public
:
21
FWL1EtMissParticleProxyBuilder
(
void
) {}
22
virtual
~FWL1EtMissParticleProxyBuilder
(
void
) {}
23
24
REGISTER_PROXYBUILDER_METHODS
();
25
26
private
:
27
FWL1EtMissParticleProxyBuilder
(
const
FWL1EtMissParticleProxyBuilder
& );
// stop default
28
const
FWL1EtMissParticleProxyBuilder
&
operator=
(
const
FWL1EtMissParticleProxyBuilder
& );
// stop default
29
30
using
FWSimpleProxyBuilderTemplate<l1extra::L1EtMissParticle>::build
;
31
virtual
void
build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder,
const
FWViewContext
* );
32
};
33
34
void
35
FWL1EtMissParticleProxyBuilder::build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder ,
const
FWViewContext
* )
36
{
37
double
scale
= 10;
38
39
fireworks::addDashedLine
( iData.
phi
(), iData.
theta
(), iData.
pt
() *
scale
, &oItemHolder, this );
40
}
41
42
REGISTER_FWPROXYBUILDER
(
FWL1EtMissParticleProxyBuilder
,
l1extra::L1EtMissParticle
,
"L1EtMissParticle"
,
FWViewType::kAllRPZBits
);
FWSimpleProxyBuilderTemplate.h
REGISTER_PROXYBUILDER_METHODS
#define REGISTER_PROXYBUILDER_METHODS()
Definition:
register_dataproxybuilder_macro.h:28
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWViewType::kAllRPZBits
static const int kAllRPZBits
Definition:
FWViewType.h:58
l1extra::L1EtMissParticle
Definition:
L1EtMissParticle.h:27
reco::LeafCandidate::phi
virtual double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
FWViewContext
Definition:
FWViewContext.h:32
FWL1EtMissParticleProxyBuilder::~FWL1EtMissParticleProxyBuilder
virtual ~FWL1EtMissParticleProxyBuilder(void)
Definition:
FWL1EtMissParticleProxyBuilder.cc:22
FWL1EtMissParticleProxyBuilder::FWL1EtMissParticleProxyBuilder
FWL1EtMissParticleProxyBuilder(void)
Definition:
FWL1EtMissParticleProxyBuilder.cc:21
L1EtMissParticle.h
fireworks::addDashedLine
void addDashedLine(double phi, double theta, double size, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:185
pileupReCalc_HLTpaths.scale
int scale
Definition:
pileupReCalc_HLTpaths.py:112
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:131
BuilderUtils.h
reco::LeafCandidate::theta
virtual double theta() const final
momentum polar angle
Definition:
LeafCandidate.h:135
FWL1EtMissParticleProxyBuilder::operator=
const FWL1EtMissParticleProxyBuilder & operator=(const FWL1EtMissParticleProxyBuilder &)
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:29
FWL1EtMissParticleProxyBuilder
Definition:
FWL1EtMissParticleProxyBuilder.cc:18
reco::LeafCandidate::pt
virtual double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
Generated for CMSSW Reference Manual by
1.8.5