CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
FWJetProxyBuilder Class Reference
Inheritance diagram for FWJetProxyBuilder:
FWSimpleProxyBuilderTemplate< reco::Jet > FWSimpleProxyBuilder FWProxyBuilderBase

Public Member Functions

void cleanLocal () override
 
 FWJetProxyBuilder ()
 
bool havePerViewProduct (FWViewType::EType) const override
 
bool haveSingleProduct () const override
 
const std::string & purpose () const
 
void setItem (const FWEventItem *iItem) override
 
const std::string & typeName () const
 
const std::string & view () const
 
 ~FWJetProxyBuilder () override
 
- Public Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::Jet >
 FWSimpleProxyBuilderTemplate ()
 
- Public Member Functions inherited from FWSimpleProxyBuilder
 FWSimpleProxyBuilder (const std::type_info &iType)
 
 ~FWSimpleProxyBuilder () override
 
- Public Member Functions inherited from FWProxyBuilderBase
void build ()
 
virtual bool canHandle (const FWEventItem &)
 
const fireworks::Contextcontext () const
 
TEveElementList * createProduct (FWViewType::EType, const FWViewContext *)
 
 FWProxyBuilderBase ()
 
bool getHaveWindow () const
 
const FWEventItemitem () const
 
virtual void itemBeingDestroyed (const FWEventItem *)
 
void itemChanged (const FWEventItem *)
 
int layer () const
 
void modelChanges (const FWModelIds &)
 
void removePerViewProduct (FWViewType::EType, const FWViewContext *vc)
 
void scaleChanged (const FWViewContext *)
 
void setHaveWindow (bool iFlag)
 
virtual void setInteractionList (FWInteractionList *, const std::string &)
 
void setupAddElement (TEveElement *el, TEveElement *parent, bool set_color=true) const
 
void setupElement (TEveElement *el, bool color=true) const
 
virtual bool willHandleInteraction () const
 
virtual ~FWProxyBuilderBase ()
 

Static Public Member Functions

static const std::string & classPurpose ()
 
static const std::string & classRegisterTypeName ()
 
static const std::string & classTypeName ()
 
static const std::string & classView ()
 
- Static Public Member Functions inherited from FWSimpleProxyBuilder
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 
- Static Public Member Functions inherited from FWProxyBuilderBase
static bool representsSubPart ()
 
static std::string typeOfBuilder ()
 Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
 

Protected Member Functions

void buildViewType (const reco::Jet &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
 
void localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
 
void scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
 
- Protected Member Functions inherited from FWSimpleProxyBuilderTemplate< reco::Jet >
void build ()
 
virtual void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *)
 
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override
 
virtual void build (const reco::Jet &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *)
 
virtual void build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0
 
void build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override
 
virtual void buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
 
void buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
 
virtual void buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0
 
void buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override
 
const reco::JetmodelData (int index)
 
- Protected Member Functions inherited from FWSimpleProxyBuilder
void build ()
 
virtual void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *)
 
void build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override
 
virtual void buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
 
void buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
 
void clean () override
 
- Protected Member Functions inherited from FWProxyBuilderBase
TEveCompound * createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const
 
 FWProxyBuilderBase (const FWProxyBuilderBase &)
 
void increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
 
virtual void modelChanges (const FWModelIds &, Product *)
 
const FWProxyBuilderBaseoperator= (const FWProxyBuilderBase &)
 

Private Types

typedef std::vector< fireworks::jetScaleMarkerLines_t
 

Private Member Functions

 FWJetProxyBuilder (const FWJetProxyBuilder &)=delete
 
const FWJetProxyBuilderoperator= (const FWJetProxyBuilder &)=delete
 
TEveElementList * requestCommon ()
 
void setTextPos (fireworks::jetScaleMarker &s, const FWViewContext *vc, FWViewType::EType)
 

Private Attributes

TEveElementList * m_common
 
std::vector< fireworks::jetScaleMarkerm_lines
 

Additional Inherited Members

- Protected Types inherited from FWProxyBuilderBase
typedef std::vector< Product * >::iterator Product_it
 
