CMS 3D CMS Logo

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

#include <FWPFCandidateDetailView.h>

Inheritance diagram for FWPFCandidateDetailView:
FWDetailViewGL< reco::PFCandidate > CSGActionSupervisor FWDetailView< reco::PFCandidate > FWDetailViewBase

Public Member Functions

 FWPFCandidateDetailView ()
 
 ~FWPFCandidateDetailView () override
 
- Public Member Functions inherited from FWDetailViewGL< reco::PFCandidate >
 FWDetailViewGL ()
 
void init (TEveWindowSlot *) override
 
void setBackgroundColor (Color_t) override
 
TGLViewer * viewerGL () const
 
 ~FWDetailViewGL () override
 
- Public Member Functions inherited from FWDetailView< reco::PFCandidate >
void build (const FWModelId &iID, const void *iData) override
 
 FWDetailView ()
 
- Public Member Functions inherited from FWDetailViewBase
void build (const FWModelId &)
 
const fireworks::Contextcontext () const
 
const FWEventItemitem ()
 
void setItem (const FWEventItem *x)
 
virtual ~FWDetailViewBase ()
 
- Public Member Functions inherited from CSGActionSupervisor
Bool_t activateMenuEntry (int entry)
 
Bool_t activateToolBarEntry (int entry)
 
void addToActionMap (CSGAction *action)
 
 CSGActionSupervisor ()
 
virtual void defaultAction ()
 
virtual void enableActions (bool enable=true)
 
CSGActiongetAction (const std::string &name)
 
const std::vector< CSGAction * > & getListOfActions () const
 
Long_t getToolTipDelay () const
 
virtual void HandleMenu (Int_t id)
 
void resizeMenu (TGPopupMenu *menu)
 
virtual ~CSGActionSupervisor ()
 

Private Member Functions

void addClusters (const std::vector< reco::PFCluster > *)
 
void addHits (const std::vector< reco::PFRecHit > *)
 
void addTracks (const std::vector< reco::PFRecTrack > *)
 
void build (const FWModelId &id, const reco::PFCandidate *) override
 
void buildGLEventScene ()
 
float eta ()
 
float etaMax ()
 
float etaMin ()
 
 FWPFCandidateDetailView (const FWPFCandidateDetailView &)=delete
 
bool isPntInRng (float x, float y)
 
void makeLegend (void)
 
const FWPFCandidateDetailViewoperator= (const FWPFCandidateDetailView &)=delete
 
float phi ()
 
float phiMax ()
 
float phiMin ()
 
void plotEtChanged ()
 
void rangeChanged (int x)
 
void rnrHcalChanged ()
 
void setTextInfo (const FWModelId &id, const reco::PFCandidate *) override
 
void voteMaxEtEVal (const std::vector< reco::PFRecHit > *hits)
 

Private Attributes

const reco::PFCandidatem_candidate
 
TEveElementList * m_eventList
 
TLegend * m_legend
 
bool m_plotEt
 
float m_range
 
bool m_rnrHcal
 
TGSlider * m_slider
 
FWIntValueListenerm_sliderListener
 

Additional Inherited Members

- Static Public Member Functions inherited from FWDetailView< reco::PFCandidate >
static std::string classRegisterTypeName ()
 
static std::string classTypeName ()
 
- Static Public Member Functions inherited from FWDetailViewBase
static void drawCanvasBox (Double_t *pos, Color_t fillCol, Int_t fillType=0, bool bg=kTRUE)
 
static void drawCanvasDot (Float_t x, Float_t y, Float_t r, Color_t)
 
- Protected Member Functions inherited from FWDetailViewBase
 FWDetailViewBase (const std::type_info &)
 
- Protected Attributes inherited from FWDetailViewGL< reco::PFCandidate >
TEveScene * m_eveScene
 
TEveViewer * m_eveViewer
 
TGCompositeFrame * m_guiFrame
 
TCanvas * m_infoCanvas
 
- Protected Attributes inherited from CSGActionSupervisor
std::vector< CSGAction * > m_actionList
 

Detailed Description

Definition at line 24 of file FWPFCandidateDetailView.h.

Constructor & Destructor Documentation

