Public Member Functions | |
Arrow (Float_t x, Float_t y, Float_t z, Float_t xo, Float_t yo, Float_t zo=0) | |
void | setScale (FWViewEnergyScale *caloScale) |
Public Attributes | |
float | m_energy |
float | m_et |
const FWViewContext * | m_vc |
Definition at line 37 of file FWMET3DProxyBuilder.cc.
FWMET3DProxyBuilder::Arrow::Arrow | ( | Float_t | x, |
Float_t | y, | ||
Float_t | z, | ||
Float_t | xo, | ||
Float_t | yo, | ||
Float_t | zo = 0 |
||
) | [inline] |
void FWMET3DProxyBuilder::Arrow::setScale | ( | FWViewEnergyScale * | caloScale | ) | [inline] |
Definition at line 49 of file FWMET3DProxyBuilder.cc.
References f, FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), m_energy, m_et, siStripFEDMonitor_P5_cff::Min, and pileupReCalc_HLTpaths::scale.
Referenced by FWMET3DProxyBuilder::build().
{ static float maxW = 3; float scale = caloScale->getScaleFactor3D()*(caloScale->getPlotEt() ? m_et : m_energy); fVector.Normalize(); fVector *= scale; fTubeR = TMath::Min(maxW/scale, 0.08f); fConeR = TMath::Min(maxW*2.5f/scale, 0.25f); }
Definition at line 41 of file FWMET3DProxyBuilder.cc.
Referenced by FWMET3DProxyBuilder::build(), and setScale().
Definition at line 40 of file FWMET3DProxyBuilder.cc.
Referenced by FWMET3DProxyBuilder::build(), and setScale().
Definition at line 42 of file FWMET3DProxyBuilder.cc.
Referenced by FWMET3DProxyBuilder::build().