- Protected Attributes inherited from FWSimpleProxyBuilder
FWSimpleProxyHelper m_helper
 
- Protected Attributes inherited from FWProxyBuilderBase
std::vector< Product * > m_products
 

Detailed Description

Definition at line 47 of file FWJetProxyBuilder.cc.

Member Typedef Documentation

◆ Lines_t

Definition at line 83 of file FWJetProxyBuilder.cc.

Constructor & Destructor Documentation

◆ FWJetProxyBuilder() [1/2]

FWJetProxyBuilder::FWJetProxyBuilder ( )

Definition at line 97 of file FWJetProxyBuilder.cc.

97  : m_common(nullptr) {
98  m_common = new TEveElementList("common electron scene");
99  m_common->IncDenyDestroy();
100 }

References m_common.

◆ ~FWJetProxyBuilder()

FWJetProxyBuilder::~FWJetProxyBuilder ( )
override

Definition at line 102 of file FWJetProxyBuilder.cc.

102 { m_common->DecDenyDestroy(); }

References m_common.

◆ FWJetProxyBuilder() [2/2]

FWJetProxyBuilder::FWJetProxyBuilder ( const FWJetProxyBuilder )
privatedelete

Member Function Documentation

◆ buildViewType()

void FWJetProxyBuilder::buildViewType ( const reco::Jet iData,
unsigned int  iIndex,
TEveElement &  oItemHolder,
FWViewType::EType  type,
const FWViewContext vc 
)
overrideprotectedvirtual

Reimplemented from FWSimpleProxyBuilderTemplate< reco::Jet >.

Definition at line 118 of file FWJetProxyBuilder.cc.

122  {
123  // add cone from shared pool
124  TEveElementList* cones = requestCommon();
125  TEveElement::List_i coneIt = cones->BeginChildren();
126  std::advance(coneIt, iIndex);
127 
129  setupAddElement(*coneIt, &oItemHolder);
130  (*coneIt)->SetMainTransparency(TMath::Min(100, 80 + dp.transparency() / 5));
131 
132  TEveVector p1;
133  TEveVector p2;
134 
135  // scale markers in projected views
137  m_lines.push_back(
138  fireworks::jetScaleMarker(new TEveScalableStraightLineSet("jetline"), iData.et(), iData.energy(), vc));
139  fireworks::jetScaleMarker& markers = m_lines.back();
140 
141  float size = 1.f; // values are saved in scale
142  double theta = iData.theta();
143  double phi = iData.phi();
144 
145  if (type == FWViewType::kRhoZ) {
146  static const float_t offr = 4;
147  float r_ecal = context().caloR1() + offr;
148  float z_ecal = context().caloZ1() + offr / tan(context().caloTransAngle());
149  double r(0);
150  if (theta < context().caloTransAngle() || M_PI - theta < context().caloTransAngle()) {
151  z_ecal = context().caloZ2() + offr / tan(context().caloTransAngle());
152  r = z_ecal / fabs(cos(theta));
153  } else {
154  r = r_ecal / sin(theta);
155  }
156 
157  p1.Set(0., (phi > 0 ? r * fabs(sin(theta)) : -r * fabs(sin(theta))), r * cos(theta));
158  p2.Set(0., (phi > 0 ? (r + size) * fabs(sin(theta)) : -(r + size) * fabs(sin(theta))), (r + size) * cos(theta));
159  } else {
160  float ecalR = context().caloR1() + 4;
161  p1.Set(ecalR * cos(phi), ecalR * sin(phi), 0);
162  p2.Set((ecalR + size) * cos(phi), (ecalR + size) * sin(phi), 0);
163  }
164 
165  markers.m_ls->SetScaleCenter(p1.fX, p1.fY, p1.fZ);
166  markers.m_ls->AddLine(p1, p2);
167 
168  markers.m_ls->SetLineWidth(4);
169  markers.m_ls->SetLineColor(dp.color());
170  FWViewEnergyScale* caloScale = vc->getEnergyScale();
171  markers.m_ls->SetScale(caloScale->getScaleFactor3D() * (caloScale->getPlotEt() ? iData.et() : iData.energy()));
172 
173  if ((type == FWViewType::kRhoZ && item()->getConfig()->value<bool>(kJetLabelsRhoZOn)) ||
175  markers.m_text = new FWEveText(Form("%.1f", vc->getEnergyScale()->getPlotEt() ? iData.et() : iData.energy()));
176  markers.m_text->SetMainColor(item()->defaultDisplayProperties().color());
177  setTextPos(markers, vc, type);
178  }
179 
180  markers.m_ls->SetMarkerColor(markers.m_ls->GetMainColor());
181  setupAddElement(markers.m_ls, &oItemHolder);
182  if (markers.m_text)
183  setupAddElement(markers.m_text, &oItemHolder, false);
184  }
185  context().voteMaxEtAndEnergy(iData.et(), iData.energy());
186 }

