CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
FWECALDetailViewBuilder Class Reference

#include <FWECALDetailViewBuilder.h>

Public Member Functions

TEveCaloLego * build ()
 
TEveCaloData * buildCaloData (bool xyEE)
 
 FWECALDetailViewBuilder (const edm::EventBase *event, const FWGeometry *geom, float eta, float phi, int size=50, Color_t defaultColor=kMagenta+1)
 
double makeLegend (double x0=0.02, double y0=0.95, Color_t clustered1=kGreen+1, Color_t clustered2=kTeal, Color_t supercluster=kYellow)
 
void setColor (Color_t color, const std::vector< DetId > &detIds)
 
void showSuperCluster (const reco::SuperCluster &cluster, Color_t color=kYellow)
 
void showSuperClusters (Color_t color1=kGreen+2, Color_t color2=kTeal)
 

Private Member Functions

void fillData (TEveCaloDataVec *data)
 
void fillEtaPhi (const EcalRecHitCollection *hits, TEveCaloDataVec *data)
 
float sizeRad () const
 

Static Private Member Functions

static bool superClusterEtaLess (const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
 

Private Attributes

std::vector< FWBoxRecHit * > m_boxes
 
Color_t m_defaultColor
 
std::map< DetId, int > m_detIdsToColor
 
float m_eta
 
const edm::EventBasem_event
 
const FWGeometrym_geom
 
float m_phi
 
int m_size
 
TEveElement * m_towerList
 

Detailed Description

Definition at line 22 of file FWECALDetailViewBuilder.h.

Constructor & Destructor Documentation

◆ FWECALDetailViewBuilder()

FWECALDetailViewBuilder::FWECALDetailViewBuilder ( const edm::EventBase event,
const FWGeometry geom,
float  eta,
float  phi,
int  size = 50,
Color_t  defaultColor = kMagenta + 1 
)

Definition at line 32 of file FWECALDetailViewBuilder.cc.

35  : m_event(event),
36  m_geom(geom),
37  m_eta(eta),
38  m_phi(phi),
39  m_size(size),
40  m_defaultColor(defaultColor),
41  m_towerList(nullptr) {}

Member Function Documentation

◆ build()

TEveCaloLego * FWECALDetailViewBuilder::build ( )

Definition at line 99 of file FWECALDetailViewBuilder.cc.

99  {
100  // axis
101  float etaMin = m_eta - sizeRad();
102  float etaMax = m_eta + sizeRad();
103  float phiMin = m_phi - sizeRad();
104  float phiMax = m_phi + sizeRad();
105 
106  m_towerList = new TEveElementList("TowerHolder");
107  TEveCaloData *data = buildCaloData(true);
108 
109  // lego
110  TEveCaloLego *lego = new TEveCaloLego();
111  lego->SetData(data);
112  lego->AddElement(m_towerList);
113  lego->SetAutoRange(false);
114  lego->SetDrawNumberCellPixels(100);
115  // scale and translate to real world coordinates
116  lego->SetEta(etaMin, etaMax);
117  lego->SetPhiWithRng((phiMin + phiMax) * 0.5, (phiMax - phiMin) * 0.5); // phi range = 2* phiOffset
118  Double_t legoScale = sizeRad() * 2;
119  lego->InitMainTrans();
120  lego->RefMainTrans().SetScale(legoScale, legoScale, legoScale * 0.5);
121  lego->RefMainTrans().SetPos(m_eta, m_phi, -0.01);
122  lego->SetAutoRebin(kFALSE);
123  lego->SetName("ECALDetail Lego");
124 
125  // cut & paste from FWLegoViewBase
126  lego->SetScaleAbs(true);
127  lego->SetHasFixedHeightIn2DMode(true);
128  lego->SetFixedHeightValIn2DMode(0.001);
129 
130  TEvePointSet *ps = new TEvePointSet("origin");
131  ps->SetNextPoint(m_eta, m_phi, 0.01);
132  ps->SetMarkerSize(0.05);
133  ps->SetMarkerStyle(2);
134  ps->SetMainColor(kGreen);
135  ps->SetMarkerColor(kGreen);
136  lego->AddElement(ps);
137 
138  return lego;
139 }

References buildCaloData(), data, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, m_eta, m_phi, m_towerList, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, and sizeRad().

Referenced by FWCaloTowerDetailView::build(), FWMuonDetailView::build(), FWPhotonDetailView::build(), and FWElectronDetailView::build().

◆ buildCaloData()

TEveCaloData * FWECALDetailViewBuilder::buildCaloData ( bool  xyEE)

Definition at line 43 of file FWECALDetailViewBuilder.cc.

43  {
44  // get the hits from the event
45 
46  // data
47  TEveCaloDataVec *data = new TEveCaloDataVec(1);
48  data->SetWrapTwoPi(false);
49  data->RefSliceInfo(0).Setup("hits (not clustered)", 0.0, m_defaultColor);
50 
51  fillData(data);
52 
53  // axis
54  float etaMin = m_eta - sizeRad();
55  float etaMax = m_eta + sizeRad();
56  float phiMin = m_phi - sizeRad();
57  float phiMax = m_phi + sizeRad();
58 
59  data->AddTower(m_eta - sizeRad(), m_eta + sizeRad(), m_phi - sizeRad(), m_phi + sizeRad());
60 
61  data->FillSlice(0, 0.1);
62 
63  TAxis *eta_axis = nullptr;
64  TAxis *phi_axis = nullptr;
65 
66  // printf("data rng %f %f %f %f\n",etaMin, etaMax, phiMin, phiMax );
67  std::vector<double> etaBinsWithinLimits;
68  etaBinsWithinLimits.push_back(etaMin);
69  for (unsigned int i = 0; i < 83; ++i)
71  etaBinsWithinLimits.push_back(fw3dlego::xbins[i]);
72  etaBinsWithinLimits.push_back(etaMax);
73 
74  std::vector<double> phiBinsWithinLimits;
75  phiBinsWithinLimits.push_back(phiMin);
76  for (double phi = -M_PI; phi < M_PI; phi += M_PI / 36)
77  if (phi > phiMin && phi < phiMax)
78  phiBinsWithinLimits.push_back(phi);
79  phiBinsWithinLimits.push_back(phiMax);
80 
81  eta_axis = new TAxis((int)etaBinsWithinLimits.size() - 1, &etaBinsWithinLimits[0]);
82  phi_axis = new TAxis((int)phiBinsWithinLimits.size() - 1, &phiBinsWithinLimits[0]);
83 
84  eta_axis->SetTitleFont(122);
85  eta_axis->SetTitle("h");
86  eta_axis->SetTitleSize(0.07);
87  phi_axis->SetTitleFont(122);
88  phi_axis->SetTitle("f");
89  phi_axis->SetTitleSize(0.07);
90 
91  eta_axis->SetNdivisions(510);
92  phi_axis->SetNdivisions(510);
93  data->SetEtaBins(eta_axis);
94  data->SetPhiBins(phi_axis);
95  return data;
96 }

References data, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, fillData(), mps_fire::i, m_defaultColor, m_eta, m_phi, M_PI, phi, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, sizeRad(), and fw3dlego::xbins.

Referenced by build().

◆ fillData()

void FWECALDetailViewBuilder::fillData ( TEveCaloDataVec *  data)
private

Definition at line 279 of file FWECALDetailViewBuilder.cc.

279  {
280  { // barrel
281  const EcalRecHitCollection *hitsEB = nullptr;
282  edm::Handle<EcalRecHitCollection> handle_hitsEB;
283 
284  // RECO
285  try {
286  edm::InputTag tag("ecalRecHit", "EcalRecHitsEB");
287  m_event->getByLabel(tag, handle_hitsEB);
288  if (handle_hitsEB.isValid()) {
289  hitsEB = &*handle_hitsEB;
290  }
291  } catch (...) {
292  fwLog(fwlog::kWarning) << "FWECALDetailViewBuilder::fillData():: Failed to access EcalRecHitsEB collection."
293  << std::endl;
294  }
295 
296  // AOD
297  if (!handle_hitsEB.isValid()) {
298  try {
299  edm::InputTag tag("reducedEcalRecHitsEB");
300  m_event->getByLabel(tag, handle_hitsEB);
301  if (handle_hitsEB.isValid()) {
302  hitsEB = &*handle_hitsEB;
303  }
304 
305  } catch (...) {
307  << "FWECALDetailViewBuilder::filData():: Failed to access reducedEcalRecHitsEB collection." << std::endl;
308  }
309  }
310 
311  // MINIAOD
312  if (!handle_hitsEB.isValid()) {
313  try {
314  edm::InputTag tag("reducedEgamma", "reducedEBRecHits");
315  m_event->getByLabel(tag, handle_hitsEB);
316  if (handle_hitsEB.isValid()) {
317  hitsEB = &*handle_hitsEB;
318  }
319 
320  } catch (...) {
321  fwLog(fwlog::kWarning) << "FWECALDetailViewBuilder::filData():: Failed to access reducedEgamma collection."
322  << std::endl;
323  }
324  }
325 
326  if (handle_hitsEB.isValid()) {
327  fillEtaPhi(hitsEB, data);
328  }
329  }
330 
331  { // endcap
332 
333  const EcalRecHitCollection *hitsEE = nullptr;
334  edm::Handle<EcalRecHitCollection> handle_hitsEE;
335 
336  // RECO
337  try {
338  edm::InputTag tag("ecalRecHit", "EcalRecHitsEE");
339  m_event->getByLabel(tag, handle_hitsEE);
340  if (handle_hitsEE.isValid())
341  hitsEE = &*handle_hitsEE;
342  } catch (...) {
343  fwLog(fwlog::kWarning) << "FWECALDetailViewBuilder::fillData():: Failed to access ecalRecHitsEE collection."
344  << std::endl;
345  }
346 
347  // AOD
348  if (!handle_hitsEE.isValid()) {
349  try {
350  edm::InputTag tag("reducedEcalRecHitsEE");
351  m_event->getByLabel(tag, handle_hitsEE);
352  if (handle_hitsEE.isValid()) {
353  hitsEE = &*handle_hitsEE;
354  }
355 
356  } catch (...) {
358  << "FWECALDetailViewBuilder::fillData():: Failed to access reducedEcalRecHitsEE collection." << std::endl;
359  }
360 
361  // MINIAOD
362  if (!handle_hitsEE.isValid()) {
363  try {
364  edm::InputTag tag("reducedEgamma", "reducedEERecHits");
365  m_event->getByLabel(tag, handle_hitsEE);
366  if (handle_hitsEE.isValid()) {
367  hitsEE = &*handle_hitsEE;
368  }
369 
370  } catch (...) {
372  << "FWECALDetailViewBuilder::fillData():: Failed to access reducedEcalRecHitsEE collection." << std::endl;
373  }
374  }
375  }
376 
377  if (handle_hitsEE.isValid()) {
378  fillEtaPhi(hitsEE, data);
379  }
380  }
381 
382  if (m_boxes.empty())
383  return;
384 
385  bool plotEt = true;
386  float maxEnergy = 0;
387  int maxEnergyIdx = 0;
388  // get max energy in EE and EB
389 
390  int cnt = 0;
391  for (auto &i : m_boxes) {
392  if (i->getEnergy(plotEt) > maxEnergy) {
393  maxEnergy = i->getEnergy(plotEt);
394  maxEnergyIdx = cnt;
395  }
396  cnt++;
397  }
398 
399  m_boxes[maxEnergyIdx]->setIsTallest();
400 
401  // AMT ... max size can be an external parameter
402  float scale = 0.3 / maxEnergy;
403  for (auto &i : m_boxes) {
404  i->updateScale(scale, log(maxEnergy + 1), plotEt);
405  i->getTower()->SetDrawFrame(true);
406  }
407  data->DataChanged();
408 }

References data, fillEtaPhi(), fwLog, edm::EventBase::getByLabel(), mps_fire::i, edm::HandleBase::isValid(), fwlog::kWarning, dqm-mbProfile::log, m_boxes, m_event, particleFlowClusterECALTimeSelected_cfi::maxEnergy, Scenarios_cff::scale, and GlobalPosition_Frontier_DevDB_cff::tag.

Referenced by buildCaloData().

◆ fillEtaPhi()

void FWECALDetailViewBuilder::fillEtaPhi ( const EcalRecHitCollection hits,
TEveCaloDataVec *  data 
)
private

Definition at line 205 of file FWECALDetailViewBuilder.cc.

205  {
206  // printf("filletaphi \n");
207  const float area = sizeRad(); // barrel cell range, AMT this is available in context
208 
209  double eta1 = m_eta - area;
210  double eta2 = m_eta + area;
211  double phi1 = m_phi - area;
212  double phi2 = m_phi + area;
213 
214  std::vector<FWBoxRecHit *> boxes;
215  for (EcalRecHitCollection::const_iterator hitIt = hits->begin(); hitIt != hits->end(); ++hitIt) {
216  const float *corners = m_geom->getCorners(hitIt->detid());
217  float energy, et;
218  std::vector<TEveVector> etaphiCorners(8);
219 
220  if (corners == nullptr)
221  continue;
222 
223  for (int i = 0; i < 4; ++i) {
224  TEveVector cv = TEveVector(corners[i * 3], corners[i * 3 + 1], corners[i * 3 + 2]);
225  etaphiCorners[i].fX = cv.Eta(); // Conversion of rechit X/Y values for plotting in Eta/Phi
226  etaphiCorners[i].fY = cv.Phi();
227  etaphiCorners[i].fZ = 0.0;
228 
229  etaphiCorners[i + 4].fX =
230  etaphiCorners[i].fX; // Top can simply be plotted exactly over the top of the bottom face
231  etaphiCorners[i + 4].fY = etaphiCorners[i].fY;
232  etaphiCorners[i + 4].fZ = 0.001;
233  // printf("%f %f %d \n", etaphiCorners[i].fX, etaphiCorners[i].fY, i);
234  }
235 
236  TEveVector center;
237  for (int i = 0; i < 4; ++i)
238  center += etaphiCorners[i];
239  center *= 1.f / 4.f;
240 
241  if (center.fX < eta1 || center.fX > eta2)
242  continue;
243  if (center.fY < phi1 || center.fY > phi2)
244  continue;
245 
246  // Stop phi wrap
247  float dPhi1 = etaphiCorners[2].fY - etaphiCorners[1].fY;
248  float dPhi2 = etaphiCorners[3].fY - etaphiCorners[0].fY;
249  float dPhi3 = etaphiCorners[1].fY - etaphiCorners[2].fY;
250  float dPhi4 = etaphiCorners[0].fY - etaphiCorners[3].fY;
251 
252  if (dPhi1 > 1)
253  etaphiCorners[2].fY = etaphiCorners[2].fY - (2 * TMath::Pi());
254  if (dPhi2 > 1)
255  etaphiCorners[3].fY = etaphiCorners[3].fY - (2 * TMath::Pi());
256  if (dPhi3 > 1)
257  etaphiCorners[2].fY = etaphiCorners[2].fY + (2 * TMath::Pi());
258  if (dPhi4 > 1)
259  etaphiCorners[3].fY = etaphiCorners[3].fY + (2 * TMath::Pi());
260 
261  energy = hitIt->energy();
262  et = calculateEt(center, energy);
263  Color_t bcolor = m_defaultColor;
264  std::map<DetId, int>::const_iterator itr = m_detIdsToColor.find(hitIt->id());
265  if (itr != m_detIdsToColor.end())
266  bcolor = itr->second;
267 
268  m_boxes.push_back(new FWBoxRecHit(etaphiCorners, m_towerList, energy, et));
269  TEveElement::List_i pIt = m_boxes.back()->getTower()->BeginParents();
270  TEveCompound *comp = dynamic_cast<TEveCompound *>(*pIt);
271  comp->SetMainColor(bcolor);
272  m_boxes.back()->getTower()->SetPickable(true);
273  m_boxes.back()->getTower()->SetElementTitle(Form("rawId = %d, et = %f", hitIt->id().rawId(), et));
274  } // loop hits
275 }

References custom_jme_cff::area, FWPFMaths::calculateEt(), AlCaHLTBitMon_QueryRunRegistry::comp, cuy::cv, HCALHighEnergyHPDFilter_cfi::energy, EgHLTOffHistBins_cfi::et, HLT_2018_cff::eta1, HLT_2018_cff::eta2, FWGeometry::getCorners(), hfClusterShapes_cfi::hits, mps_fire::i, m_boxes, m_defaultColor, m_detIdsToColor, m_eta, m_geom, m_phi, m_towerList, Pi, and sizeRad().

Referenced by fillData().

◆ makeLegend()

double FWECALDetailViewBuilder::makeLegend ( double  x0 = 0.02,
double  y0 = 0.95,
Color_t  clustered1 = kGreen + 1,
Color_t  clustered2 = kTeal,
Color_t  supercluster = kYellow 
)

Definition at line 410 of file FWECALDetailViewBuilder.cc.

411  {
412  Double_t fontsize = 0.07;
413  TLatex *latex = new TLatex();
414  Double_t x = x0;
415  Double_t y = y0;
416  Double_t boxH = 0.25 * fontsize;
417  Double_t yStep = 0.04;
418 
419  y -= yStep;
420  latex->DrawLatex(x, y, "Energy types:");
421  y -= yStep;
422 
423  Double_t pos[4];
424  pos[0] = x + 0.05;
425  pos[2] = x + 0.20;
426 
427  pos[1] = y;
428  pos[3] = pos[1] + boxH;
430  latex->DrawLatex(x + 0.25, y, "unclustered");
431  y -= yStep;
432  if (clustered1 < 0)
433  return y;
434 
435  pos[1] = y;
436  pos[3] = pos[1] + boxH;
438  latex->DrawLatex(x + 0.25, y, "clustered");
439  y -= yStep;
440  if (clustered2 < 0)
441  return y;
442 
443  pos[1] = y;
444  pos[3] = pos[1] + boxH;
446  latex->DrawLatex(x + 0.25, y, "clustered");
447  y -= yStep;
448  if (supercluster < 0)
449  return y;
450 
451  pos[1] = y;
452  pos[3] = pos[1] + boxH;
453  FWDetailViewBase::drawCanvasBox(pos, supercluster);
454  latex->DrawLatex(x + 0.25, y, "super-cluster");
455  y -= yStep;
456 
457  return y;
458 }

References FWDetailViewBase::drawCanvasBox(), m_defaultColor, x, y, and beampixel_dqm_sourceclient-live_cfg::yStep.

Referenced by FWCaloTowerDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), and FWElectronDetailView::setTextInfo().