◆ FWPFCandidateDetailView() [1/2]

FWPFCandidateDetailView::FWPFCandidateDetailView ( )

Definition at line 49 of file FWPFCandidateDetailView.cc.

50  : m_range(1),
51  m_candidate(nullptr),
52  m_legend(nullptr),
53  m_slider(nullptr),
55  m_eventList(nullptr),
56  m_plotEt(true),
57  m_rnrHcal(true) {}

◆ ~FWPFCandidateDetailView()

FWPFCandidateDetailView::~FWPFCandidateDetailView ( )
override

Definition at line 59 of file FWPFCandidateDetailView.cc.

59 {}

◆ FWPFCandidateDetailView() [2/2]

FWPFCandidateDetailView::FWPFCandidateDetailView ( const FWPFCandidateDetailView )
privatedelete

Member Function Documentation

◆ addClusters()

void FWPFCandidateDetailView::addClusters ( const std::vector< reco::PFCluster > *  cluster)
private

Definition at line 273 of file FWPFCandidateDetailView.cc.

273  {
274  if (!cluster)
275  return;
276 
277  Color_t col = kViolet + 9;
278 
279  TEveStraightLineSet* ls = new TEveStraightLineSet("cluster_ls");
280  ls->SetMainColor(col);
281  m_eventList->AddElement(ls);
282 
283  TEvePointSet* ps = new TEvePointSet("cluster_ps");
284  ps->SetMainColor(col);
285  ps->SetMarkerStyle(2);
286  ps->SetMarkerSize(0.005);
287  m_eventList->AddElement(ps);
288 
289  for (std::vector<reco::PFCluster>::const_iterator it = cluster->begin(); it != cluster->end(); ++it) {
290  if (!isPntInRng(it->position().Eta(), it->position().Phi()))
291  continue;
292 
293  ps->SetNextPoint(it->position().Eta(), it->position().Phi(), 0);
294 
295  /*
296  const std::vector< reco::PFRecHitFraction >& fractions = it->recHitFractions();
297  for (std::vector< reco::PFRecHitFraction >::const_iterator fi = fractions.begin(); fi != fractions.end(); ++fi)
298  {
299  // !!! AMT can't get fi->recHitRef().position()
300  // ls->AddLine(it->position().Eta(), it->position().Phi(), 0,
301  // fi->recHitRef().position().Eta(), fi->recHitRef().position().Phi(), 0);
302  }
303  */
304  }
305 }

References cuy::col, isPntInRng(), eostools::ls(), and m_eventList.

Referenced by buildGLEventScene().

◆ addHits()

void FWPFCandidateDetailView::addHits ( const std::vector< reco::PFRecHit > *  hits)
private

Definition at line 338 of file FWPFCandidateDetailView.cc.

338  {
339  TEveStraightLineSet* lsOutline = (TEveStraightLineSet*)m_eventList->FindChild("outlines");
340 
341  TEvePointSet* ps = new TEvePointSet("test");
342  m_eventList->AddElement(ps);
343  ps->SetMainColor(kOrange);
344 
345  // FIXME, requires access to geometry
346  if ((!hits->empty()) && hits->front().hasCaloCell())
347  for (std::vector<reco::PFRecHit>::const_iterator it = hits->begin(); it != hits->end(); ++it) {
348  const auto& corners = it->getCornersXYZ();
349  if (!isPntInRng(corners[0].eta(), corners[0].phi()))
350  continue;
351 
352  std::vector<TEveVector> hc;
353  for (int k = 0; k < 4; ++k) {
354  hc.push_back(TEveVector(corners[k].eta(), corners[k].phi(), 0));
355  // ps->SetNextPoint(corners[k].eta(),corners[k].phi(),0 ); //debug
356  }
357 
358  WrapTwoPi(hc, corners[0].phi());
359 
360  AddLineToLineSet(lsOutline, hc, 0, 1);
361  AddLineToLineSet(lsOutline, hc, 1, 2);
362  AddLineToLineSet(lsOutline, hc, 2, 3);
363  AddLineToLineSet(lsOutline, hc, 3, 0);
364 
365  // get scaled corners
366  TEveVector centerOfGravity = hc[0] + hc[1] + hc[2] + hc[3];
367  centerOfGravity *= 0.25;
368 
369  std::vector<TEveVector> radialVectors;
370  for (int k = 0; k < 4; ++k)
371  radialVectors.push_back(TEveVector(hc[k] - centerOfGravity));
372 
373  float factor = 1;
374  if (m_plotEt) {
375  float Et = FWPFMaths::calculateEt(TEveVector(corners[0].x(), corners[0].y(), corners[0].z()), it->energy());
377  } else
378  factor = it->energy() / context().getMaxEnergyInEvent(false);
379 
380  std::vector<TEveVector> scaledCorners;
381  for (int k = 0; k < 4; ++k) {
382  radialVectors[k] *= factor;
383  scaledCorners.push_back(TEveVector(radialVectors[k] + centerOfGravity));
384  }
385 
386  TEveStraightLineSet* ls = (TEveStraightLineSet*)m_eventList->FindChild(Form("%d_rechit", it->depth()));
387  AddLineToLineSet(ls, scaledCorners, 0, 1);
388  AddLineToLineSet(ls, scaledCorners, 1, 2);
389  AddLineToLineSet(ls, scaledCorners, 2, 3);
390  // AddLineToLineSet(ls, scaledCorners, 3, 0);
391  TEveStraightLineSet::Line_t* li = AddLineToLineSet(ls, scaledCorners, 3, 0);
392  ls->AddMarker(centerOfGravity, li->fId);
393  }
394 }

