#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, FWPFEcalRecHitLegoProxyBuilder *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) |
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 &) | |
const FWPFLegoRecHit & | operator= (const FWPFLegoRecHit &) |
void | setupEveBox (std::vector< TEveVector > &corners, float scale) |
Private Attributes | |
FWPFEcalRecHitLegoProxyBuilder * | m_builder |
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, | ||
FWPFEcalRecHitLegoProxyBuilder * | 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 40 of file FWPFLegoRecHit.h.
|
private |
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 |
Definition at line 52 of file FWPFLegoRecHit.cc.
References trackerHits::c, and m_ls.
Referenced by FWPFLegoRecHit().
|
private |
Definition at line 36 of file FWPFLegoRecHit.cc.
References FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), m_energy, m_et, m_tower, and setupEveBox().
Referenced by FWPFLegoRecHit().
|
inline |
|
inline |
|
inline |
|
private |
void FWPFLegoRecHit::setIsTallest | ( | bool | b | ) |
Definition at line 138 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 121 of file FWPFLegoRecHit.cc.
References prof2calltree::l, and m_ls.
Referenced by updateScale().
|
inline |
Definition at line 44 of file FWPFLegoRecHit.h.
References m_ls.
Referenced by FWPFEcalRecHitLegoProxyBuilder::build().
|
private |
void FWPFLegoRecHit::updateScale | ( | const FWViewContext * | vc | ) |
Definition at line 72 of file FWPFLegoRecHit.cc.
References trackerHits::c, runTheMatrix::data, FWViewContext::getEnergyScale(), FWPFEcalRecHitLegoProxyBuilder::getMaxValLog(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), i, funct::log(), m, m_builder, m_energy, m_et, m_isTallest, m_ls, m_tower, asciidump::s, setLine(), and detailsBasic3DVector::z.
|
private |
Definition at line 64 of file FWPFLegoRecHit.h.
Referenced by updateScale().
|
private |
Definition at line 67 of file FWPFLegoRecHit.h.
Referenced by buildTower(), getEtEnergy(), and updateScale().
|
private |
Definition at line 68 of file FWPFLegoRecHit.h.
Referenced by buildTower(), getEtEnergy(), and updateScale().
|
private |
Definition at line 69 of file FWPFLegoRecHit.h.
Referenced by isTallest(), setIsTallest(), and updateScale().
|
private |
Definition at line 66 of file FWPFLegoRecHit.h.
Referenced by addLine(), buildLineSet(), FWPFLegoRecHit(), setLine(), setSquareColor(), and updateScale().
|
private |
Definition at line 65 of file FWPFLegoRecHit.h.
Referenced by buildTower(), FWPFLegoRecHit(), getTower(), setupEveBox(), and updateScale().