Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Calo
plugins
FWL1EtMissParticleLegoProxyBuilder.cc
Go to the documentation of this file.
1
/*
2
* FWL1EtMissParticleLegoProxyBuilder.cc
3
* FWorks
4
*
5
* Created by Ianna Osborne on 9/3/10.
6
*
7
*/
8
9
#include "
Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h
"
10
#include "
Fireworks/Core/interface/BuilderUtils.h
"
11
12
#include "
DataFormats/L1Trigger/interface/L1EtMissParticle.h
"
13
14
class
FWL1EtMissParticleLegoProxyBuilder
:
public
FWSimpleProxyBuilderTemplate
<l1extra::L1EtMissParticle>
15
{
16
public
:
17
FWL1EtMissParticleLegoProxyBuilder
(
void
) {}
18
virtual
~FWL1EtMissParticleLegoProxyBuilder
(
void
) {}
19
20
REGISTER_PROXYBUILDER_METHODS
();
21
22
private
:
23
FWL1EtMissParticleLegoProxyBuilder
(
const
FWL1EtMissParticleLegoProxyBuilder
& );
// stop default
24
const
FWL1EtMissParticleLegoProxyBuilder
&
operator=
(
const
FWL1EtMissParticleLegoProxyBuilder
& );
// stop default
25
26
virtual
void
build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder ,
const
FWViewContext
* );
27
};
28
29
void
30
FWL1EtMissParticleLegoProxyBuilder::build
(
const
l1extra::L1EtMissParticle
& iData,
unsigned
int
iIndex, TEveElement& oItemHolder,
const
FWViewContext
* )
31
{
32
fireworks::addDoubleLines
( iData.
phi
(), &oItemHolder, this );
33
}
34
35
REGISTER_FWPROXYBUILDER
(
FWL1EtMissParticleLegoProxyBuilder
,
l1extra::L1EtMissParticle
,
"L1EtMissParticle"
,
FWViewType::kAllLegoBits
);
FWSimpleProxyBuilderTemplate.h
FWL1EtMissParticleLegoProxyBuilder::REGISTER_PROXYBUILDER_METHODS
REGISTER_PROXYBUILDER_METHODS()
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:34
fireworks::addDoubleLines
void addDoubleLines(double phi, TEveElement *comp, FWProxyBuilderBase *pb)
Definition:
BuilderUtils.cc:199
FWL1EtMissParticleLegoProxyBuilder::FWL1EtMissParticleLegoProxyBuilder
FWL1EtMissParticleLegoProxyBuilder(void)
Definition:
FWL1EtMissParticleLegoProxyBuilder.cc:17
l1extra::L1EtMissParticle
Definition:
L1EtMissParticle.h:28
FWViewContext
Definition:
FWViewContext.h:33
FWL1EtMissParticleLegoProxyBuilder::operator=
const FWL1EtMissParticleLegoProxyBuilder & operator=(const FWL1EtMissParticleLegoProxyBuilder &)
L1EtMissParticle.h
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:132
FWViewType::kAllLegoBits
static const int kAllLegoBits
Definition:
FWViewType.h:60
BuilderUtils.h
reco::LeafCandidate::phi
virtual double phi() const
momentum azimuthal angle
Definition:
LeafCandidate.h:139
FWSimpleProxyBuilderTemplate
Definition:
FWSimpleProxyBuilderTemplate.h:30
FWL1EtMissParticleLegoProxyBuilder::~FWL1EtMissParticleLegoProxyBuilder
virtual ~FWL1EtMissParticleLegoProxyBuilder(void)
Definition:
FWL1EtMissParticleLegoProxyBuilder.cc:18
FWL1EtMissParticleLegoProxyBuilder
Definition:
FWL1EtMissParticleLegoProxyBuilder.cc:14
Generated for CMSSW Reference Manual by
1.8.5