References FWPFMaths::calculateEt(), FWDetailViewBase::context(), eta(), DQMScaleToClient_cfi::factor, fireworks::Context::getMaxEnergyInEvent(), hfClusterShapes_cfi::hits, isPntInRng(), dqmdumpme::k, eostools::ls(), m_eventList, m_plotEt, phi(), x, y, and z.

Referenced by buildGLEventScene().

◆ addTracks()

void FWPFCandidateDetailView::addTracks ( const std::vector< reco::PFRecTrack > *  tracks)
private

AMT trackRef() is a collection !!!

Definition at line 249 of file FWPFCandidateDetailView.cc.

249  {
250  for (std::vector<reco::PFRecTrack>::const_iterator it = tracks->begin(); it != tracks->end(); ++it) {
252  /*
253  if (!isPntInRng(it->trackRef().innerMomentum().Eta(), it->position().Phi()))
254  continue;
255 
256  TEveLine* line = new TEveLine("Track");
257  line->SetMainColor(kYellow);
258  int N = it->nTrajectoryPoints();
259 
260  for (int p = 0 ; p<N; ++p) {
261  pos = track.extrapolatedPoint(p).position();
262 
263  if( pos.Eta() !=0 and pos.Phi() !=0)
264  line->SetNextPoint(pos.Eta(), pos.Phi(), 0);
265  }
266  m_eventList->AddElement(line);
267  */
268  }
269 }

References PDWG_EXOHSCP_cff::tracks.

Referenced by buildGLEventScene().

◆ build()

void FWPFCandidateDetailView::build ( const FWModelId id,
const reco::PFCandidate candidate 
)
overrideprivatevirtual

Implements FWDetailView< reco::PFCandidate >.

Definition at line 144 of file FWPFCandidateDetailView.cc.

