#include <PixelTemplateSmearerBase.h>
Classes | |
struct | MergeGroup |
Protected Member Functions | |
bool | isFlipped (const PixelGeomDetUnit *theDet) const |
Definition at line 39 of file PixelTemplateSmearerBase.h.
|
explicit |
Definition at line 38 of file PixelTemplateSmearerBase.cc.
References edm::ParameterSet::getParameter(), mergeHitsOn, and templateId.
|
override |
Definition at line 50 of file PixelTemplateSmearerBase.cc.
References theXHistos, and theYHistos.
Definition at line 959 of file PixelTemplateSmearerBase.cc.
References PSimHit::localPosition(), cmsBatch::log, PSimHit::momentumAtEntry(), funct::pow(), TtFullHadEvtBuilder_cfi::prob, mathSSE::sqrt(), theMergingProbabilityFile, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by process().
|
protected |
Definition at line 992 of file PixelTemplateSmearerBase.cc.
References PV3DBase< T, PVType, FrameType >::perp(), GeomDet::surface(), and Surface::toGlobal().
|
overridevirtual |
Reimplemented from TrackingRecHitAlgorithm.
Definition at line 66 of file PixelTemplateSmearerBase.cc.
References Exception, TrackingRecHitAlgorithm::getRandomEngine(), TrackingRecHitAlgorithm::getTrackerGeometry(), edmIntegrityCheck::group, PixelTemplateSmearerBase::MergeGroup::group, hitsMerge(), mps_fire::i, TrackerGeometry::idToDetUnit(), gen::k, Bounds::length(), mergeHitsOn, processMergeGroups(), processUnmergedHits(), randomEngine, edm::second(), trackerHits::simHits, PixelTemplateSmearerBase::MergeGroup::smearIt, GeomDet::surface(), and Bounds::width().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), ConfigBuilder.ConfigBuilder::scheduleSequence(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().
TrackingRecHitProductPtr PixelTemplateSmearerBase::processMergeGroups | ( | std::vector< MergeGroup * > & | mergeGroups, |
TrackingRecHitProductPtr | product, | ||
const PixelGeomDetUnit * | detUnit, | ||
const double | boundX, | ||
const double | boundY, | ||
RandomEngineAndDistribution const * | random | ||
) | const |
Definition at line 695 of file PixelTemplateSmearerBase.cc.
References rpcPointValidation_cfi::recHit, and smearMergeGroup().
Referenced by process(), and processUnmergedHits().
TrackingRecHitProductPtr PixelTemplateSmearerBase::processUnmergedHits | ( | std::vector< TrackingRecHitProduct::SimHitIdPair > & | unmergedHits, |
TrackingRecHitProductPtr | product, | ||
const PixelGeomDetUnit * | detUnit, | ||
const double | boundX, | ||
const double | boundY, | ||
RandomEngineAndDistribution const * | random | ||
) | const |
Definition at line 677 of file PixelTemplateSmearerBase.cc.
References processMergeGroups(), rpcPointValidation_cfi::recHit, and smearHit().
Referenced by process(), and smearHit().
FastSingleTrackerRecHit PixelTemplateSmearerBase::smearHit | ( | const PSimHit & | simHit, |
const PixelGeomDetUnit * | detUnit, | ||
const double | boundX, | ||
const double | boundY, | ||
RandomEngineAndDistribution const * | random | ||
) | const |
Definition at line 250 of file PixelTemplateSmearerBase.cc.
References BHX, BHY, BXSIZE, BYSIZE, RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), Exception, RandomEngineAndDistribution::flatShoot(), objects.autophobj::float, SimpleHistogramGenerator::generate(), GeomDet::geographicalId(), TrackingRecHitAlgorithm::getMisalignedGeometry(), mps_fire::i, TrackerGeometry::idToDet(), createfilelist::int, SiPixelTemplate::interpolate(), isForward, RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), RectangularPixelTopology::isItEdgePixelInX(), RectangularPixelTopology::isItEdgePixelInY(), TrackerGeomDet::localAlignmentError(), PSimHit::localPosition(), RectangularPixelTopology::localPosition(), RectangularPixelTopology::measurementPosition(), microntocm, PSimHit::momentumAtEntry(), PixelTopology::ncolumns(), PixelTopology::nrows(), processUnmergedHits(), SiPixelTemplate::qbin_dist(), rpcPointValidation_cfi::recHit, rescotAlpha_binMin, rescotAlpha_binN, rescotAlpha_binWidth, rescotBeta_binMin, rescotBeta_binN, rescotBeta_binWidth, SiPixelTemplate::s50(), Validation_hcalonly_cfi::sign, fastTrackerRecHitType::siPixel, PixelGeomDetType::specificTopology(), PixelGeomDetUnit::specificType(), SiPixelTemplate::temperrors(), templateId, thePixelTemp_, theXHistos, theYHistos, Vector3DBase< T, FrameTag >::unit(), LocalError::valid(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), xsize, SiPixelTemplate::xtemp(), LocalError::xx(), LocalError::xy(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), ysize, SiPixelTemplate::ytemp(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by processUnmergedHits().
FastSingleTrackerRecHit PixelTemplateSmearerBase::smearMergeGroup | ( | MergeGroup * | mg, |
const PixelGeomDetUnit * | detUnit, | ||
const double | boundX, | ||
const double | boundY, | ||
const RandomEngineAndDistribution * | random | ||
) | const |
Definition at line 716 of file PixelTemplateSmearerBase.cc.
References BXSIZE, BYSIZE, RandomEngineAndDistribution::flatShoot(), objects.autophobj::float, SimpleHistogramGenerator::generate(), PixelTemplateSmearerBase::MergeGroup::group, mps_fire::i, createfilelist::int, SiPixelTemplate::interpolate(), isForward, PSimHit::localPosition(), microntocm, PSimHit::momentumAtEntry(), SiPixelTemplate::qbin_dist(), rpcPointValidation_cfi::recHit, Validation_hcalonly_cfi::sign, rpcPointValidation_cfi::simHit, fastTrackerRecHitType::siPixel, SiPixelTemplate::temperrors(), templateId, theMergedPixelResolutionXFile, theMergedPixelResolutionYFile, thePixelTemp_, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), xsize, SiPixelTemplate::xtemp(), PV3DBase< T, PVType, FrameType >::y(), ysize, SiPixelTemplate::ytemp(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by processMergeGroups().
|
protected |
Definition at line 56 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 50 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and process().
|
protected |
Definition at line 58 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 59 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 58 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 60 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 61 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 60 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), and smearHit().
|
protected |
Definition at line 62 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), and PixelForwardTemplateSmearerPlugin::initializeForward().
|
protected |
Definition at line 63 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), and PixelForwardTemplateSmearerPlugin::initializeForward().
|
protected |
Definition at line 62 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), and PixelForwardTemplateSmearerPlugin::initializeForward().
|
protected |
Definition at line 52 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin(), PixelTemplateSmearerBase(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 71 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 72 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 69 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 70 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 82 of file PixelTemplateSmearerBase.h.
|
protected |
Definition at line 77 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin(), and smearMergeGroup().
|
protected |
Definition at line 78 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 79 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin(), and smearMergeGroup().
|
protected |
Definition at line 80 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 75 of file PixelTemplateSmearerBase.h.
Referenced by hitsMerge(), PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 76 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 51 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 73 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 74 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::PixelBarrelTemplateSmearerPlugin(), and PixelForwardTemplateSmearerPlugin::PixelForwardTemplateSmearerPlugin().
|
protected |
Definition at line 66 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), smearHit(), and ~PixelTemplateSmearerBase().
|
protected |
Definition at line 67 of file PixelTemplateSmearerBase.h.
Referenced by PixelBarrelTemplateSmearerPlugin::initializeBarrel(), PixelForwardTemplateSmearerPlugin::initializeForward(), smearHit(), and ~PixelTemplateSmearerBase().