References fireworks::Context::caloR1(), fireworks::Context::caloZ1(), fireworks::Context::caloZ2(), FWProxyBuilderBase::context(), funct::cos(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), FWEventItem::getConfig(), FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), FWViewType::isProjected(), FWProxyBuilderBase::item(), kJetLabelsRhoPhiOn(), kJetLabelsRhoZOn(), FWViewType::kRhoPhi, FWViewType::kRhoZ, m_lines, fireworks::scaleMarker::m_ls, M_PI, fireworks::jetScaleMarker::m_text, Min(), p1, p2, phi, reco::LeafCandidate::phi(), alignCSCRings::r, requestCommon(), setTextPos(), FWProxyBuilderBase::setupAddElement(), funct::sin(), findQualityFiles::size, funct::tan(), theta(), reco::LeafCandidate::theta(), FWProxyBuilderConfiguration::value(), and fireworks::Context::voteMaxEtAndEnergy().

◆ classPurpose()

const std::string & FWJetProxyBuilder::classPurpose ( )
static

Definition at line 260 of file FWJetProxyBuilder.cc.

◆ classRegisterTypeName()

const std::string & FWJetProxyBuilder::classRegisterTypeName ( )
static

Definition at line 260 of file FWJetProxyBuilder.cc.

◆ classTypeName()

const std::string & FWJetProxyBuilder::classTypeName ( )
static

Definition at line 260 of file FWJetProxyBuilder.cc.

◆ classView()

const std::string & FWJetProxyBuilder::classView ( )
static

Definition at line 260 of file FWJetProxyBuilder.cc.

◆ cleanLocal()

void FWJetProxyBuilder::cleanLocal ( )
overridevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 201 of file FWJetProxyBuilder.cc.

201  {
202  m_lines.clear();
203  m_common->DestroyElements();
204 }

References m_common, and m_lines.

◆ havePerViewProduct()

bool FWJetProxyBuilder::havePerViewProduct ( FWViewType::EType  ) const
inlineoverridevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 52 of file FWJetProxyBuilder.cc.

52 { return true; }

◆ haveSingleProduct()

bool FWJetProxyBuilder::haveSingleProduct ( void  ) const
inlineoverridevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 53 of file FWJetProxyBuilder.cc.

53 { return false; } // different view types

◆ localModelChanges()

void FWJetProxyBuilder::localModelChanges ( const FWModelId iId,
TEveElement *  iCompound,
FWViewType::EType  viewType,
const FWViewContext vc 
)
overrideprotectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 188 of file FWJetProxyBuilder.cc.

191  {
192  increaseComponentTransparency(iId.index(), iCompound, "TEveJetCone", 80);
193 
194  for (Lines_t::iterator i = m_lines.begin(); i != m_lines.end(); ++i) {
195  TEveStraightLineSetProjected* projLineSet = (TEveStraightLineSetProjected*)(*(*i).m_ls->BeginProjecteds());
196  if (projLineSet)
197  projLineSet->UpdateProjection();
198  }
199 }

References mps_fire::i, FWProxyBuilderBase::increaseComponentTransparency(), FWModelId::index(), and m_lines.

◆ operator=()

const FWJetProxyBuilder& FWJetProxyBuilder::operator= ( const FWJetProxyBuilder )
privatedelete

◆ purpose()