144  {
145  m_candidate = candidate;
146 
147  // ROOT GUI
148  //
149  {
150  TGCompositeFrame* f = new TGVerticalFrame(m_guiFrame);
151  m_guiFrame->AddFrame(f);
152  f->AddFrame(new TGLabel(f, "Rng:"), new TGLayoutHints(kLHintsLeft, 2, 2, 0, 0));
153  m_slider = new TGHSlider(f, 120, kSlider1 | kScaleNo);
154  f->AddFrame(m_slider, new TGLayoutHints(kLHintsTop | kLHintsLeft, 2, 2, 1, 4));
155  m_slider->SetRange(1, 50);
156  m_slider->SetPosition(8);
157 
159  TQObject::Connect(
160  m_slider, "PositionChanged(Int_t)", "FWIntValueListenerBase", m_sliderListener, "setValue(Int_t)");
161  m_sliderListener->valueChanged_.connect(boost::bind(&FWPFCandidateDetailView::rangeChanged, this, _1));
162  {
163  CSGAction* action = new CSGAction(this, "Scale Et");
164  TGCheckButton* b = new TGCheckButton(m_guiFrame, action->getName().c_str());
165  b->SetState(kButtonDown, true);
166  m_guiFrame->AddFrame(b, new TGLayoutHints(kLHintsNormal, 2, 3, 1, 4));
167  TQObject::Connect(b, "Clicked()", "CSGAction", action, "activate()");
168  action->activated.connect(sigc::mem_fun(this, &FWPFCandidateDetailView::plotEtChanged));
169  }
170  {
171  CSGAction* action = new CSGAction(this, "RnrHcal");
172  TGCheckButton* b = new TGCheckButton(m_guiFrame, action->getName().c_str());
173  b->SetState(kButtonDown, true);
174  m_guiFrame->AddFrame(b, new TGLayoutHints(kLHintsNormal, 2, 3, 1, 4));
175  TQObject::Connect(b, "Clicked()", "CSGAction", action, "activate()");
176  action->activated.connect(sigc::mem_fun(this, &FWPFCandidateDetailView::rnrHcalChanged));
177  }
178  }
179  makeLegend();
180  setTextInfo(id, candidate);
181 
182  TGCompositeFrame* p = (TGCompositeFrame*)m_guiFrame->GetParent();
183  p->MapSubwindows();
184  p->Layout();
185 
187  // GL stuff
188 
189  m_candidate = candidate;
190 
191  try {
194  event->getByLabel(edm::InputTag("particleFlowRecHitECAL"), ecalH);
195  if (ecalH.product())
196  voteMaxEtEVal(ecalH.product());
197 
199  event->getByLabel(edm::InputTag("particleFlowRecHitHBHEHO"), hcalH);
200  if (hcalH.product())
201  voteMaxEtEVal(hcalH.product());
202  } catch (const cms::Exception& iE) {
203  std::cerr << iE.what();
204  }
205 
206  m_eveScene->GetGLScene()->SetSelectable(false);
207  m_eventList = new TEveElementList("PFDetailView");
208  m_eveScene->AddElement(m_eventList);
209 
210  viewerGL()->SetStyle(TGLRnrCtx::kOutline);
211  viewerGL()->SetCurrentCamera(TGLViewer::kCameraOrthoXOY);
212 
213  TGLCameraOverlay* co = viewerGL()->GetCameraOverlay();
214  co->SetShowOrthographic(kTRUE);
215  co->SetOrthographicMode(TGLCameraOverlay::kAxis);
216 
217  viewerGL()->ResetCamerasAfterNextUpdate();
218  try {
220  } catch (...) {
221  printf("unknown exception \n");
222  }
223 
224  viewerGL()->UpdateScene(kFALSE);
225 
226  gEve->Redraw3D();
227 
228  // gEve->AddToListTree(m_eventList, true);//debug, used with --eve option
229 }

References writedatasetfile::action, b, buildGLEventScene(), beam_dqm_sourceclient-live_cfg::cerr, cms::cuda::co, f, FWGUIManager::getCurrentEvent(), FWGUIManager::getGUIManager(), m_candidate, m_eventList, FWDetailViewGL< reco::PFCandidate >::m_eveScene, FWDetailViewGL< reco::PFCandidate >::m_guiFrame, m_slider, m_sliderListener, makeLegend(), AlCaHLTBitMon_ParallelJobs::p, plotEtChanged(), edm::Handle< T >::product(), rangeChanged(), rnrHcalChanged(), setTextInfo(), FWIntValueListener::valueChanged_, FWDetailViewGL< reco::PFCandidate >::viewerGL(), voteMaxEtEVal(), and cms::Exception::what().

◆ buildGLEventScene()

void FWPFCandidateDetailView::buildGLEventScene ( )
private

Definition at line 398 of file FWPFCandidateDetailView.cc.

