#include <RecoTracker/DebugTools/src/TestHits.cc>
Public Member Functions | |
TestHits (const edm::ParameterSet &) | |
~TestHits () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (edm::Run &run, const edm::EventSetup &) |
virtual void | endJob () |
std::pair< LocalPoint, LocalVector > | projectHit (const PSimHit &, const StripGeomDetUnit *, const BoundPlane &) |
Private Attributes | |
std::string | builderName |
TFile * | file |
edm::ESHandle< TrajectoryFitter > | fit |
std::string | fname |
std::map< std::string, TH1F * > | hChi2Increment |
TH2F * | hClsize_vs_Chi2 |
TH2F * | hProcess_vs_Chi2 |
std::map< std::string, TH1F * > | hPullGM_X_ts |
std::map< std::string, TH1F * > | hPullGM_X_ts_mono |
std::map< std::string, TH1F * > | hPullGM_X_ts_stereo |
std::map< std::string, TH1F * > | hPullGM_Y_ts |
std::map< std::string, TH1F * > | hPullGM_Y_ts_mono |
std::map< std::string, TH1F * > | hPullGM_Y_ts_stereo |
std::map< std::string, TH1F * > | hPullGM_Z_ts |
std::map< std::string, TH1F * > | hPullGM_Z_ts_mono |
std::map< std::string, TH1F * > | hPullGM_Z_ts_stereo |
std::map< std::string, TH1F * > | hPullGP_X_rs |
std::map< std::string, TH1F * > | hPullGP_X_rs_mono |
std::map< std::string, TH1F * > | hPullGP_X_rs_stereo |
std::map< std::string, TH1F * > | hPullGP_X_tr |
std::map< std::string, TH1F * > | hPullGP_X_tr_mono |
std::map< std::string, TH1F * > | hPullGP_X_tr_stereo |
std::map< std::string, TH1F * > | hPullGP_X_ts |
std::map< std::string, TH1F * > | hPullGP_X_ts_mono |
std::map< std::string, TH1F * > | hPullGP_X_ts_stereo |
std::map< std::string, TH1F * > | hPullGP_Y_rs |
std::map< std::string, TH1F * > | hPullGP_Y_rs_mono |
std::map< std::string, TH1F * > | hPullGP_Y_rs_stereo |
std::map< std::string, TH1F * > | hPullGP_Y_tr |
std::map< std::string, TH1F * > | hPullGP_Y_tr_mono |
std::map< std::string, TH1F * > | hPullGP_Y_tr_stereo |
std::map< std::string, TH1F * > | hPullGP_Y_ts |
std::map< std::string, TH1F * > | hPullGP_Y_ts_mono |
std::map< std::string, TH1F * > | hPullGP_Y_ts_stereo |
std::map< std::string, TH1F * > | hPullGP_Z_rs |
std::map< std::string, TH1F * > | hPullGP_Z_rs_mono |
std::map< std::string, TH1F * > | hPullGP_Z_rs_stereo |
std::map< std::string, TH1F * > | hPullGP_Z_tr |
std::map< std::string, TH1F * > | hPullGP_Z_tr_mono |
std::map< std::string, TH1F * > | hPullGP_Z_tr_stereo |
std::map< std::string, TH1F * > | hPullGP_Z_ts |
std::map< std::string, TH1F * > | hPullGP_Z_ts_mono |
std::map< std::string, TH1F * > | hPullGP_Z_ts_stereo |
TH1F * | hTotChi2Increment |
double | maxeta |
double | mineta |
std::string | propagatorName |
std::string | srcName |
edm::ESHandle < TransientTrackingRecHitBuilder > | theBuilder |
edm::ESHandle< TrackerGeometry > | theG |
edm::ESHandle< MagneticField > | theMF |
edm::ESHandle< Propagator > | thePropagator |
edm::Handle < TrackCandidateCollection > | theTCCollection |
std::stringstream | title |
TrackerHitAssociator::Config | trackerHitAssociatorConfig_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 50 of file TestHits.h.
|
explicit |
Definition at line 24 of file TestHits.cc.
References builderName, fname, edm::ParameterSet::getParameter(), LogTrace, maxeta, mineta, propagatorName, srcName, and AlCaHLTBitMon_QueryRunRegistry::string.
TestHits::~TestHits | ( | ) |
Definition at line 35 of file TestHits.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 188 of file TestHits.cc.
References TrackerHitAssociator::associateHit(), TrajectoryStateOnSurface::cartesianError(), heavyFlavorValidationHarvestingSequence_cff::combiner, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czz(), delta, DetId::det(), PTrajectoryStateOnDet::detId(), fit, edm::EventSetup::get(), edm::Event::getByLabel(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), hChi2Increment, hClsize_vs_Chi2, hProcess_vs_Chi2, hPullGM_X_ts, hPullGM_X_ts_mono, hPullGM_X_ts_stereo, hPullGM_Y_ts, hPullGM_Y_ts_mono, hPullGM_Y_ts_stereo, hPullGM_Z_ts, hPullGM_Z_ts_mono, hPullGM_Z_ts_stereo, hPullGP_X_rs, hPullGP_X_rs_mono, hPullGP_X_rs_stereo, hPullGP_X_tr, hPullGP_X_tr_mono, hPullGP_X_tr_stereo, hPullGP_X_ts, hPullGP_X_ts_mono, hPullGP_X_ts_stereo, hPullGP_Y_rs, hPullGP_Y_rs_mono, hPullGP_Y_rs_stereo, hPullGP_Y_tr, hPullGP_Y_tr_mono, hPullGP_Y_tr_stereo, hPullGP_Y_ts, hPullGP_Y_ts_mono, hPullGP_Y_ts_stereo, hPullGP_Z_rs, hPullGP_Z_rs_mono, hPullGP_Z_rs_stereo, hPullGP_Z_tr, hPullGP_Z_tr_mono, hPullGP_Z_tr_stereo, hPullGP_Z_ts, hPullGP_Z_ts_mono, hPullGP_Z_ts_stereo, hTotChi2Increment, i, TrajectoryStateOnSurface::isValid(), PSimHit::localPosition(), LogTrace, visualization-live-secondInstance_cfg::m, mag(), CartesianTrajectoryError::matrix(), maxeta, mineta, PSimHit::momentumAtEntry(), GloballyPositioned< T >::position(), CartesianTrajectoryError::position(), PSimHit::processType(), edm::ESHandle< class >::product(), projectHit(), TrackCandidate::recHits(), query::result, alignCSCRings::s, TrackCandidate::seed(), mathSSE::sqrt(), srcName, theBuilder, theG, theMF, thePropagator, theTCCollection, title, Surface::toGlobal(), trackerHitAssociatorConfig_, TrackCandidate::trajectoryStateOnDet(), trajectoryStateTransform::transientState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
privatevirtual |
Definition at line 37 of file TestHits.cc.
References builderName, file, fit, fname, edm::EventSetup::get(), hChi2Increment, hClsize_vs_Chi2, hProcess_vs_Chi2, hPullGM_X_ts, hPullGM_X_ts_mono, hPullGM_X_ts_stereo, hPullGM_Y_ts, hPullGM_Y_ts_mono, hPullGM_Y_ts_stereo, hPullGM_Z_ts, hPullGM_Z_ts_mono, hPullGM_Z_ts_stereo, hPullGP_X_rs, hPullGP_X_rs_mono, hPullGP_X_rs_stereo, hPullGP_X_tr, hPullGP_X_tr_mono, hPullGP_X_tr_stereo, hPullGP_X_ts, hPullGP_X_ts_mono, hPullGP_X_ts_stereo, hPullGP_Y_rs, hPullGP_Y_rs_mono, hPullGP_Y_rs_stereo, hPullGP_Y_tr, hPullGP_Y_tr_mono, hPullGP_Y_tr_stereo, hPullGP_Y_ts, hPullGP_Y_ts_mono, hPullGP_Y_ts_stereo, hPullGP_Z_rs, hPullGP_Z_rs_mono, hPullGP_Z_rs_stereo, hPullGP_Z_tr, hPullGP_Z_tr_mono, hPullGP_Z_tr_stereo, hPullGP_Z_ts, hPullGP_Z_ts_mono, hPullGP_Z_ts_stereo, hTotChi2Increment, i, j, propagatorName, theBuilder, theG, theMF, thePropagator, and title.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 937 of file TestHits.cc.
References file, hChi2Increment, hClsize_vs_Chi2, hProcess_vs_Chi2, hPullGM_X_ts, hPullGM_X_ts_mono, hPullGM_X_ts_stereo, hPullGM_Y_ts, hPullGM_Y_ts_mono, hPullGM_Y_ts_stereo, hPullGM_Z_ts, hPullGM_Z_ts_mono, hPullGM_Z_ts_stereo, hPullGP_X_rs, hPullGP_X_rs_mono, hPullGP_X_rs_stereo, hPullGP_X_tr, hPullGP_X_tr_mono, hPullGP_X_tr_stereo, hPullGP_X_ts, hPullGP_X_ts_mono, hPullGP_X_ts_stereo, hPullGP_Y_rs, hPullGP_Y_rs_mono, hPullGP_Y_rs_stereo, hPullGP_Y_tr, hPullGP_Y_tr_mono, hPullGP_Y_tr_stereo, hPullGP_Y_ts, hPullGP_Y_ts_mono, hPullGP_Y_ts_stereo, hPullGP_Z_rs, hPullGP_Z_rs_mono, hPullGP_Z_rs_stereo, hPullGP_Z_tr, hPullGP_Z_tr_mono, hPullGP_Z_tr_stereo, hPullGP_Z_ts, hPullGP_Z_ts_mono, hPullGP_Z_ts_stereo, hTotChi2Increment, i, j, and title.
|
private |
Definition at line 1181 of file TestHits.cc.
References funct::cos(), dir, PSimHit::localDirection(), PSimHit::localPosition(), pileupReCalc_HLTpaths::scale, funct::sin(), StripGeomDetUnit::specificTopology(), StripTopology::strip(), StripTopology::stripAngle(), GeomDet::surface(), Surface::toGlobal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 67 of file TestHits.h.
Referenced by beginRun(), and TestHits().
|
private |
Definition at line 78 of file TestHits.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 75 of file TestHits.h.
Referenced by analyze(), beginRun(), and trackingPlots.Iteration::modules().
|
private |
Definition at line 69 of file TestHits.h.
Referenced by beginRun(), and TestHits().
|
private |
Definition at line 92 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 94 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 94 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 83 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 99 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 112 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 84 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 100 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 113 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 85 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 101 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 114 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 86 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 102 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 115 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 89 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 105 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 118 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 80 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 96 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 109 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 87 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 103 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 116 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 90 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 106 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 119 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 81 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 97 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 110 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 88 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 104 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 117 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 91 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 107 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 120 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 82 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 98 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 111 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 93 of file TestHits.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 64 of file TestHits.h.
Referenced by analyze(), and TestHits().
|
private |
Definition at line 64 of file TestHits.h.
Referenced by analyze(), and TestHits().
|
private |
Definition at line 66 of file TestHits.h.
Referenced by beginRun(), and TestHits().
|
private |
Definition at line 68 of file TestHits.h.
Referenced by analyze(), and TestHits().
|
private |
Definition at line 74 of file TestHits.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 71 of file TestHits.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 72 of file TestHits.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 73 of file TestHits.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 76 of file TestHits.h.
Referenced by analyze().
|
private |
Definition at line 79 of file TestHits.h.
Referenced by cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), analyze(), Vispa.Views.LineDecayView.LineDecayContainer::autolayout(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutThreadFinished(), beginRun(), Vispa.Views.LineDecayView.LineDecayContainer::childFinishedAutolayouting(), endJob(), Formatter.SimpleHTMLFormatter::headers(), and Vispa.Gui.PortWidget.PortWidget::name().
|
private |
Definition at line 62 of file TestHits.h.
Referenced by analyze().