#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 56 of file FWConvTrackHitsDetailView.cc.
References findQualityFiles::v.
|
privatedelete |
|
private |
Definition at line 458 of file FWConvTrackHitsDetailView.cc.
References fireworks::addSiStripClusters(), addTrackerHits3D(), FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), and RecoTauPiZeroBuilderPlugins_cfi::strips.
Referenced by build().
|
private |
Definition at line 492 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, dataset::name, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), MuonSubdetId::RPC, edm::second(), DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, DetId::Tracker, and TrackingRecHit::valid.
Referenced by build().
|
private |
Definition at line 439 of file FWConvTrackHitsDetailView.cc.
Referenced by addHits().
|
overrideprivatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 92 of file FWConvTrackHitsDetailView.cc.
References Abs(), writedatasetfile::action, CSGAction::activated, addHits(), addModules(), b, FWECALCaloDataDetailViewBuilder::buildCaloData(), EnergyCorrector::c, camera1Callback(), camera2Callback(), camera3Callback(), MessageLogger_cfi::cerr, create_public_lumi_plots::color, FWDetailViewBase::context(), CSGAction::createTextButton(), data, end, PVValHelper::eta, reco::Track::extra(), f, fireworks::Context::getBeamSpot(), CaloRecHitAuxSetter::getField(), CSGAction::getName(), 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, dataset::name, reco::Conversion::nTracks(), AlCaHLTBitMon_ParallelJobs::p, reco::Conversion::pairMomentum(), phi, fireworks::prepareTrack(), alignCSCRings::r, rnrHits(), rnrModules(), setTextInfo(), Sign(), switchProjection(), RecoTauValidation_cfi::text, theta(), reco::Conversion::tracks(), up, FWDetailViewGL< reco::Conversion >::viewerGL(), x, FWBeamSpot::x0(), y, FWBeamSpot::y0(), z, and FWBeamSpot::z0().
void FWConvTrackHitsDetailView::camera1Callback | ( | ) |
Definition at line 637 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera2Callback | ( | ) |
Definition at line 646 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera3Callback | ( | ) |
Definition at line 656 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, REGISTER_FWDETAILVIEW, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
|
privatedelete |
void FWConvTrackHitsDetailView::pickCameraCenter | ( | ) |
Definition at line 598 of file FWConvTrackHitsDetailView.cc.
References FWDetailViewGL< reco::Conversion >::viewerGL().
void FWConvTrackHitsDetailView::rnrHits | ( | ) |
Definition at line 630 of file FWConvTrackHitsDetailView.cc.
References m_hits.
Referenced by build().
void FWConvTrackHitsDetailView::rnrLabels | ( | ) |
Definition at line 616 of file FWConvTrackHitsDetailView.cc.
References m_moduleLabels.
void FWConvTrackHitsDetailView::rnrModules | ( | ) |
Definition at line 623 of file FWConvTrackHitsDetailView.cc.
References m_modules.
Referenced by build().
|
overrideprivatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 337 of file FWConvTrackHitsDetailView.cc.
References reco::TrackBase::charge(), reco::Conversion::conversionVertex(), reco::Conversion::distOfMinimumApproach(), reco::Conversion::dPhiTracksAtVtx(), reco::TrackBase::eta(), reco::HitPattern::getHitPattern(), reco::TrackBase::hitPattern(), FWDetailViewBase::item(), FWDetailViewGL< reco::Conversion >::m_infoCanvas, reco::HitPattern::MISSING_INNER_HITS, ecalBarrelClusterFastTimer_cfi::modelName, reco::HitPattern::numberOfAllHits(), reco::Conversion::pairCotThetaSeparation(), reco::Conversion::pairMomentum(), reco::TrackBase::phi(), reco::HitPattern::pixelHitFilter(), reco::Vertex::position(), reco::TrackBase::pt(), mathSSE::sqrt(), reco::HitPattern::stripHitFilter(), reco::HitPattern::TRACK_HITS, reco::Conversion::tracks(), reco::HitPattern::validHitFilter(), x, reco::Vertex::x(), y, reco::Vertex::y(), and reco::Vertex::z().
Referenced by build().
void FWConvTrackHitsDetailView::switchProjection | ( | ) |
Definition at line 605 of file FWConvTrackHitsDetailView.cc.
References m_camTypeAction, m_orthographic, and CSGAction::setName().
Referenced by build().
|
private |
Definition at line 71 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 75 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and switchProjection().
|
private |
Definition at line 70 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 73 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 69 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrLabels().
|
private |
Definition at line 68 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrModules().
|
private |
Definition at line 74 of file FWConvTrackHitsDetailView.h.
Referenced by camera1Callback(), camera2Callback(), camera3Callback(), and switchProjection().