◆ setColor()

void FWECALDetailViewBuilder::setColor ( Color_t  color,
const std::vector< DetId > &  detIds 
)

Definition at line 141 of file FWECALDetailViewBuilder.cc.

141  {
142  for (size_t i = 0; i < detIds.size(); ++i)
143  m_detIdsToColor[detIds[i]] = color;
144 }

References mps_fire::i, and m_detIdsToColor.

Referenced by FWMuonDetailView::build(), and showSuperCluster().

◆ showSuperCluster()

void FWECALDetailViewBuilder::showSuperCluster ( const reco::SuperCluster cluster,
Color_t  color = kYellow 
)

Definition at line 146 of file FWECALDetailViewBuilder.cc.

146  {
147  std::vector<DetId> clusterDetIds;
148  const std::vector<std::pair<DetId, float> > &hitsAndFractions = cluster.hitsAndFractions();
149  for (size_t j = 0; j < hitsAndFractions.size(); ++j) {
150  clusterDetIds.push_back(hitsAndFractions[j].first);
151  }
152 
153  setColor(color, clusterDetIds);
154 }

References dqmdumpme::first, reco::CaloCluster::hitsAndFractions(), dqmiolumiharvest::j, and setColor().

Referenced by FWPhotonDetailView::build(), FWElectronDetailView::build(), and showSuperClusters().

