Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: FWL1EtMissParticleProxyBuilder.cc,v 1.9 2010/09/16 15:42:20 yana Exp $
12
//
13
14
#include "
Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h
"
15
#include "
Fireworks/Core/interface/BuilderUtils.h
"
16
17
#include "
DataFormats/L1Trigger/interface/L1EtMissParticle.h
"
18
19
class
FWL1EtMissParticleProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1EtMissParticle>
20
{
21
public
:
22
FWL1EtMissParticleProxyBuilder
(
void
) {}
23
virtual
~FWL1EtMissParticleProxyBuilder
(
void
) {}
24
25
REGISTER_PROXYBUILDER_METHODS
();
26
27
private
:
28
FWL1EtMissParticleProxyBuilder
(
const
FWL1EtMissParticleProxyBuilder
& );
// stop default
29
const
FWL1EtMissParticleProxyBuilder
&
operator=
(
const
FWL1EtMissParticleProxyBuilder
& );
// stop default
30
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_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:34
FWViewType::kAllRPZBits
static const int kAllRPZBits
Definition:
FWViewType.h:59
l1extra::L1EtMissParticle
Definition:
L1EtMissParticle.h:28
FWViewContext
Definition:
FWViewContext.h:33
FWL1EtMissParticleProxyBuilder::~FWL1EtMissParticleProxyBuilder
virtual ~FWL1EtMissParticleProxyBuilder(void)
Definition:
FWL1EtMissParticleProxyBuilder.cc:23
reco::LeafCandidate::theta
virtual double theta() const GCC11_FINAL
momentum polar angle
Definition:
LeafCandidate.h:157
FWL1EtMissParticleProxyBuilder::FWL1EtMissParticleProxyBuilder
FWL1EtMissParticleProxyBuilder(void)
Definition:
FWL1EtMissParticleProxyBuilder.cc:22
L1EtMissParticle.h
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
pileupReCalc_HLTpaths.scale
int scale
Definition:
pileupReCalc_HLTpaths.py:111
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:132
BuilderUtils.h
FWL1EtMissParticleProxyBuilder::operator=
const FWL1EtMissParticleProxyBuilder & operator=(const FWL1EtMissParticleProxyBuilder &)
reco::LeafCandidate::pt
virtual float pt() const GCC11_FINAL
transverse momentum
Definition:
LeafCandidate.h:153
FWL1EtMissParticleProxyBuilder::REGISTER_PROXYBUILDER_METHODS
REGISTER_PROXYBUILDER_METHODS()
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:30
FWL1EtMissParticleProxyBuilder
Definition:
FWL1EtMissParticleProxyBuilder.cc:19
Generated for CMSSW Reference Manual by
1.8.5