#include <FWPFLegoRecHit.h>
Public Member Functions | |
void | addLine (float x1, float y1, float z1, float x2, float y2, float z2) |
void | addLine (const TEveVector &v1, const TEveVector &v2) |
FWPFLegoRecHit (const std::vector< TEveVector > &corners, TEveElement *comp, FWProxyBuilderBase *pb, const FWViewContext *vc, float e, float et) | |
FWPFLegoRecHit (const FWPFLegoRecHit &)=delete | |
float | getEtEnergy (bool b) const |
TEveBox * | getTower () |
bool | isTallest () const |
const FWPFLegoRecHit & | operator= (const FWPFLegoRecHit &)=delete |
void | setIsTallest (bool b) |
void | setLine (int idx, float x1, float y1, float z1, float x2, float y2, float z2) |
void | setSquareColor (Color_t c) |
void | updateScale (const FWViewContext *vc, float maxLogVal) |
virtual | ~FWPFLegoRecHit () |
Private Member Functions | |
void | buildLineSet (const std::vector< TEveVector > &corners, const FWViewContext *vc) |
void | buildTower (const std::vector< TEveVector > &corners, const FWViewContext *vc) |
void | setupEveBox (std::vector< TEveVector > &corners, float scale) |
Private Attributes | |
float | m_energy |
float | m_et |
bool | m_isTallest |
TEveStraightLineSet * | m_ls |
TEveBox * | m_tower |
Definition at line 34 of file FWPFLegoRecHit.h.
FWPFLegoRecHit::FWPFLegoRecHit | ( | const std::vector< TEveVector > & | corners, |
TEveElement * | comp, | ||
FWProxyBuilderBase * | pb, | ||
const FWViewContext * | vc, | ||
float | e, | ||
float | et | ||
) |
Definition at line 5 of file FWPFLegoRecHit.cc.
References buildLineSet(), buildTower(), m_ls, m_tower, and FWProxyBuilderBase::setupAddElement().
|
inlinevirtual |
Definition at line 43 of file FWPFLegoRecHit.h.
|
delete |
void FWPFLegoRecHit::addLine | ( | float | x1, |
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
void FWPFLegoRecHit::addLine | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
|
private |
|
private |
Definition at line 35 of file FWPFLegoRecHit.cc.
References FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), m_energy, m_et, m_tower, pileupReCalc_HLTpaths::scale, setupEveBox(), and hgcalPerformanceValidation::val.
Referenced by FWPFLegoRecHit().
|
inline |
|
inline |
|
inline |
|
delete |
void FWPFLegoRecHit::setIsTallest | ( | bool | b | ) |
Definition at line 130 of file FWPFLegoRecHit.cc.
References addLine(), b, and m_isTallest.
void FWPFLegoRecHit::setLine | ( | int | idx, |
float | x1, | ||
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
Definition at line 115 of file FWPFLegoRecHit.cc.
References cmsLHEtoEOSManager::l, and m_ls.
Referenced by updateScale().
|
inline |
Definition at line 47 of file FWPFLegoRecHit.h.
References m_ls.
Referenced by FWPFEcalRecHitLegoProxyBuilder::build().
|
private |
Definition at line 20 of file FWPFLegoRecHit.cc.
References mps_fire::i, dqmiolumiharvest::j, m_tower, and pileupReCalc_HLTpaths::scale.
Referenced by buildTower().
void FWPFLegoRecHit::updateScale | ( | const FWViewContext * | vc, |
float | maxLogVal | ||
) |
Definition at line 67 of file FWPFLegoRecHit.cc.
References c, ztail::d, data, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), mps_fire::i, log, visualization-live-secondInstance_cfg::m, m_energy, m_et, m_isTallest, m_ls, m_tower, alignCSCRings::s, pileupReCalc_HLTpaths::scale, setLine(), hgcalPerformanceValidation::val, and z.
|
private |
Definition at line 72 of file FWPFLegoRecHit.h.
Referenced by buildTower(), getEtEnergy(), and updateScale().
|
private |
Definition at line 73 of file FWPFLegoRecHit.h.
Referenced by buildTower(), getEtEnergy(), and updateScale().
|
private |
Definition at line 74 of file FWPFLegoRecHit.h.
Referenced by isTallest(), setIsTallest(), and updateScale().
|
private |
Definition at line 71 of file FWPFLegoRecHit.h.
Referenced by addLine(), buildLineSet(), FWPFLegoRecHit(), setLine(), setSquareColor(), and updateScale().
|
private |
Definition at line 70 of file FWPFLegoRecHit.h.
Referenced by buildTower(), FWPFLegoRecHit(), getTower(), setupEveBox(), and updateScale().