◆ showSuperClusters()

void FWECALDetailViewBuilder::showSuperClusters ( Color_t  color1 = kGreen + 2,
Color_t  color2 = kTeal 
)

Definition at line 156 of file FWECALDetailViewBuilder.cc.

156  {
157  // get the superclusters from the event
159 
160  if (fabs(m_eta) < 1.5) {
161  try {
162  m_event->getByLabel(edm::InputTag("correctedHybridSuperClusters"), collection);
163  } catch (...) {
164  fwLog(fwlog::kWarning) << "no barrel superclusters are available" << std::endl;
165  }
166  } else {
167  try {
168  m_event->getByLabel(edm::InputTag("correctedMulti5x5SuperClustersWithPreshower"), collection);
169  } catch (...) {
170  fwLog(fwlog::kWarning) << "no endcap superclusters are available" << std::endl;
171  }
172  }
173  if (collection.isValid()) {
174  unsigned int colorIndex = 0;
175  // sort clusters in eta so neighboring clusters have distinct colors
176  reco::SuperClusterCollection sorted = *collection.product();
177  std::sort(sorted.begin(), sorted.end(), superClusterEtaLess);
178  for (size_t i = 0; i < sorted.size(); ++i) {
179  if (!(fabs(sorted[i].eta() - m_eta) < sizeRad() && fabs(sorted[i].phi() - m_phi) < sizeRad()))
180  continue;
181 
182  if (colorIndex % 2 == 0)
183  showSuperCluster(sorted[i], color1);
184  else
185  showSuperCluster(sorted[i], color2);
186  ++colorIndex;
187  }
188  }
189 }

