#include <FWConvTrackHitsDetailView.h>
Public Member Functions | |
void | camera1Callback () |
void | camera2Callback () |
void | camera3Callback () |
FWConvTrackHitsDetailView () | |
void | pickCameraCenter () |
void | rnrHits () |
void | rnrLabels () |
void | rnrModules () |
void | switchProjection () |
~FWConvTrackHitsDetailView () override | |
Public Member Functions inherited from FWDetailViewGL< reco::Conversion > | |
FWDetailViewGL () | |
void | init (TEveWindowSlot *) override |
void | setBackgroundColor (Color_t) override |
TGLViewer * | viewerGL () const |
~FWDetailViewGL () override | |
Public Member Functions inherited from FWDetailView< reco::Conversion > | |
void | build (const FWModelId &iID, const void *iData) override |
FWDetailView () | |
Public Member Functions inherited from FWDetailViewBase | |
void | build (const FWModelId &) |
const fireworks::Context & | context () const |
const FWEventItem * | item () |
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) |
CSGAction * | getAction (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 | addHits (const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addNearbyHits) |
void | addModules (const reco::Track &track, const FWEventItem *iItem, TEveElement *trkList, bool addLostHits) |
void | addTrackerHits3D (std::vector< TVector3 > &points, class TEveElementList *tList, Color_t color, int size) |
void | build (const FWModelId &id, const reco::Conversion *) override |
FWConvTrackHitsDetailView (const FWConvTrackHitsDetailView &)=delete | |
const FWConvTrackHitsDetailView & | operator= (const FWConvTrackHitsDetailView &)=delete |
void | setTextInfo (const FWModelId &id, const reco::Conversion *) override |
Private Attributes | |
TEveElement * | m_calo3D |
CSGAction * | m_camTypeAction |
TEveElementList * | m_hits |
TLegend * | m_legend |
TEveElementList * | m_moduleLabels |
TEveElementList * | m_modules |
bool | m_orthographic |
Additional Inherited Members | |
Static Public Member Functions inherited from FWDetailView< reco::Conversion > | |
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::Conversion > | |
TEveScene * | m_eveScene |
TEveViewer * | m_eveViewer |
TGCompositeFrame * | m_guiFrame |
TCanvas * | m_infoCanvas |
Protected Attributes inherited from CSGActionSupervisor | |
std::vector< CSGAction * > | m_actionList |
Definition at line 23 of file FWConvTrackHitsDetailView.h.
FWConvTrackHitsDetailView::FWConvTrackHitsDetailView | ( | ) |
Definition at line 47 of file FWConvTrackHitsDetailView.cc.
|
override |
Definition at line 50 of file FWConvTrackHitsDetailView.cc.
|
privatedelete |
|
private |
Definition at line 450 of file FWConvTrackHitsDetailView.cc.
References fireworks::addSiStripClusters(), addTrackerHits3D(), FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), DigiDM_cff::strips, and HLT_FULL_cff::track.
Referenced by build().
|
private |
Definition at line 479 of file FWConvTrackHitsDetailView.cc.
References TrackingRecHit::bad, FWDisplayProperties::color(), MuonSubdetId::CSC, FWEventItem::defaultDisplayProperties(), DetId::det(), MuonSubdetId::DT, fwLog, FWGeometry::getEveShape(), FWEventItem::getGeom(), TrackingRecHit::inactive, TrackingRecHit::inactive_inner, TrackingRecHit::inactive_outer, fireworks::info(), fwlog::kInfo, TrackingRecHit::missing, TrackingRecHit::missing_inner, TrackingRecHit::missing_outer, DetId::Muon, Skims_PA_cff::name, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), MuonSubdetId::RPC, edm::second(), DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, HLT_FULL_cff::track, DetId::Tracker, and TrackingRecHit::valid.
Referenced by build().
|
private |
Definition at line 430 of file FWConvTrackHitsDetailView.cc.
References HLT_FULL_cff::points, and findQualityFiles::size.
Referenced by addHits().
|
overrideprivatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 83 of file FWConvTrackHitsDetailView.cc.
References Abs(), writedatasetfile::action, CSGAction::activated, addHits(), addModules(), b, cms::cuda::bs, FWECALCaloDataDetailViewBuilder::buildCaloData(), c, camera1Callback(), camera2Callback(), camera3Callback(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, FWDetailViewBase::context(), conv, CSGAction::createTextButton(), data, mps_fire::end, PVValHelper::eta, reco::Track::extra(), f, fireworks::Context::getBeamSpot(), CaloRecHitAuxSetter::getField(), mps_fire::i, edm::Ref< C, T, F >::isAvailable(), FWDetailViewBase::item(), m_camTypeAction, FWDetailViewGL< reco::Conversion >::m_eveScene, FWDetailViewGL< reco::Conversion >::m_guiFrame, m_hits, m_moduleLabels, m_modules, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, phi, fireworks::prepareTrack(), alignCSCRings::r, rnrHits(), rnrModules(), setTextInfo(), Sign(), switchProjection(), runonSM::text, theta(), up, FWDetailViewGL< reco::Conversion >::viewerGL(), x, y, and z.
void FWConvTrackHitsDetailView::camera1Callback | ( | ) |
Definition at line 604 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera2Callback | ( | ) |
Definition at line 612 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera3Callback | ( | ) |
Definition at line 620 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
|
privatedelete |
void FWConvTrackHitsDetailView::pickCameraCenter | ( | ) |
Definition at line 576 of file FWConvTrackHitsDetailView.cc.
References FWDetailViewGL< reco::Conversion >::viewerGL().
void FWConvTrackHitsDetailView::rnrHits | ( | ) |
void FWConvTrackHitsDetailView::rnrLabels | ( | ) |
void FWConvTrackHitsDetailView::rnrModules | ( | ) |
|
overrideprivatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 319 of file FWConvTrackHitsDetailView.cc.
References reco::TrackBase::charge(), conv, reco::TrackBase::eta(), reco::HitPattern::getHitPattern(), reco::TrackBase::hitPattern(), FWDetailViewBase::item(), FWDetailViewGL< reco::Conversion >::m_infoCanvas, reco::HitPattern::MISSING_INNER_HITS, HLTEgPhaseIITestSequence_cff::modelName, reco::HitPattern::numberOfAllHits(), reco::TrackBase::phi(), reco::HitPattern::pixelHitFilter(), reco::TrackBase::pt(), mathSSE::sqrt(), reco::HitPattern::stripHitFilter(), reco::HitPattern::TRACK_HITS, reco::HitPattern::validHitFilter(), x, and y.
Referenced by build().
void FWConvTrackHitsDetailView::switchProjection | ( | ) |
Definition at line 581 of file FWConvTrackHitsDetailView.cc.
References m_camTypeAction, m_orthographic, and CSGAction::setName().
Referenced by build().
|
private |
Definition at line 55 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 59 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and switchProjection().
|
private |
Definition at line 54 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 57 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 53 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrLabels().
|
private |
Definition at line 52 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrModules().
|
private |
Definition at line 58 of file FWConvTrackHitsDetailView.h.
Referenced by camera1Callback(), camera2Callback(), camera3Callback(), and switchProjection().