#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) | |
float | getEtEnergy (bool b) const |
TEveBox * | getTower () |
bool | isTallest () const |
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) |
FWPFLegoRecHit (const FWPFLegoRecHit &)=delete | |
const FWPFLegoRecHit & | operator= (const FWPFLegoRecHit &)=delete |
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().
Referenced by isTallest().
|
inlinevirtual |
|
privatedelete |
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.
Referenced by getTower(), and 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(), and isTallest().
|
private |
Definition at line 35 of file FWPFLegoRecHit.cc.
References FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), m_energy, m_et, m_tower, Scenarios_cff::scale, setupEveBox(), and heppy_batch::val.
Referenced by FWPFLegoRecHit(), and isTallest().
|
inline |
|
inline |
Definition at line 52 of file FWPFLegoRecHit.h.
References addLine(), training_settings::idx, m_tower, setLine(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
|
inline |
Definition at line 57 of file FWPFLegoRecHit.h.
References b, buildLineSet(), buildTower(), FWPFLegoRecHit(), m_isTallest, operator=(), Scenarios_cff::scale, setIsTallest(), and setupEveBox().
|
privatedelete |
Referenced by isTallest().
void FWPFLegoRecHit::setIsTallest | ( | bool | b | ) |
Definition at line 130 of file FWPFLegoRecHit.cc.
References addLine(), b, and m_isTallest.
Referenced by 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, m_ls, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
Referenced by getTower(), and 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 Scenarios_cff::scale.
Referenced by buildTower(), and isTallest().
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, Scenarios_cff::scale, setLine(), heppy_batch::val, and z.
Referenced by ~FWPFLegoRecHit().
|
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().