#include <FWBoxRecHit.h>
|
void | addLine (const TEveVector &v1, const TEveVector &v2) |
|
void | addLine (float x1, float y1, float z1, float x2, float y2, float z2) |
|
| 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 () |
|
Definition at line 34 of file FWBoxRecHit.h.
◆ FWBoxRecHit() [1/2]
FWBoxRecHit::FWBoxRecHit |
( |
const std::vector< TEveVector > & |
corners, |
|
|
TEveElement * |
comp, |
|
|
float |
e, |
|
|
float |
et |
|
) |
| |
◆ ~FWBoxRecHit()
virtual FWBoxRecHit::~FWBoxRecHit |
( |
| ) |
|
|
inlinevirtual |
◆ FWBoxRecHit() [2/2]
◆ addLine() [1/2]
void FWBoxRecHit::addLine |
( |
const TEveVector & |
v1, |
|
|
const TEveVector & |
v2 |
|
) |
| |
◆ addLine() [2/2]
void FWBoxRecHit::addLine |
( |
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
◆ buildLineSet()
void FWBoxRecHit::buildLineSet |
( |
const std::vector< TEveVector > & |
corners | ) |
|
|
private |
Definition at line 62 of file FWBoxRecHit.cc.
63 m_ls =
new TEveStraightLineSet(
"EcalRecHitLineSet");
67 for (
unsigned int i = 0;
i < 4; ++
i) {
76 m_ls->SetMarkerStyle(1);
77 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
78 m_ls->AddMarker(0, 0.);
References HltBtagPostValidation_cff::c, data, mps_fire::i, m_ls, and m_tower.
Referenced by FWBoxRecHit().
◆ buildTower()
void FWBoxRecHit::buildTower |
( |
const std::vector< TEveVector > & |
corners | ) |
|
|
private |
◆ getEnergy()
float FWBoxRecHit::getEnergy |
( |
bool |
b | ) |
const |
|
inline |
◆ getTower()
TEveBox* FWBoxRecHit::getTower |
( |
| ) |
|
|
inline |
◆ isTallest()
bool FWBoxRecHit::isTallest |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setIsTallest()
void FWBoxRecHit::setIsTallest |
( |
| ) |
|
◆ setLine()
void FWBoxRecHit::setLine |
( |
int |
idx, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
◆ setSquareColor()
void FWBoxRecHit::setSquareColor |
( |
Color_t |
c | ) |
|
|
inline |
◆ setupEveBox()
void FWBoxRecHit::setupEveBox |
( |
std::vector< TEveVector > & |
corners, |
|
|
float |
scale |
|
) |
| |
|
private |
◆ updateScale()
void FWBoxRecHit::updateScale |
( |
float |
scale, |
|
|
float |
maxLogVal, |
|
|
bool |
plotEt |
|
) |
| |
Definition at line 85 of file FWBoxRecHit.cc.
96 for (
unsigned int i = 0;
i < 4; ++
i) {
108 float s =
log(1 +
val) / maxLogVal;
120 m_ls->GetMarkerPlex().Refit();
123 TEveStraightLineSet::Marker_t *
m = ((TEveStraightLineSet::Marker_t *)(
m_ls->GetMarkerPlex().Atom(0)));
133 m_ls->StampTransBBox();
References HltBtagPostValidation_cff::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, L1EGammaCrystalsEmulatorProducer_cfi::scale, setLine(), heppy_batch::val, and z.
◆ m_energy
float FWBoxRecHit::m_energy |
|
private |
◆ m_et
◆ m_isTallest
bool FWBoxRecHit::m_isTallest |
|
private |
◆ m_ls
TEveStraightLineSet* FWBoxRecHit::m_ls |
|
private |
◆ m_tower
TEveBox* FWBoxRecHit::m_tower |
|
private |