398  {
399  if (m_eventList->HasChildren())
400  m_eventList->DestroyElements();
401 
402  for (int depth = 0; depth < 6; ++depth) {
403  TEveStraightLineSet* ls = new TEveStraightLineSet(Form("%d_rechit", depth));
404 
405  if (depth == 0)
406  ls->SetLineColor(kGray);
407  else if (depth == 1)
408  ls->SetLineColor(kRed);
409  else if (depth == 2)
410  ls->SetLineColor(kGreen);
411  else if (depth == 3)
412  ls->SetLineColor(kMagenta);
413  else if (depth == 4)
414  ls->SetLineColor(kOrange);
415  else if (depth == 5)
416  ls->SetLineColor(kYellow);
417 
418  ls->SetMarkerStyle(1);
419  m_eventList->AddElement(ls);
420  }
421 
422  TEveStraightLineSet* ls = new TEveStraightLineSet("outlines");
423  ls->SetLineColor(kGray);
424  ls->SetMainTransparency(80);
425  m_eventList->AddElement(ls);
426 
428 
429  //
430  // recHits
431  //
432  try {
434  event->getByLabel(edm::InputTag("particleFlowRecHitECAL"), ecalH);
435  addHits(ecalH.product());
436  } catch (const cms::Exception& iE) {
437  std::cerr << iE.what();
438  }
439 
440  if (m_rnrHcal) {
441  try {
443  event->getByLabel(edm::InputTag("particleFlowRecHitHF"), ecalH);
444  addHits(ecalH.product());
445  } catch (const cms::Exception& iE) {
446  std::cerr << iE.what();
447  }
448 
449  try {
451  event->getByLabel(edm::InputTag("particleFlowRecHitHBHEHO"), hcalH);
452  addHits(hcalH.product());
453  } catch (const cms::Exception& iE) {
454  std::cerr << iE.what();
455  }
456  }
457 
458  //
459  // clusters
460  //
461  try {
463  event->getByLabel(edm::InputTag("particleFlowClusterECAL"), ecalClustersH);
464  addClusters(ecalClustersH.product());
465  } catch (const cms::Exception& iE) {
466  std::cerr << iE.what();
467  }
468 
469  //
470  // tracks
471  //
472  try {
474  event->getByLabel(edm::InputTag("pfTrack"), trackH);
475  addTracks(trackH.product());
476  } catch (const cms::Exception& iE) {
477  std::cerr << iE.what();
478  }
479 }

References addClusters(), addHits(), addTracks(), beam_dqm_sourceclient-live_cfg::cerr, LEDCalibrationChannels::depth, FWGUIManager::getCurrentEvent(), FWGUIManager::getGUIManager(), eostools::ls(), m_eventList, m_rnrHcal, edm::Handle< T >::product(), and cms::Exception::what().

Referenced by build(), plotEtChanged(), rangeChanged(), and rnrHcalChanged().

◆ eta()

float FWPFCandidateDetailView::eta ( void  )
private

◆ etaMax()

float FWPFCandidateDetailView::etaMax ( )
inlineprivate

Definition at line 57 of file FWPFCandidateDetailView.h.

57 { return eta() + m_range; }

References eta(), and m_range.

◆ etaMin()

float FWPFCandidateDetailView::etaMin ( )
inlineprivate

Definition at line 56 of file FWPFCandidateDetailView.h.

56 { return eta() - m_range; }

References eta(), and m_range.

◆ isPntInRng()

bool FWPFCandidateDetailView::isPntInRng ( float  x,
float  y 
)
private

Definition at line 65 of file FWPFCandidateDetailView.cc.

65  {
66  float dx = m_candidate->eta() - x;
67  float dy = m_candidate->phi() - y;
68  float sd = TMath::Sqrt(dx * dx + dy * dy);
69  return sd < m_range;
70 }

References PVValHelper::dx, PVValHelper::dy, reco::LeafCandidate::eta(), m_candidate, m_range, reco::LeafCandidate::phi(), sd, x, and y.

Referenced by addClusters(), and addHits().

◆ makeLegend()

void FWPFCandidateDetailView::makeLegend ( void  )
private

Definition at line 74 of file FWPFCandidateDetailView.cc.

74  {
75  m_legend = new TLegend(0.01, 0.01, 0.99, 0.99, nullptr, "NDC");
76  m_legend->SetFillColor(kWhite);
77  m_legend->SetTextSize(0.07);
78  m_legend->SetBorderSize(0);
79  m_legend->SetMargin(0.15);
80  m_legend->SetEntrySeparation(0.01);
81 }

