#include <FWPFRhoPhiRecHit.h>
|
void | addChild (FWProxyBuilderBase *pb, TEveElement *itemHolder, const FWViewContext *vc, float E, float et) |
|
void | buildRecHit (FWProxyBuilderBase *pb, TEveElement *itemHolder, const FWViewContext *vc, std::vector< TEveVector > &bCorners) |
|
void | clean () |
|
| FWPFRhoPhiRecHit (FWProxyBuilderBase *pb, TEveElement *iH, const FWViewContext *vc, float E, float et, double lPhi, double rPhi, std::vector< TEveVector > &bCorners) |
|
TEveScalableStraightLineSet * | getLineSet () |
|
Double_t | getlPhi () |
|
void | setCorners (int i, TEveVector vec) |
|
void | setHasChild (bool b) |
|
void | updateScale (const FWViewContext *vc) |
|
void | updateScale (TEveScalableStraightLineSet *ls, Double_t scale, unsigned int i) |
|
virtual | ~FWPFRhoPhiRecHit () |
|
Definition at line 28 of file FWPFRhoPhiRecHit.h.
◆ FWPFRhoPhiRecHit() [1/2]
FWPFRhoPhiRecHit::FWPFRhoPhiRecHit |
( |
FWProxyBuilderBase * |
pb, |
|
|
TEveElement * |
iH, |
|
|
const FWViewContext * |
vc, |
|
|
float |
E, |
|
|
float |
et, |
|
|
double |
lPhi, |
|
|
double |
rPhi, |
|
|
std::vector< TEveVector > & |
bCorners |
|
) |
| |
◆ ~FWPFRhoPhiRecHit()
FWPFRhoPhiRecHit::~FWPFRhoPhiRecHit |
( |
| ) |
|
|
virtual |
◆ FWPFRhoPhiRecHit() [2/2]
◆ addChild()
◆ buildRecHit()
Definition at line 119 of file FWPFRhoPhiRecHit.cc.
125 TEveVector v1, v2, v3, v4;
138 v3 = v3 + (vec *
scale);
143 v4 = v4 + (vec *
scale);
145 m_ls =
new TEveScalableStraightLineSet(
"rhophiRecHit");
146 m_ls->AddLine(v1.fX, v1.fY, 0, v3.fX, v3.fY, 0);
147 m_ls->AddLine(v3.fX, v3.fY, 0, v4.fX, v4.fY, 0);
148 m_ls->AddLine(v4.fX, v4.fY, 0, v2.fX, v2.fY, 0);
149 m_ls->AddLine(v2.fX, v2.fY, 0, v1.fX, v1.fY, 0);
References FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), m_corners, m_energy, m_et, m_ls, HLT_FULL_cff::scale, FWProxyBuilderBase::setupAddElement(), and relativeConstraints::value.
Referenced by FWPFRhoPhiRecHit().
◆ clean()
void FWPFRhoPhiRecHit::clean |
( |
| ) |
|
◆ getLineSet()
TEveScalableStraightLineSet* FWPFRhoPhiRecHit::getLineSet |
( |
| ) |
|
|
inline |
◆ getlPhi()
Double_t FWPFRhoPhiRecHit::getlPhi |
( |
| ) |
|
|
inline |
◆ operator=()
◆ setCorners()
void FWPFRhoPhiRecHit::setCorners |
( |
int |
i, |
|
|
TEveVector |
vec |
|
) |
| |
|
inline |
◆ setHasChild()
void FWPFRhoPhiRecHit::setHasChild |
( |
bool |
b | ) |
|
|
inline |
◆ updateScale() [1/2]
Definition at line 20 of file FWPFRhoPhiRecHit.cc.
44 TEveChunkManager::iterator li(
m_ls->GetLinePlex());
46 TEveStraightLineSet::Line_t &
l = *(TEveStraightLineSet::Line_t *)li();
52 l.fV2[0] = sc2.fX + v2.fX;
53 l.fV2[1] = sc2.fY + v2.fY;
58 l.fV1[0] = sc2.fX + v2.fX;
59 l.fV1[1] = sc2.fY + v2.fY;
60 l.fV2[0] = sc1.fX + v1.fX;
61 l.fV2[1] = sc1.fY + v1.fY;
66 l.fV1[0] = sc1.fX + v1.fX;
67 l.fV1[1] = sc1.fY + v1.fY;
82 TEveProjected *
proj = *(
m_ls)->BeginProjecteds();
83 proj->UpdateProjection();
References a, f, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), cmsLHEtoEOSManager::l, m_child, m_corners, m_energy, m_et, m_hasChild, m_ls, amptDefault_cfi::proj, HLT_FULL_cff::scale, setCorners(), updateScale(), and relativeConstraints::value.
◆ updateScale() [2/2]
void FWPFRhoPhiRecHit::updateScale |
( |
TEveScalableStraightLineSet * |
ls, |
|
|
Double_t |
scale, |
|
|
unsigned int |
i |
|
) |
| |
◆ m_child
◆ m_corners
std::vector<TEveVector> FWPFRhoPhiRecHit::m_corners |
|
private |
◆ m_energy
float FWPFRhoPhiRecHit::m_energy |
|
private |
◆ m_et
float FWPFRhoPhiRecHit::m_et |
|
private |
◆ m_hasChild
bool FWPFRhoPhiRecHit::m_hasChild |
|
private |
◆ m_lPhi
Double_t FWPFRhoPhiRecHit::m_lPhi |
|
private |
◆ m_ls
TEveScalableStraightLineSet* FWPFRhoPhiRecHit::m_ls |
|
private |
◆ m_rPhi
Double_t FWPFRhoPhiRecHit::m_rPhi |
|
private |
FWPFRhoPhiRecHit(FWProxyBuilderBase *pb, TEveElement *iH, const FWViewContext *vc, float E, float et, double lPhi, double rPhi, std::vector< TEveVector > &bCorners)
FWViewEnergyScale * getEnergyScale() const