References universalConfigTemplate::collection, PVValHelper::eta, fwLog, edm::EventBase::getByLabel(), mps_fire::i, fwlog::kWarning, m_eta, m_event, m_phi, phi, showSuperCluster(), sizeRad(), and superClusterEtaLess().

Referenced by FWCaloTowerDetailView::build(), FWMuonDetailView::build(), FWPhotonDetailView::build(), and FWElectronDetailView::build().

◆ sizeRad()

float FWECALDetailViewBuilder::sizeRad ( ) const
private

Definition at line 461 of file FWECALDetailViewBuilder.cc.

461  {
462  float rs = m_size * TMath::DegToRad();
463  return rs;
464 }

References m_size.

Referenced by build(), buildCaloData(), fillEtaPhi(), and showSuperClusters().

◆ superClusterEtaLess()

static bool FWECALDetailViewBuilder::superClusterEtaLess ( const reco::CaloCluster lhs,
const reco::CaloCluster rhs 
)
inlinestaticprivate

Definition at line 80 of file FWECALDetailViewBuilder.h.

80  {
81  return (lhs.eta() < rhs.eta());
82  }

References reco::CaloCluster::eta().

Referenced by showSuperClusters().

Member Data Documentation

◆ m_boxes

std::vector<FWBoxRecHit *> FWECALDetailViewBuilder::m_boxes
private

