#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) | |
float | getEnergy (bool b) const |
TEveBox * | getTower () |
bool | isTallest () const |
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) |
FWBoxRecHit (const FWBoxRecHit &)=delete | |
const FWBoxRecHit & | operator= (const FWBoxRecHit &)=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 FWBoxRecHit.h.
FWBoxRecHit::FWBoxRecHit | ( | const std::vector< TEveVector > & | corners, |
TEveElement * | comp, | ||
float | e, | ||
float | et | ||
) |
Definition at line 10 of file FWBoxRecHit.cc.
References buildLineSet(), buildTower(), h, m_ls, and m_tower.
Referenced by isTallest().
|
inlinevirtual |
Definition at line 39 of file FWBoxRecHit.h.
References Scenarios_cff::scale, and updateScale().
|
privatedelete |
void FWBoxRecHit::addLine | ( | float | x1, |
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
void FWBoxRecHit::addLine | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
|
private |
Definition at line 70 of file FWBoxRecHit.cc.
References EnergyCorrector::c, data, mps_fire::i, m_ls, and m_tower.
Referenced by FWBoxRecHit(), and isTallest().
|
private |
Definition at line 53 of file FWBoxRecHit.cc.
References f, m_tower, and setupEveBox().
Referenced by FWBoxRecHit(), and isTallest().
|
inline |
|
inline |
Definition at line 45 of file FWBoxRecHit.h.
References addLine(), training_settings::idx, m_tower, setLine(), globals_cff::x1, and globals_cff::x2.
|
inline |
Definition at line 50 of file FWBoxRecHit.h.
References buildLineSet(), buildTower(), FWBoxRecHit(), m_isTallest, operator=(), setIsTallest(), and setupEveBox().
|
privatedelete |
Referenced by isTallest().
void FWBoxRecHit::setIsTallest | ( | ) |
void FWBoxRecHit::setLine | ( | int | idx, |
float | x1, | ||
float | y1, | ||
float | z1, | ||
float | x2, | ||
float | y2, | ||
float | z2 | ||
) |
Definition at line 153 of file FWBoxRecHit.cc.
References checklumidiff::l, m_ls, globals_cff::x1, and globals_cff::x2.
Referenced by getTower(), and updateScale().
|
inline |
|
private |
Definition at line 34 of file FWBoxRecHit.cc.
References mps_fire::i, m_tower, and Scenarios_cff::scale.
Referenced by buildTower(), and isTallest().
void FWBoxRecHit::updateScale | ( | float | scale, |
float | maxLogVal, | ||
bool | plotEt | ||
) |
Definition at line 100 of file FWBoxRecHit.cc.
References EnergyCorrector::c, edmIntegrityCheck::d, data, 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 ~FWBoxRecHit().
|
private |
Definition at line 65 of file FWBoxRecHit.h.
Referenced by getEnergy(), and updateScale().
|
private |
Definition at line 66 of file FWBoxRecHit.h.
Referenced by getEnergy(), and updateScale().
|
private |
Definition at line 67 of file FWBoxRecHit.h.
Referenced by isTallest(), setIsTallest(), and updateScale().
|
private |
Definition at line 64 of file FWBoxRecHit.h.
Referenced by addLine(), buildLineSet(), FWBoxRecHit(), setLine(), setSquareColor(), and updateScale().
|
private |
Definition at line 63 of file FWBoxRecHit.h.
Referenced by buildLineSet(), buildTower(), FWBoxRecHit(), getTower(), setupEveBox(), and updateScale().