#include <FWConvTrackHitsDetailView.h>
Public Member Functions | |
void | camera1Callback () |
void | camera2Callback () |
void | camera3Callback () |
FWConvTrackHitsDetailView () | |
void | pickCameraCenter () |
void | rnrHits () |
void | rnrLabels () |
void | rnrModules () |
void | switchProjection () |
virtual | ~FWConvTrackHitsDetailView () |
Public Member Functions inherited from FWDetailViewGL< reco::Conversion > | |
FWDetailViewGL () | |
virtual void | init (TEveWindowSlot *) |
virtual void | setBackgroundColor (Color_t) |
TGLViewer * | viewerGL () const |
virtual | ~FWDetailViewGL () |
Public Member Functions inherited from FWDetailView< reco::Conversion > | |
virtual void | build (const FWModelId &iID, const void *iData) |
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 *) |
FWConvTrackHitsDetailView (const FWConvTrackHitsDetailView &) | |
const FWConvTrackHitsDetailView & | operator= (const FWConvTrackHitsDetailView &) |
void | setTextInfo (const FWModelId &id, const reco::Conversion *) |
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 21 of file FWConvTrackHitsDetailView.h.
FWConvTrackHitsDetailView::FWConvTrackHitsDetailView | ( | ) |
Definition at line 49 of file FWConvTrackHitsDetailView.cc.
|
virtual |
Definition at line 58 of file FWConvTrackHitsDetailView.cc.
|
private |
|
private |
Definition at line 459 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 493 of file FWConvTrackHitsDetailView.cc.
References TrackingRecHit::bad, FWDisplayProperties::color(), MuonSubdetId::CSC, FWEventItem::defaultDisplayProperties(), DetId::det(), cond::rpcobgas::detid, MuonSubdetId::DT, DTChamberId, fwLog, FWGeometry::getEveShape(), FWEventItem::getGeom(), TrackingRecHit::inactive, fireworks::info(), fwlog::kInfo, TrackingRecHit::missing, TrackingRecHit::missing_inner, TrackingRecHit::missing_outer, DetId::Muon, mergeVDriftHistosByStation::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 440 of file FWConvTrackHitsDetailView.cc.
Referenced by addHits().
|
privatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 94 of file FWConvTrackHitsDetailView.cc.
References Abs(), alignCSCRings::action, CSGAction::activated, addHits(), addModules(), b, FWECALDetailViewBuilder::buildCaloData(), EnergyCorrector::c, camera1Callback(), camera2Callback(), camera3Callback(), ecal_dqm_sourceclient-live_cfg::cerr, create_public_lumi_plots::color, FWDetailViewBase::context(), CSGAction::createTextButton(), data, end, eta, reco::Track::extra(), f, fireworks::Context::getBeamSpot(), CSGAction::getName(), trackerHitRTTI::gs, 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, mergeVDriftHistosByStation::name, reco::Conversion::nTracks(), AlCaHLTBitMon_ParallelJobs::p, reco::Conversion::pairMomentum(), phi, fireworks::prepareTrack(), alignCSCRings::r, rnrHits(), rnrModules(), setTextInfo(), Sign(), switchProjection(), runonSM::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 636 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera2Callback | ( | ) |
Definition at line 645 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
void FWConvTrackHitsDetailView::camera3Callback | ( | ) |
Definition at line 655 of file FWConvTrackHitsDetailView.cc.
References m_orthographic, and FWDetailViewGL< reco::Conversion >::viewerGL().
Referenced by build().
|
private |
void FWConvTrackHitsDetailView::pickCameraCenter | ( | ) |
Definition at line 597 of file FWConvTrackHitsDetailView.cc.
References FWDetailViewGL< reco::Conversion >::viewerGL().
void FWConvTrackHitsDetailView::rnrHits | ( | ) |
Definition at line 629 of file FWConvTrackHitsDetailView.cc.
References m_hits.
Referenced by build().
void FWConvTrackHitsDetailView::rnrLabels | ( | ) |
Definition at line 615 of file FWConvTrackHitsDetailView.cc.
References m_moduleLabels.
void FWConvTrackHitsDetailView::rnrModules | ( | ) |
Definition at line 622 of file FWConvTrackHitsDetailView.cc.
References m_modules.
Referenced by build().
|
privatevirtual |
Implements FWDetailView< reco::Conversion >.
Definition at line 338 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(), cmsHarvester::index, FWDetailViewBase::item(), FWDetailViewGL< reco::Conversion >::m_infoCanvas, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::numberOfHits(), 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 604 of file FWConvTrackHitsDetailView.cc.
References m_camTypeAction, m_orthographic, and CSGAction::setName().
Referenced by build().
|
private |
Definition at line 69 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 73 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and switchProjection().
|
private |
Definition at line 68 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 71 of file FWConvTrackHitsDetailView.h.
|
private |
Definition at line 67 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrLabels().
|
private |
Definition at line 66 of file FWConvTrackHitsDetailView.h.
Referenced by build(), and rnrModules().
|
private |
Definition at line 72 of file FWConvTrackHitsDetailView.h.
Referenced by camera1Callback(), camera2Callback(), camera3Callback(), and switchProjection().