#include <PixelTemplateSmearerBase.h>
Classes | |
struct | MergeGroup |
Protected Attributes | |
bool | isBarrel |
bool | mergeHitsOn = false |
const SiPixelTemplateDBObject * | pixelTemplateDBObject_ = 0 |
int | templateId = -1 |
std::string | theBigPixelResolutionFileName |
std::shared_ptr< PixelResolutionHistograms > | theBigPixelResolutions |
std::string | theEdgePixelResolutionFileName |
std::shared_ptr< PixelResolutionHistograms > | theEdgePixelResolutions |
std::unique_ptr< TFile > | theMergedPixelResolutionXFile |
std::string | theMergedPixelResolutionXFileName |
std::unique_ptr< TFile > | theMergedPixelResolutionYFile |
std::string | theMergedPixelResolutionYFileName |
std::unique_ptr< TFile > | theMergingProbabilityFile |
std::string | theMergingProbabilityFileName |
std::vector< SiPixelTemplateStore > | thePixelTemp_ |
std::vector< SiPixelTemplateStore > & | thePixelTempRef = thePixelTemp_ |
std::string | theRegularPixelResolutionFileName |
std::shared_ptr< PixelResolutionHistograms > | theRegularPixelResolutions |
Definition at line 40 of file PixelTemplateSmearerBase.h.
|
explicit |
Definition at line 47 of file PixelTemplateSmearerBase.cc.
References Exception, edm::ParameterSet::exists(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), isBarrel, mergeHitsOn, SiPixelTemplate::pushfile(), mps_update::status, templateId, theBigPixelResolutionFileName, theBigPixelResolutions, theEdgePixelResolutionFileName, theEdgePixelResolutions, theMergedPixelResolutionXFile, theMergedPixelResolutionXFileName, theMergedPixelResolutionYFile, theMergedPixelResolutionYFileName, theMergingProbabilityFile, theMergingProbabilityFileName, thePixelTemp_, theRegularPixelResolutionFileName, theRegularPixelResolutions, and funct::true.
|
override |
Definition at line 138 of file PixelTemplateSmearerBase.cc.
References thePixelTemp_, and x.
|
overridevirtual |
Reimplemented from TrackingRecHitAlgorithm.
Definition at line 151 of file PixelTemplateSmearerBase.cc.
References pixelTemplateDBObject_, templateId, and thePixelTempRef.
Definition at line 1081 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().
|
overridevirtual |
Reimplemented from TrackingRecHitAlgorithm.
Definition at line 189 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 Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), 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 801 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 779 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 370 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(), SiPixelTemplateDBObject::getTemplateID(), mps_fire::i, TrackerGeometry::idToDet(), createfilelist::int, SiPixelTemplate::interpolate(), isBarrel, RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), RectangularPixelTopology::isItEdgePixelInX(), RectangularPixelTopology::isItEdgePixelInY(), TrackerGeomDet::localAlignmentError(), PSimHit::localPosition(), RectangularPixelTopology::localPosition(), LogDebug, PV3DBase< T, PVType, FrameType >::mag(), RectangularPixelTopology::measurementPosition(), microntocm, PSimHit::momentumAtEntry(), PixelTopology::ncolumns(), PixelTopology::nrows(), pixelTemplateDBObject_, processUnmergedHits(), SiPixelTemplate::qbin_dist(), rpcPointValidation_cfi::recHit, SiPixelTemplate::s50(), fastTrackerRecHitType::siPixel, PixelGeomDetType::specificTopology(), PixelGeomDetUnit::specificType(), SiPixelTemplate::temperrors(), templateId, theBigPixelResolutions, theEdgePixelResolutions, thePixelTempRef, theRegularPixelResolutions, 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 826 of file PixelTemplateSmearerBase.cc.
References BXSIZE, BYSIZE, RandomEngineAndDistribution::flatShoot(), objects.autophobj::float, SimpleHistogramGenerator::generate(), GeomDet::geographicalId(), SiPixelTemplateDBObject::getTemplateID(), PixelTemplateSmearerBase::MergeGroup::group, mps_fire::i, createfilelist::int, SiPixelTemplate::interpolate(), PSimHit::localPosition(), microntocm, PSimHit::momentumAtEntry(), pixelTemplateDBObject_, SiPixelTemplate::qbin_dist(), rpcPointValidation_cfi::recHit, rpcPointValidation_cfi::simHit, fastTrackerRecHitType::siPixel, SiPixelTemplate::temperrors(), templateId, theMergedPixelResolutionXFile, theMergedPixelResolutionYFile, thePixelTempRef, 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 64 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearHit().
|
protected |
Definition at line 51 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and process().
|
protected |
Definition at line 54 of file PixelTemplateSmearerBase.h.
Referenced by beginRun(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 57 of file PixelTemplateSmearerBase.h.
Referenced by beginRun(), PixelTemplateSmearerBase(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 71 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 70 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearHit().
|
protected |
Definition at line 68 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 67 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearHit().
|
protected |
Definition at line 80 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearMergeGroup().
|
protected |
Definition at line 81 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 83 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearMergeGroup().
|
protected |
Definition at line 84 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 77 of file PixelTemplateSmearerBase.h.
Referenced by hitsMerge(), and PixelTemplateSmearerBase().
|
protected |
Definition at line 78 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 55 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and ~PixelTemplateSmearerBase().
|
protected |
Definition at line 56 of file PixelTemplateSmearerBase.h.
Referenced by beginRun(), smearHit(), and smearMergeGroup().
|
protected |
Definition at line 74 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase().
|
protected |
Definition at line 73 of file PixelTemplateSmearerBase.h.
Referenced by PixelTemplateSmearerBase(), and smearHit().