#include <FWPFLegoRecHit.h>
|
void | addLine (const TEveVector &v1, const TEveVector &v2) |
|
void | addLine (float x1, float y1, float z1, float x2, float y2, float z2) |
|
| 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 () |
|
Definition at line 34 of file FWPFLegoRecHit.h.
◆ FWPFLegoRecHit() [1/2]
FWPFLegoRecHit::FWPFLegoRecHit |
( |
const std::vector< TEveVector > & |
corners, |
|
|
TEveElement * |
comp, |
|
|
FWProxyBuilderBase * |
pb, |
|
|
const FWViewContext * |
vc, |
|
|
float |
e, |
|
|
float |
et |
|
) |
| |
◆ ~FWPFLegoRecHit()
virtual FWPFLegoRecHit::~FWPFLegoRecHit |
( |
| ) |
|
|
inlinevirtual |
◆ FWPFLegoRecHit() [2/2]
◆ addLine() [1/2]
void FWPFLegoRecHit::addLine |
( |
const TEveVector & |
v1, |
|
|
const TEveVector & |
v2 |
|
) |
| |
◆ addLine() [2/2]
void FWPFLegoRecHit::addLine |
( |
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
◆ buildLineSet()
void FWPFLegoRecHit::buildLineSet |
( |
const std::vector< TEveVector > & |
corners, |
|
|
const FWViewContext * |
vc |
|
) |
| |
|
private |
Definition at line 49 of file FWPFLegoRecHit.cc.
50 m_ls =
new TEveStraightLineSet(
"EcalRecHitLineSet");
55 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
56 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
57 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
58 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
61 m_ls->SetMarkerStyle(1);
62 m_ls->AddLine(
c.fX,
c.fY,
c.fZ,
c.fX,
c.fY,
c.fZ);
63 m_ls->AddMarker(0, 0.);
References HltBtagPostValidation_cff::c, and m_ls.
Referenced by FWPFLegoRecHit().
◆ buildTower()
void FWPFLegoRecHit::buildTower |
( |
const std::vector< TEveVector > & |
corners, |
|
|
const FWViewContext * |
vc |
|
) |
| |
|
private |
◆ getEtEnergy()
float FWPFLegoRecHit::getEtEnergy |
( |
bool |
b | ) |
const |
|
inline |
◆ getTower()
TEveBox* FWPFLegoRecHit::getTower |
( |
| ) |
|
|
inline |
◆ isTallest()
bool FWPFLegoRecHit::isTallest |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setIsTallest()
void FWPFLegoRecHit::setIsTallest |
( |
bool |
b | ) |
|
◆ setLine()
void FWPFLegoRecHit::setLine |
( |
int |
idx, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float |
z2 |
|
) |
| |
◆ setSquareColor()
void FWPFLegoRecHit::setSquareColor |
( |
Color_t |
c | ) |
|
|
inline |
◆ setupEveBox()
void FWPFLegoRecHit::setupEveBox |
( |
std::vector< TEveVector > & |
corners, |
|
|
float |
scale |
|
) |
| |
|
private |
◆ updateScale()
void FWPFLegoRecHit::updateScale |
( |
const FWViewContext * |
vc, |
|
|
float |
maxLogVal |
|
) |
| |
Definition at line 67 of file FWPFLegoRecHit.cc.
80 for (
unsigned int i = 0;
i < 4; ++
i) {
89 float s =
log(1 +
val) / maxLogVal;
104 TEveStraightLineSet::Marker_t *
m = ((TEveStraightLineSet::Marker_t *)(
m_ls->GetMarkerPlex().Atom(0)));
111 m_ls->StampTransBBox();
References HltBtagPostValidation_cff::c, ztail::d, data, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), mps_fire::i, dqm-mbProfile::log, visualization-live-secondInstance_cfg::m, m_energy, m_et, m_isTallest, m_ls, m_tower, alignCSCRings::s, Scenarios_cff::scale, setLine(), heppy_batch::val, and z.
◆ m_energy
float FWPFLegoRecHit::m_energy |
|
private |
◆ m_et
float FWPFLegoRecHit::m_et |
|
private |
◆ m_isTallest
bool FWPFLegoRecHit::m_isTallest |
|
private |
◆ m_ls
TEveStraightLineSet* FWPFLegoRecHit::m_ls |
|
private |
◆ m_tower
TEveBox* FWPFLegoRecHit::m_tower |
|
private |
FWViewEnergyScale * getEnergyScale() const