#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(), AlCaHLTBitMon_QueryRunRegistry::comp, 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 | ||
) |
Definition at line 141 of file FWPFLegoRecHit.cc.
References m_ls, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by setIsTallest().
void FWPFLegoRecHit::addLine | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
|
private |
Definition at line 49 of file FWPFLegoRecHit.cc.
References HltBtagPostValidation_cff::c, and m_ls.
Referenced by FWPFLegoRecHit().
|
private |
Definition at line 35 of file FWPFLegoRecHit.cc.
References FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), m_energy, m_et, m_tower, L1EGammaClusterEmuProducer_cfi::scale, setupEveBox(), and heppy_batch::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 heavyIonCSV_trainingSettings::idx, cmsLHEtoEOSManager::l, m_ls, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by updateScale().
|
inline |
|
private |
Definition at line 20 of file FWPFLegoRecHit.cc.
References mps_fire::i, dqmiolumiharvest::j, m_tower, and L1EGammaClusterEmuProducer_cfi::scale.
Referenced by buildTower().
void FWPFLegoRecHit::updateScale | ( | const FWViewContext * | vc, |
float | maxLogVal | ||
) |
Definition at line 67 of file FWPFLegoRecHit.cc.
References HltBtagPostValidation_cff::c, ztail::d, data, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), mps_fire::i, dqm-mbProfile::log, visualization-live-secondInstance_cfg::m, m_energy, m_et, m_isTallest, m_ls, m_tower, alignCSCRings::s, L1EGammaClusterEmuProducer_cfi::scale, setLine(), heppy_batch::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().