References m_legend.

Referenced by build().

◆ operator=()

const FWPFCandidateDetailView& FWPFCandidateDetailView::operator= ( const FWPFCandidateDetailView )
privatedelete

◆ phi()

float FWPFCandidateDetailView::phi ( void  )
private

◆ phiMax()

float FWPFCandidateDetailView::phiMax ( )
inlineprivate

Definition at line 59 of file FWPFCandidateDetailView.h.

59 { return phi() + m_range; }

References m_range, and phi().

◆ phiMin()

float FWPFCandidateDetailView::phiMin ( )
inlineprivate

Definition at line 58 of file FWPFCandidateDetailView.h.

58 { return phi() - m_range; }

References m_range, and phi().

◆ plotEtChanged()

void FWPFCandidateDetailView::plotEtChanged ( )
private

Definition at line 130 of file FWPFCandidateDetailView.cc.

130  {
131  printf("plotEt = %d \n", m_plotEt);
132  m_plotEt = !m_plotEt;
134 }

References buildGLEventScene(), and m_plotEt.

Referenced by build().

◆ rangeChanged()

void FWPFCandidateDetailView::rangeChanged ( int  x)
private

Definition at line 85 of file FWPFCandidateDetailView.cc.

85  {
86  static float kSliderRangeFactor = 0.2;
87 
88  m_range = x * kSliderRangeFactor;
89 
90  if (m_eventList)
92 
93  gEve->Redraw3D();
94 }

References buildGLEventScene(), m_eventList, m_range, and x.

Referenced by build().

◆ rnrHcalChanged()

void FWPFCandidateDetailView::rnrHcalChanged ( )
private

Definition at line 136 of file FWPFCandidateDetailView.cc.

136  {
137  printf("rnrHcal = %d \n", m_rnrHcal);
138  m_rnrHcal = !m_rnrHcal;
140 }

References buildGLEventScene(), and m_rnrHcal.

Referenced by build().

◆ setTextInfo()

void FWPFCandidateDetailView::setTextInfo ( const FWModelId id,
const reco::PFCandidate track 
)
overrideprivatevirtual

Implements FWDetailView< reco::PFCandidate >.

Definition at line 98 of file FWPFCandidateDetailView.cc.

98  {
99  m_infoCanvas->cd();
100 
101  float_t x = 0.02;
102  float y = 0.95;
103 
104  TLatex* latex = new TLatex(x, y, "");
105  const double textsize(0.07);
106  latex->SetTextSize(textsize);
107 
108  latex->DrawLatex(x, y, id.item()->modelName(id.index()).c_str());
109  y -= latex->GetTextSize() * 0.6;
110 
111  latex->SetTextSize(textsize);
112  float lineH = latex->GetTextSize() * 0.6;
113 
114  latex->DrawLatex(
115  x, y, Form(" P_{T} = %.1f GeV, #eta = %0.2f, #varphi = %0.2f", track->pt(), track->eta(), track->phi()));
116  y -= lineH;
117 
118  if (track->charge() > 0)
119  latex->DrawLatex(x, y, " charge = +1");
120  else
121  latex->DrawLatex(x, y, " charge = -1");
122  y -= lineH;
123  y -= lineH;
124 
125  m_legend->SetY2(y);
126  m_legend->Draw();
127  m_legend = nullptr; // Deleted together with TPad.
128 }

References FWDetailViewBase::item(), FWDetailViewGL< reco::PFCandidate >::m_infoCanvas, m_legend, HLTEgPhaseIITestSequence_cff::modelName, HLT_2018_cff::track, x, and y.

Referenced by build().

◆ voteMaxEtEVal()

void FWPFCandidateDetailView::voteMaxEtEVal ( const std::vector< reco::PFRecHit > *  hits)
private

Definition at line 233 of file FWPFCandidateDetailView.cc.