const std::string& FWJetProxyBuilder::purpose ( ) const
inline

◆ requestCommon()

TEveElementList * FWJetProxyBuilder::requestCommon ( )
private

Definition at line 104 of file FWJetProxyBuilder.cc.

104  {
105  if (m_common->HasChildren() == false) {
106  for (int i = 0; i < static_cast<int>(item()->size()); ++i) {
107  TEveJetCone* cone = fireworks::makeEveJetCone(modelData(i), context());
108 
109  cone->SetFillColor(item()->defaultDisplayProperties().color());
110  cone->SetLineColor(item()->defaultDisplayProperties().color());
111 
112  m_common->AddElement(cone);
113  }
114  }
115  return m_common;
116 }

References hltPFPuppi_cfi::cone, FWProxyBuilderBase::context(), mps_fire::i, FWProxyBuilderBase::item(), m_common, fireworks::makeEveJetCone(), FWSimpleProxyBuilderTemplate< reco::Jet >::modelData(), and findQualityFiles::size.

Referenced by buildViewType().

◆ scaleProduct()

void FWJetProxyBuilder::scaleProduct ( TEveElementList *  parent,
FWViewType::EType  type,
const FWViewContext vc 
)
overrideprotectedvirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 206 of file FWJetProxyBuilder.cc.

206  {
207  for (Lines_t::iterator i = m_lines.begin(); i != m_lines.end(); ++i) {
208  if (vc == (*i).m_vc) {
209  float value = vc->getEnergyScale()->getPlotEt() ? (*i).m_et : (*i).m_energy;
210 
211  (*i).m_ls->SetScale(vc->getEnergyScale()->getScaleFactor3D() * value);
212  if ((*i).m_text) {
213  (*i).m_text->SetText(Form("%.1f", value));
214  setTextPos(*i, vc, type);
215  }
216  TEveStraightLineSetProjected* projLineSet = (TEveStraightLineSetProjected*)(*(*i).m_ls->BeginProjecteds());
217  projLineSet->UpdateProjection();
218  }
219  }
220 
221  // move jets to eventCenter
223  TEveVector cv;
224  contextGl->commonPrefs()->getEventCenter(cv.Arr());
225  for (TEveElement::List_i i = m_common->BeginChildren(); i != m_common->EndChildren(); ++i) {
226  TEveJetCone* cone = dynamic_cast<TEveJetCone*>(*i);
227  if (cone) {
228  cone->SetApex(cv);
229  }
230  }
231 }

References fireworks::Context::commonPrefs(), hltPFPuppi_cfi::cone, cuy::cv, FWViewContext::getEnergyScale(), CmsShowCommon::getEventCenter(), fireworks::Context::getInstance(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), mps_fire::i, m_common, m_lines, setTextPos(), and relativeConstraints::value.

◆ setItem()

void FWJetProxyBuilder::setItem ( const FWEventItem iItem)
inlineoverridevirtual

Reimplemented from FWProxyBuilderBase.

Definition at line 56 of file FWJetProxyBuilder.cc.

56  {
58  if (iItem) {
59  iItem->getConfig()->assertParam(kJetLabelsRhoPhiOn, false);
60  iItem->getConfig()->assertParam(kJetLabelsRhoZOn, false);
61  iItem->getConfig()->assertParam(kJetOffset, 2.1, 1.0, 5.0);
62  }
63  }

References FWProxyBuilderConfiguration::assertParam(), FWEventItem::getConfig(), kJetLabelsRhoPhiOn(), kJetLabelsRhoZOn(), kJetOffset(), and FWProxyBuilderBase::setItem().

◆ setTextPos()

void FWJetProxyBuilder::setTextPos ( fireworks::jetScaleMarker s,
const FWViewContext vc,
FWViewType::EType  type 
)
private

Definition at line 233 of file FWJetProxyBuilder.cc.

