#include <FWBoxRecHit.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) |
FWBoxRecHit (const std::vector< TEveVector > &corners, TEveElement *comp, float e, float et) | |
FWBoxRecHit (const FWBoxRecHit &)=delete | |
float | getEnergy (bool b) const |
TEveBox * | getTower () |
bool | isTallest () const |
const FWBoxRecHit & | operator= (const FWBoxRecHit &)=delete |
void | setIsTallest () |
void | setLine (int idx, float x1, float y1, float z1, float x2, float y2, float z2) |
void | setSquareColor (Color_t c) |
void | updateScale (float scale, float maxLogVal, bool plotEt) |
virtual | ~FWBoxRecHit () |
Private Member Functions | |
void | buildLineSet (const std::vector< TEveVector > &corners) |
void | buildTower (const std::vector< TEveVector > &corners) |
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 FWBoxRecHit.h.
FWBoxRecHit::FWBoxRecHit | ( | const std::vector< TEveVector > & | corners, |
TEveElement * | comp, | ||
float | e, | ||
float | et | ||
) |
Definition at line 9 of file FWBoxRecHit.cc.
References buildLineSet(), buildTower(), h, m_ls, and m_tower.
|
inlinevirtual |
Definition at line 38 of file FWBoxRecHit.h.
|
delete |
void FWBoxRecHit::addLine | ( | float | x1, |
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
Definition at line 155 of file FWBoxRecHit.cc.
References m_ls, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
void FWBoxRecHit::addLine | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
|
private |
Definition at line 62 of file FWBoxRecHit.cc.
References c, data, mps_fire::i, m_ls, and m_tower.
Referenced by FWBoxRecHit().
|
private |
Definition at line 47 of file FWBoxRecHit.cc.
References f, m_tower, and setupEveBox().
Referenced by FWBoxRecHit().
|
inline |
|
inline |
|
inline |
|
delete |
void FWBoxRecHit::setIsTallest | ( | ) |
void FWBoxRecHit::setLine | ( | int | idx, |
float | x1, | ||
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
Definition at line 137 of file FWBoxRecHit.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 |
Definition at line 42 of file FWBoxRecHit.h.
|
private |
Definition at line 31 of file FWBoxRecHit.cc.
References mps_fire::i, dqmiolumiharvest::j, m_tower, and L1EGammaClusterEmuProducer_cfi::scale.
Referenced by buildTower().
void FWBoxRecHit::updateScale | ( | float | scale, |
float | maxLogVal, | ||
bool | plotEt | ||
) |
Definition at line 85 of file FWBoxRecHit.cc.
References c, ztail::d, data, 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 67 of file FWBoxRecHit.h.
Referenced by getEnergy(), and updateScale().
|
private |
Definition at line 68 of file FWBoxRecHit.h.
Referenced by getEnergy(), and updateScale().
|
private |
Definition at line 69 of file FWBoxRecHit.h.
Referenced by isTallest(), setIsTallest(), and updateScale().
|
private |
Definition at line 66 of file FWBoxRecHit.h.
Referenced by addLine(), buildLineSet(), FWBoxRecHit(), setLine(), setSquareColor(), and updateScale().
|
private |
Definition at line 65 of file FWBoxRecHit.h.
Referenced by buildLineSet(), buildTower(), FWBoxRecHit(), getTower(), setupEveBox(), and updateScale().