233  {
234  if (!hits)
235  return;
236 
237  // FIXME: require access to geometry while reading from reco file
238  if ((!hits->empty()) && hits->front().hasCaloCell())
239  for (std::vector<reco::PFRecHit>::const_iterator it = hits->begin(); it != hits->end(); ++it) {
240  TEveVector centre(it->position().x(), it->position().y(), it->position().z());
241  float E = it->energy();
242  float Et = FWPFMaths::calculateEt(centre, E);
243  item()->context().voteMaxEtAndEnergy(Et, E);
244  }
245 }

References FWPFMaths::calculateEt(), FWEventItem::context(), hfClusterShapes_cfi::hits, FWDetailViewBase::item(), and fireworks::Context::voteMaxEtAndEnergy().

Referenced by build().

Member Data Documentation

◆ m_candidate

const reco::PFCandidate* FWPFCandidateDetailView::m_candidate
private

Definition at line 62 of file FWPFCandidateDetailView.h.

Referenced by build(), eta(), isPntInRng(), and phi().

◆ m_eventList

TEveElementList* FWPFCandidateDetailView::m_eventList
private

◆ m_legend

TLegend* FWPFCandidateDetailView::m_legend
private

Definition at line 64 of file FWPFCandidateDetailView.h.

Referenced by makeLegend(), and setTextInfo().

◆ m_plotEt

bool FWPFCandidateDetailView::m_plotEt
private

Definition at line 71 of file FWPFCandidateDetailView.h.

Referenced by addHits(), and plotEtChanged().

◆ m_range

float FWPFCandidateDetailView::m_range
private

Definition at line 61 of file FWPFCandidateDetailView.h.

Referenced by etaMax(), etaMin(), isPntInRng(), phiMax(), phiMin(), and rangeChanged().

◆ m_rnrHcal

bool FWPFCandidateDetailView::m_rnrHcal
private

Definition at line 73 of file FWPFCandidateDetailView.h.

Referenced by buildGLEventScene(), and rnrHcalChanged().

◆ m_slider

TGSlider* FWPFCandidateDetailView::m_slider
private

Definition at line 66 of file FWPFCandidateDetailView.h.

Referenced by build().

◆ m_sliderListener

FWIntValueListener* FWPFCandidateDetailView::m_sliderListener
private

Definition at line 67 of file FWPFCandidateDetailView.h.

Referenced by build().

eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
DDAxes::y
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
FWDetailViewGL< reco::PFCandidate >::m_eveScene
TEveScene * m_eveScene
Definition: FWDetailViewGL.h:29
edm::Handle::product
T const * product() const
Definition: Handle.h:70
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
FWPFCandidateDetailView::m_eventList
TEveElementList * m_eventList
Definition: FWPFCandidateDetailView.h:69
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
FWPFCandidateDetailView::rnrHcalChanged
void rnrHcalChanged()
Definition: FWPFCandidateDetailView.cc:136
FWPFCandidateDetailView::m_sliderListener
FWIntValueListener * m_sliderListener
Definition: FWPFCandidateDetailView.h:67
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
cuy.col
col
Definition: cuy.py:1010
FWDetailViewGL< reco::PFCandidate >::viewerGL
TGLViewer * viewerGL() const
Definition: FWDetailViewGL.h:20
FWPFCandidateDetailView::isPntInRng
bool isPntInRng(float x, float y)
Definition: FWPFCandidateDetailView.cc:65
FWPFCandidateDetailView::m_slider
TGSlider * m_slider
Definition: FWPFCandidateDetailView.h:66
DDAxes::x
CSGAction
Definition: CSGAction.h:38
cms::Exception::what
char const * what() const noexcept override
Definition: Exception.cc:103
cms::cuda::co
T *__restrict__ co
Definition: prefixScan.h:46
edm::Handle
Definition: AssociativeIterator.h:50
FWPFCandidateDetailView::plotEtChanged
void plotEtChanged()
Definition: FWPFCandidateDetailView.cc:130
FWPFCandidateDetailView::buildGLEventScene
void buildGLEventScene()
Definition: FWPFCandidateDetailView.cc:398
HLTEgPhaseIITestSequence_cff.modelName
modelName
Definition: HLTEgPhaseIITestSequence_cff.py:16
FWPFCandidateDetailView::setTextInfo
void setTextInfo(const FWModelId &id, const reco::PFCandidate *) override
Definition: FWPFCandidateDetailView.cc:98
FWPFMaths::calculateEt
float calculateEt(const TEveVector &centre, float e)
Definition: FWPFMaths.cc:115
FWDetailViewGL< reco::PFCandidate >::m_infoCanvas
TCanvas * m_infoCanvas
Definition: FWDetailViewGL.h:25
fireworks::Context::voteMaxEtAndEnergy
void voteMaxEtAndEnergy(float Et, float energy) const
Definition: Context.cc:162
FWEventItem::context
const fireworks::Context & context() const
Definition: FWEventItem.h:121
FWPFCandidateDetailView::m_range
float m_range
Definition: FWPFCandidateDetailView.h:61
DDAxes::z
DQMScaleToClient_cfi.factor
factor
Definition: DQMScaleToClient_cfi.py:8
FWGUIManager::getCurrentEvent
const edm::EventBase * getCurrentEvent() const
Definition: FWGUIManager.cc:687
dqmdumpme.k
k
Definition: dqmdumpme.py:60
b
double b
Definition: hdecay.h:118
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
FWDetailViewBase::item
const FWEventItem * item()
Definition: FWDetailViewBase.h:48
beam_dqm_sourceclient-live_cfg.cerr
cerr
Definition: beam_dqm_sourceclient-live_cfg.py:17
writedatasetfile.action
action
Definition: writedatasetfile.py:8
FWPFCandidateDetailView::voteMaxEtEVal
void voteMaxEtEVal(const std::vector< reco::PFRecHit > *hits)
Definition: FWPFCandidateDetailView.cc:233
PVValHelper::dy
Definition: PVValidationHelpers.h:49
FWPFCandidateDetailView::m_candidate
const reco::PFCandidate * m_candidate
Definition: FWPFCandidateDetailView.h:62
FWPFCandidateDetailView::addClusters
void addClusters(const std::vector< reco::PFCluster > *)
Definition: FWPFCandidateDetailView.cc:273
fireworks::Context::getMaxEnergyInEvent
float getMaxEnergyInEvent(bool isEt) const
Definition: Context.cc:174
FWGUIManager::getGUIManager
static FWGUIManager * getGUIManager()
Definition: FWGUIManager.cc:685
FWPFCandidateDetailView::rangeChanged
void rangeChanged(int x)
Definition: FWPFCandidateDetailView.cc:85
FWIntValueListener::valueChanged_
sigc::signal< void, Int_t > valueChanged_
Definition: FWIntValueListener.h:14
FWPFCandidateDetailView::m_legend
TLegend * m_legend
Definition: FWPFCandidateDetailView.h:64
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
FWPFCandidateDetailView::eta
float eta()
Definition: FWPFCandidateDetailView.cc:61
FWDetailViewGL< reco::PFCandidate >::m_guiFrame
TGCompositeFrame * m_guiFrame
Definition: FWDetailViewGL.h:26
edm::EventBase
Definition: EventBase.h:46
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
FWDetailViewBase::context
const fireworks::Context & context() const
Definition: FWDetailViewBase.cc:32
sd
double sd
Definition: CascadeWrapper.h:113
FWPFCandidateDetailView::m_rnrHcal
bool m_rnrHcal
Definition: FWPFCandidateDetailView.h:73
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
cms::Exception
Definition: Exception.h:70
FWPFCandidateDetailView::makeLegend
void makeLegend(void)
Definition: FWPFCandidateDetailView.cc:74
FWPFCandidateDetailView::addHits
void addHits(const std::vector< reco::PFRecHit > *)
Definition: FWPFCandidateDetailView.cc:338
FWPFCandidateDetailView::addTracks
void addTracks(const std::vector< reco::PFRecTrack > *)
Definition: FWPFCandidateDetailView.cc:249
FWPFCandidateDetailView::m_plotEt
bool m_plotEt
Definition: FWPFCandidateDetailView.h:71
FWPFCandidateDetailView::phi
float phi()
Definition: FWPFCandidateDetailView.cc:63
edm::InputTag
Definition: InputTag.h:15
PVValHelper::dx
Definition: PVValidationHelpers.h:48
FWIntValueListener
Definition: FWIntValueListener.h:7