233  {
234  TEveChunkManager::iterator li(s.m_ls->GetLinePlex());
235  li.next();
236  TEveStraightLineSet::Line_t& l = *(TEveStraightLineSet::Line_t*)li();
237  TEveVector v(l.fV2[0] - l.fV1[0], l.fV2[1] - l.fV1[1], l.fV2[2] - l.fV1[2]);
238  v.Normalize();
239 
240  double off = item()->getConfig()->value<double>(kJetOffset) - 1;
241  float value = vc->getEnergyScale()->getPlotEt() ? s.m_et : s.m_energy;
242  double trs = off * 130 * value / context().getMaxEnergyInEvent(vc->getEnergyScale()->getPlotEt());
243  v *= trs;
244 
245  float x = l.fV1[0] + v[0];
246  float y = l.fV1[1] + v[1];
247  float z = l.fV1[2] + v[2];
248 
249  s.m_text->m_offsetZ = value / context().getMaxEnergyInEvent(vc->getEnergyScale()->getPlotEt());
250  s.m_text->RefMainTrans().SetPos(x, y, z);
251  if ((s.m_text)->BeginProjecteds() != (s.m_text)->EndProjecteds()) {
252  FWEveTextProjected* textProjected = (FWEveTextProjected*)(*(s.m_text)->BeginProjecteds());
253  textProjected->UpdateProjection();
254  }
255 }

References FWProxyBuilderBase::context(), FWEventItem::getConfig(), FWViewContext::getEnergyScale(), fireworks::Context::getMaxEnergyInEvent(), FWViewEnergyScale::getPlotEt(), FWProxyBuilderBase::item(), kJetOffset(), cmsLHEtoEOSManager::l, alignCSCRings::s, FWEveTextProjected::UpdateProjection(), findQualityFiles::v, FWProxyBuilderConfiguration::value(), x, y, and z.

Referenced by buildViewType(), and scaleProduct().

◆ typeName()

const std::string& FWJetProxyBuilder::typeName ( ) const
inline

◆ view()

const std::string& FWJetProxyBuilder::view ( ) const
inline

Member Data Documentation

◆ m_common

TEveElementList* FWJetProxyBuilder::m_common
private

◆ m_lines

std::vector<fireworks::jetScaleMarker> FWJetProxyBuilder::m_lines
private

Definition at line 93 of file FWJetProxyBuilder.cc.

Referenced by buildViewType(), cleanLocal(), localModelChanges(), and scaleProduct().

