#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 &) | |
const FWPFLegoRecHit & | operator= (const FWPFLegoRecHit &) |
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 |
|
private |
void FWPFLegoRecHit::addLine | ( | float | x1, |
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
Definition at line 152 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 52 of file FWPFLegoRecHit.cc.
References EnergyCorrector::c, and m_ls.
Referenced by FWPFLegoRecHit(), and isTallest().
|
private |
Definition at line 36 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 46 of file FWPFLegoRecHit.h.
References addLine(), training_settings::idx, m_tower, and setLine().
|
inline |
Definition at line 51 of file FWPFLegoRecHit.h.
References b, buildLineSet(), buildTower(), FWPFLegoRecHit(), m_isTallest, operator=(), Scenarios_cff::scale, setIsTallest(), and setupEveBox().
|
private |
Referenced by isTallest().
void FWPFLegoRecHit::setIsTallest | ( | bool | b | ) |
Definition at line 138 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 121 of file FWPFLegoRecHit.cc.
References checklumidiff::l, and m_ls.
Referenced by getTower(), and updateScale().
|
inline |
Definition at line 44 of file FWPFLegoRecHit.h.
References m_ls.
Referenced by FWPFEcalRecHitLegoProxyBuilder::build().
|
private |
Definition at line 18 of file FWPFLegoRecHit.cc.
References mps_fire::i, m_tower, and Scenarios_cff::scale.
Referenced by buildTower(), and isTallest().
void FWPFLegoRecHit::updateScale | ( | const FWViewContext * | vc, |
float | maxLogVal | ||
) |
Definition at line 72 of file FWPFLegoRecHit.cc.
References EnergyCorrector::c, edmIntegrityCheck::d, data, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), mps_fire::i, cmsBatch::log, funct::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 66 of file FWPFLegoRecHit.h.
Referenced by buildTower(), getEtEnergy(), and 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 isTallest(), setIsTallest(), and updateScale().
|
private |
Definition at line 65 of file FWPFLegoRecHit.h.
Referenced by addLine(), buildLineSet(), FWPFLegoRecHit(), setLine(), setSquareColor(), and updateScale().
|
private |
Definition at line 64 of file FWPFLegoRecHit.h.
Referenced by buildTower(), FWPFLegoRecHit(), getTower(), setupEveBox(), and updateScale().