7 typedef std::vector<FWPFRhoPhiRecHit *> rpRecHits;
8 unsigned int index = 0;
18 typedef std::vector<FWPFRhoPhiRecHit *> rpRecHits;
29 for (
unsigned int i = 0;
i < 8;
i++) {
36 centre *= 1.0f / 8.0f;
44 for (
unsigned int index = 0; index < static_cast<unsigned int>(iItem->
size()); ++
index) {
46 product->AddElement(itemHolder);
49 if (
info.displayProperties().isVisible()) {
66 for (
unsigned int i = 0;
i <
m_towers.size();
i++) {
68 if ((lPhi ==
phi) || ((lPhi <
phi + 0.0005) && (lPhi >
phi - 0.0005))) {
77 rVec.fX = ecalR *
cos(rPhi);
78 rVec.fY = ecalR *
sin(rPhi);
79 lVec.fX = ecalR *
cos(lPhi);
80 lVec.fY = ecalR *
sin(lPhi);
81 std::vector<TEveVector> bCorners(2);
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void cleanLocal() override
Sin< T >::type sin(const T &t)
const fireworks::Context & context() const
const EcalRecHit & modelData(int index)
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
const float * getCorners(unsigned int id) const
void voteMaxEtAndEnergy(float Et, float energy) const
Cos< T >::type cos(const T &t)
TEveVector calculateCentre(const float *corners)
float calculateEt(const TEveVector ¢re, float e)
const FWGeometry * getGeom() const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
const DetId & detid() const
std::vector< FWPFRhoPhiRecHit * > m_towers
ModelInfo modelInfo(int iIndex) const
const FWEventItem * item() const