FWJetProxyBuilder::setTextPos
void setTextPos(fireworks::jetScaleMarker &s, const FWViewContext *vc, FWViewType::EType)
Definition: FWJetProxyBuilder.cc:233
DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:355
fireworks::Context
Definition: Context.h:41
fireworks::scaleMarker::m_ls
TEveScalableStraightLineSet * m_ls
Definition: scaleMarker.h:31
FWEventItem::getConfig
FWProxyBuilderConfiguration * getConfig() const
Definition: FWEventItem.h:150
cuy.cv
cv
Definition: cuy.py:364
kJetLabelsRhoZOn
static const std::string kJetLabelsRhoZOn("Draw Labels in RhoZ View")
FWViewType::kRhoZ
Definition: FWViewType.h:33
FWSimpleProxyBuilderTemplate< reco::Jet >::modelData
const reco::Jet & modelData(int index)
Definition: FWSimpleProxyBuilderTemplate.h:43
FWViewEnergyScale::getPlotEt
bool getPlotEt() const
Definition: FWViewEnergyScale.h:47
DDAxes::x
findQualityFiles.v
v
Definition: findQualityFiles.py:179
FWViewType::isProjected
static bool isProjected(int)
Definition: FWViewType.cc:100
fireworks::jetScaleMarker::m_text
FWEveText * m_text
Definition: FWJetProxyBuilder.cc:38
FWEventItem::defaultDisplayProperties
const FWDisplayProperties & defaultDisplayProperties() const
Definition: FWEventItem.cc:403
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
alignCSCRings.s
s
Definition: alignCSCRings.py:92
fireworks::jetScaleMarker
Definition: FWJetProxyBuilder.cc:34
fireworks::Context::caloZ2
static float caloZ2(bool offset=true)
Definition: Context.cc:185
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Calorimetry_cff.dp
dp
Definition: Calorimetry_cff.py:157
hltPFPuppi_cfi.cone
cone
Definition: hltPFPuppi_cfi.py:32
fireworks::Context::voteMaxEtAndEnergy
void voteMaxEtAndEnergy(float Et, float energy) const
Definition: Context.cc:162
DDAxes::z
p2
double p2[4]
Definition: TauolaWrapper.h:90
FWProxyBuilderBase::increaseComponentTransparency
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
Definition: FWProxyBuilderBase.cc:393
reco::LeafCandidate::theta
double theta() const final
momentum polar angle
Definition: LeafCandidate.h:150
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
FWEveTextProjected::UpdateProjection
void UpdateProjection() override
Definition: FWTextProjected.cc:36
FWJetProxyBuilder::m_common
TEveElementList * m_common
Definition: FWJetProxyBuilder.cc:91
FWModelId::index
int index() const
Definition: FWModelId.h:41
fireworks::Context::commonPrefs
CmsShowCommon * commonPrefs() const
Definition: Context.cc:160
FWProxyBuilderConfiguration::assertParam
FWGenericParameter< T > * assertParam(const std::string &name, T def)
Definition: FWProxyBuilderConfiguration.cc:83
fireworks::makeEveJetCone
TEveJetCone * makeEveJetCone(const reco::Jet &iData, const fireworks::Context &context)
Definition: makeEveJetCone.cc:6
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition: FWProxyBuilderBase.cc:350
value
Definition: value.py:1
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
p1
double p1[4]
Definition: TauolaWrapper.h:89
FWEveTextProjected
Definition: FWTextProjected.h:47
kJetLabelsRhoPhiOn
static const std::string kJetLabelsRhoPhiOn("Draw Labels in RhoPhi View")
fireworks::Context::getMaxEnergyInEvent
float getMaxEnergyInEvent(bool isEt) const
Definition: Context.cc:174
FWEveText
Definition: FWTextProjected.h:29
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
FWJetProxyBuilder::m_lines
std::vector< fireworks::jetScaleMarker > m_lines
Definition: FWJetProxyBuilder.cc:93
FWDisplayProperties
Definition: FWDisplayProperties.h:28
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDAxes::phi
FWProxyBuilderBase::item
const FWEventItem * item() const
Definition: FWProxyBuilderBase.h:64
FWViewEnergyScale::getScaleFactor3D
float getScaleFactor3D() const
Definition: FWViewEnergyScale.h:44
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
type
type
Definition: HCALResponse.h:21
fireworks::Context::caloZ1
static float caloZ1(bool offset=true)
Definition: Context.cc:183
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
FWProxyBuilderConfiguration::value
T value(const std::string &name)
Definition: FWProxyBuilderConfiguration.cc:123
relativeConstraints.value
value
Definition: relativeConstraints.py:53
FWJetProxyBuilder::requestCommon
TEveElementList * requestCommon()
Definition: FWJetProxyBuilder.cc:104
FWViewEnergyScale
Definition: FWViewEnergyScale.h:34
fireworks::Context::getInstance
static Context * getInstance()
Definition: Context.cc:193
kJetOffset
static const std::string kJetOffset("Label Offset")
reco::LeafCandidate::energy
double energy() const final
energy
Definition: LeafCandidate.h:125
FWProxyBuilderBase::context
const fireworks::Context & context() const
Definition: FWProxyBuilderBase.cc:412
FWSimpleProxyBuilderTemplate
Definition: FWSimpleProxyBuilderTemplate.h:30
Min
T Min(T a, T b)
Definition: MathUtil.h:39
FWProxyBuilderBase::setItem
virtual void setItem(const FWEventItem *iItem)
Definition: FWProxyBuilderBase.cc:83
FWViewContext::getEnergyScale
FWViewEnergyScale * getEnergyScale() const
Definition: FWViewContext.cc:25
CmsShowCommon::getEventCenter
void getEventCenter(float *inC) const
Definition: CmsShowCommon.cc:294
FWViewType::kRhoPhi
Definition: FWViewType.h:32
fireworks::Context::caloR1
static float caloR1(bool offset=true)
Definition: Context.cc:180
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443