Classes | |
struct | ClusterWithTracks |
class | FindCluster |
struct | TrackAndState |
Public Member Functions | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
TrackClusterSplitter (const edm::ParameterSet &iConfig) | |
~TrackClusterSplitter () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 Types | |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
typedef boost::sub_range < std::vector < SiPixelClusterWithTracks > > | SiPixelClustersWithTracks |
typedef ClusterWithTracks < SiPixelCluster > | SiPixelClusterWithTracks |
typedef boost::sub_range < std::vector < SiStripClusterWithTracks > > | SiStripClustersWithTracks |
typedef ClusterWithTracks < SiStripCluster > | SiStripClusterWithTracks |
Private Member Functions | |
template<> | |
const SiPixelCluster * | getCluster (const TrackingRecHit *hit) |
template<> | |
const SiStripCluster * | getCluster (const TrackingRecHit *hit) |
template<> | |
const SiStripCluster * | getCluster (const TrackingRecHit *hit) |
template<> | |
const SiPixelCluster * | getCluster (const TrackingRecHit *hit) |
template<typename Cluster > | |
void | markClusters (std::map< uint32_t, boost::sub_range< std::vector< ClusterWithTracks< Cluster > > > > &map, const TrackingRecHit *hit, const reco::Track *track, const TrajectoryStateOnSurface &tsos) const |
template<typename Cluster > | |
void | splitCluster (const ClusterWithTracks< Cluster > &cluster, const GlobalVector &dir, typename edmNew::DetSetVector< Cluster >::FastFiller &output, DetId detId) const |
template<> | |
void | splitCluster (const SiPixelClusterWithTracks &cluster, const GlobalVector &dir, edmNew::DetSetVector< SiPixelCluster >::FastFiller &output, DetId detId) const |
template<> | |
void | splitCluster (const SiStripClusterWithTracks &cluster, const GlobalVector &dir, edmNew::DetSetVector< SiStripCluster >::FastFiller &output, DetId detId) const |
template<> | |
void | splitCluster (const SiStripClusterWithTracks &c, const GlobalVector &vtx, edmNew::DetSetVector< SiStripCluster >::FastFiller &output, DetId detId) const |
template<> | |
void | splitCluster (const SiPixelClusterWithTracks &c, const GlobalVector &vtx, edmNew::DetSetVector< SiPixelCluster >::FastFiller &output, DetId detId) const |
template<typename Cluster > | |
std::auto_ptr < edmNew::DetSetVector < Cluster > > | splitClusters (const std::map< uint32_t, boost::sub_range< std::vector< ClusterWithTracks< Cluster > > > > &input, const reco::Vertex &vtx) const |
Static Private Member Functions | |
template<typename C > | |
static const C * | equalClusters (const C &c1, const C &c2) |
template<typename C > | |
static const C * | getCluster (const TrackingRecHit *hit) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 64 of file TrackClusterSplitter.cc.
|
private |
Definition at line 153 of file TrackClusterSplitter.cc.
|
private |
Definition at line 148 of file TrackClusterSplitter.cc.
Definition at line 143 of file TrackClusterSplitter.cc.
|
private |
Definition at line 149 of file TrackClusterSplitter.cc.
Definition at line 144 of file TrackClusterSplitter.cc.
TrackClusterSplitter::TrackClusterSplitter | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 236 of file TrackClusterSplitter.cc.
References edm::ParameterSet::getParameter(), HLT_25ns10e33_v2_cff::InputTag, pixelClusters_, pixeldigisimlinkToken, propagatorName_, SiPixelTemplate2D::pushfile(), SiStripTemplate::pushfile(), SiPixelTemplate::pushfile(), simSplitPixel_, simSplitStrip_, AlCaHLTBitMon_QueryRunRegistry::string, stripClusters_, stripdigisimlinkToken, thePixelTemp2D_, thePixelTemp_, theStripTemp_, tmpSplitPixel_, tmpSplitStrip_, tracks_, trajTrackAssociations_, useStraightTracks_, useTrajectories_, and vertices_.
TrackClusterSplitter::~TrackClusterSplitter | ( | ) |
Definition at line 330 of file TrackClusterSplitter.cc.
|
inlinestaticprivate |
Definition at line 161 of file TrackClusterSplitter.cc.
|
staticprivate |
|
private |
|
private |
|
private |
Definition at line 304 of file TrackClusterSplitter.cc.
References Exception.
|
private |
Definition at line 320 of file TrackClusterSplitter.cc.
References Exception.
|
private |
Definition at line 531 of file TrackClusterSplitter.cc.
References TrackingRecHit::geographicalId(), match(), mergeVDriftHistosByStation::name, and DetId::rawId().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 335 of file TrackClusterSplitter.cc.
References allSiPixelClusters, allSiStripClusters, edmNew::DetSet< T >::begin(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, edmNew::DetSet< T >::detId(), end, edmNew::DetSet< T >::end(), Exception, plotBeamSpotDB::first, TrackingRecHit::geographicalId(), geometry_, edm::EventSetup::get(), edm::Event::getByToken(), hitAssociator, trajectoryStateTransform::innerFreeState(), TrackingRecHit::isValid(), magfield_, Trajectory::measurements(), pixelClusters_, pixeldigisimlink, pixeldigisimlinkToken, propagator_, edm::Event::put(), DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::Track::recHitsSize(), simSplitPixel_, simSplitStrip_, siPixelDetsWithClusters, siStripDetsWithClusters, splitClusters(), dqm_diff::start, stripClusters_, stripdigisimlink, stripdigisimlinkToken, DetId::subdetId(), GeomDet::surface(), trackerHitAssociatorConfig_, testEve_cfg::tracks, tracks_, HLT_25ns10e33_v2_cff::trajectories, trajTrackAssociations_, useTrajectories_, HLT_25ns10e33_v2_cff::vertices, and vertices_.
|
private |
Definition at line 588 of file TrackClusterSplitter.cc.
References Exception.
Referenced by splitClusters().
|
private |
|
private |
|
private |
Definition at line 598 of file TrackClusterSplitter.cc.
References SiStripCluster::amplitudes(), SiStripCluster::barycenter(), begin, BXSIZE, EnergyCorrector::c, GetRecoTauVFromDQM_MC_cff::cl2, edm::DetSet< T >::data, end, Exception, plotBeamSpotDB::first, SiStripCluster::firstStrip(), geometry_, hitAssociator, i, SiStripTemplate::interpolate(), j, plotBeamSpotDB::last, TrajectoryStateOnSurface::localParameters(), StripTopology::localPosition(), PV3DBase< T, PVType, FrameType >::mag(), magfield_, bookConverter::max, min(), SiStripDetId::moduleGeometry(), LocalTrajectoryParameters::momentum(), convertSQLitetoXML_cfg::output, GloballyPositioned< T >::position(), reco::TrackBase::pt(), SiStripTemplate::qbin(), SiStripCluster::setSplitClusterError(), simSplitStrip_, findQualityFiles::size, StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), stripdigisimlink, SiStripTemplateSplit::StripTempSplit(), GeomDet::surface(), SiStripTemplate::sxtemp(), theStripTemp_, tmpSplitStrip_, Surface::toGlobal(), toLocal(), useStraightTracks_, PV3DBase< T, PVType, FrameType >::x(), SiStripTemplate::xsize(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 1228 of file TrackClusterSplitter.cc.
References SiPixelCluster::add(), BXM2, BYM2, EnergyCorrector::c, PixelDigi::channelToPixel(), SiPixelCluster::charge(), GetRecoTauVFromDQM_MC_cff::cl2, edm::DetSet< T >::data, Exception, geometry_, i, PixelTopology::isItBigPixelInX(), PixelTopology::isItBigPixelInY(), j, TrajectoryStateOnSurface::localParameters(), Topology::localPosition(), PV3DBase< T, PVType, FrameType >::mag(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), LocalTrajectoryParameters::momentum(), convertSQLitetoXML_cfg::output, PixelSubdetector::PixelBarrel, pixeldigisimlink, PixelSubdetector::PixelEndcap, SiPixelCluster::pixels(), SiPixelTemplateSplit::PixelTempSplit(), reco::TrackBase::pt(), SiPixelTemplate::qbin(), SiPixelTemplate::s50(), SiPixelCluster::setSplitClusterErrorX(), SiPixelCluster::setSplitClusterErrorY(), SiPixelTemplate::simpletemplate2D(), simSplitPixel_, SiPixelCluster::size(), findQualityFiles::size, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), thePixelTemp2D_, thePixelTemp_, tmpSplitPixel_, Surface::toGlobal(), TXSIZE, TYSIZE, useStraightTracks_, PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), xsize, SiPixelTemplate::xsize(), SiPixelTemplate2D::xytemp(), PV3DBase< T, PVType, FrameType >::y(), SiPixelCluster::y(), ysize, SiPixelTemplate::ysize(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 554 of file TrackClusterSplitter.cc.
References EnergyCorrector::c, geometry_, input, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, splitCluster(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by produce().
|
private |
|
private |
Definition at line 209 of file TrackClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 109 of file TrackClusterSplitter.cc.
Referenced by produce(), splitCluster(), and splitClusters().
|
private |
Definition at line 155 of file TrackClusterSplitter.cc.
Referenced by produce(), and splitCluster().
|
private |
Definition at line 107 of file TrackClusterSplitter.cc.
Referenced by produce(), and splitCluster().
|
private |
Definition at line 73 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 112 of file TrackClusterSplitter.cc.
Referenced by produce(), and splitCluster().
|
private |
Definition at line 102 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 108 of file TrackClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 106 of file TrackClusterSplitter.cc.
Referenced by TrackClusterSplitter().
|
private |
Definition at line 76 of file TrackClusterSplitter.cc.
Referenced by produce(), splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 77 of file TrackClusterSplitter.cc.
Referenced by produce(), splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 207 of file TrackClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 210 of file TrackClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 74 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 115 of file TrackClusterSplitter.cc.
Referenced by produce(), and splitCluster().
|
private |
Definition at line 103 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 121 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 120 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 123 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 78 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 79 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 154 of file TrackClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 97 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 96 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 87 of file TrackClusterSplitter.cc.
Referenced by splitCluster(), and TrackClusterSplitter().
|
private |
Definition at line 93 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().
|
private |
Definition at line 100 of file TrackClusterSplitter.cc.
Referenced by produce(), and TrackClusterSplitter().