Definition at line 72 of file FWECALDetailViewBuilder.h.

Referenced by fillData(), and fillEtaPhi().

◆ m_defaultColor

Color_t FWECALDetailViewBuilder::m_defaultColor
private

Definition at line 70 of file FWECALDetailViewBuilder.h.

Referenced by buildCaloData(), fillEtaPhi(), and makeLegend().

◆ m_detIdsToColor

std::map<DetId, int> FWECALDetailViewBuilder::m_detIdsToColor
private

Definition at line 75 of file FWECALDetailViewBuilder.h.

Referenced by fillEtaPhi(), and setColor().

◆ m_eta

float FWECALDetailViewBuilder::m_eta
private

Definition at line 67 of file FWECALDetailViewBuilder.h.

Referenced by build(), buildCaloData(), fillEtaPhi(), and showSuperClusters().

◆ m_event

const edm::EventBase* FWECALDetailViewBuilder::m_event
private

Definition at line 65 of file FWECALDetailViewBuilder.h.

Referenced by fillData(), and showSuperClusters().

◆ m_geom

const FWGeometry* FWECALDetailViewBuilder::m_geom
private

Definition at line 66 of file FWECALDetailViewBuilder.h.

Referenced by fillEtaPhi().

◆ m_phi

float FWECALDetailViewBuilder::m_phi
private

Definition at line 68 of file FWECALDetailViewBuilder.h.

Referenced by build(), buildCaloData(), fillEtaPhi(), and showSuperClusters().

◆ m_size

int FWECALDetailViewBuilder::m_size
private

Definition at line 69 of file FWECALDetailViewBuilder.h.

Referenced by sizeRad().

◆ m_towerList

TEveElement* FWECALDetailViewBuilder::m_towerList
private

Definition at line 77 of file FWECALDetailViewBuilder.h.

Referenced by build(), and fillEtaPhi().

DDAxes::y
FWECALDetailViewBuilder::fillData
void fillData(TEveCaloDataVec *data)
Definition: FWECALDetailViewBuilder.cc:279
fwLog
#define fwLog(_level_)
Definition: fwLog.h:45
FWECALDetailViewBuilder::sizeRad
float sizeRad() const
Definition: FWECALDetailViewBuilder.cc:461
fw3dlego::xbins
const double xbins[]
Definition: fw3dlego_xbins.cc:16
ALCARECOTkAlBeamHalo_cff.etaMin
etaMin
GeV.
Definition: ALCARECOTkAlBeamHalo_cff.py:32
mps_fire.i
i
Definition: mps_fire.py:355
edm::SortedCollection< EcalRecHit >::const_iterator
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: SortedCollection.h:80
FWGeometry::getCorners
const float * getCorners(unsigned int id) const
Definition: FWGeometry.cc:464
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
edm::EventBase::getByLabel
bool getByLabel(InputTag const &, Handle< T > &) const
Definition: EventBase.h:92
FWECALDetailViewBuilder::fillEtaPhi
void fillEtaPhi(const EcalRecHitCollection *hits, TEveCaloDataVec *data)
Definition: FWECALDetailViewBuilder.cc:205
cuy.cv
cv
Definition: cuy.py:364
pos
Definition: PixelAliasList.h:18
HLT_2018_cff.eta1
eta1
Definition: HLT_2018_cff.py:8220
edm::SortedCollection< EcalRecHit >
FWDetailViewBase::drawCanvasBox
static void drawCanvasBox(Double_t *pos, Color_t fillCol, Int_t fillType=0, bool bg=kTRUE)
Definition: FWDetailViewBase.cc:53
DDAxes::x
beampixel_dqm_sourceclient-live_cfg.yStep
yStep
Definition: beampixel_dqm_sourceclient-live_cfg.py:143
edm::Handle
Definition: AssociativeIterator.h:50
dqmdumpme.first
first
Definition: dqmdumpme.py:55
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
FWECALDetailViewBuilder::m_event
const edm::EventBase * m_event
Definition: FWECALDetailViewBuilder.h:65
reco::SuperClusterCollection
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Definition: SuperClusterFwd.h:9
FWECALDetailViewBuilder::buildCaloData
TEveCaloData * buildCaloData(bool xyEE)
Definition: FWECALDetailViewBuilder.cc:43
FWECALDetailViewBuilder::m_geom
const FWGeometry * m_geom
Definition: FWECALDetailViewBuilder.h:66
FWPFMaths::calculateEt
float calculateEt(const TEveVector &centre, float e)
Definition: FWPFMaths.cc:115
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
PVValHelper::eta
Definition: PVValidationHelpers.h:69
FWECALDetailViewBuilder::m_eta
float m_eta
Definition: FWECALDetailViewBuilder.h:67
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
FWECALDetailViewBuilder::m_towerList
TEveElement * m_towerList
Definition: FWECALDetailViewBuilder.h:77
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
FWECALDetailViewBuilder::m_size
int m_size
Definition: FWECALDetailViewBuilder.h:69
FWECALDetailViewBuilder::m_defaultColor
Color_t m_defaultColor
Definition: FWECALDetailViewBuilder.h:70
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
HLT_2018_cff.eta2
eta2
Definition: HLT_2018_cff.py:8221
Scenarios_cff.scale
scale
Definition: Scenarios_cff.py:2186
FWECALDetailViewBuilder::m_detIdsToColor
std::map< DetId, int > m_detIdsToColor
Definition: FWECALDetailViewBuilder.h:75
reco::CaloCluster::eta
double eta() const
pseudorapidity of cluster centroid
Definition: CaloCluster.h:181
reco::CaloCluster::hitsAndFractions
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
Definition: CaloCluster.h:210
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
FWBoxRecHit
Definition: FWBoxRecHit.h:34
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
fwlog::kWarning
Definition: fwLog.h:35
particleFlowClusterECALTimeSelected_cfi.maxEnergy
maxEnergy
Definition: particleFlowClusterECALTimeSelected_cfi.py:10
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
FWECALDetailViewBuilder::m_phi
float m_phi
Definition: FWECALDetailViewBuilder.h:68
FWECALDetailViewBuilder::setColor
void setColor(Color_t color, const std::vector< DetId > &detIds)
Definition: FWECALDetailViewBuilder.cc:141
DDAxes::phi
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition: ALCARECOTkAlBeamHalo_cff.py:33
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
FWECALDetailViewBuilder::showSuperCluster
void showSuperCluster(const reco::SuperCluster &cluster, Color_t color=kYellow)
Definition: FWECALDetailViewBuilder.cc:146
FWECALDetailViewBuilder::m_boxes
std::vector< FWBoxRecHit * > m_boxes
Definition: FWECALDetailViewBuilder.h:72
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
custom_jme_cff.area
area
Definition: custom_jme_cff.py:169
edm::InputTag
Definition: InputTag.h:15
FWECALDetailViewBuilder::superClusterEtaLess
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
Definition: FWECALDetailViewBuilder.h:80
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443