#include <ConvBremSeedProducer.h>
Private Types | |
typedef GeometricSearchDet::DetWithState | DetWithState |
typedef SiStripMatchedRecHit2DCollection::const_iterator | MatDetMatch |
typedef SiStripMatchedRecHit2DCollection::DetSet | MatDetSet |
typedef SiPixelRecHitCollection::const_iterator | PiDetMatch |
typedef SiPixelRecHitCollection::DetSet | PiDetSet |
typedef SiStripRecHit2DCollection::const_iterator | StDetMatch |
typedef SiStripRecHit2DCollection::DetSet | StDetSet |
Private Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
const DetLayer * | detLayer (const TrackerLayer &layer, float zpos) const |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
int | GoodCluster (const BaseParticlePropagator &bpg, const reco::PFClusterCollection &pfc, float minep, bool sec=false) |
void | initializeLayerMap () |
bool | isGsfTrack (const reco::Track &, const TrackingRecHit *) |
TrajectoryStateOnSurface | makeTrajectoryState (const DetLayer *layer, const ParticlePropagator &pp, const MagneticField *field) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
std::vector< bool > | sharedHits (const std::vector< std::pair< TrajectorySeed, std::pair< GlobalVector, float > > > &) |
Private Attributes | |
math::XYZVector | B_ |
B field. More... | |
edm::ParameterSet | conf_ |
const MagneticFieldMap * | fieldMap_ |
const TrackerInteractionGeometry * | geometry_ |
const GeometricSearchTracker * | geomSearchTracker_ |
const TransientTrackingRecHitBuilder * | hitBuilder_ |
const KFUpdator * | kfUpdator_ |
std::vector< const DetLayer * > | layerMap_ |
const MagneticField * | magfield_ |
int | negLayerOffset_ |
const PropagatorWithMaterial * | propagator_ |
std::vector< const DetLayer * > | theLayerMap |
const TrackerGeometry * | tracker_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 40 of file ConvBremSeedProducer.h.
|
private |
Definition at line 47 of file ConvBremSeedProducer.h.
Definition at line 43 of file ConvBremSeedProducer.h.
Definition at line 46 of file ConvBremSeedProducer.h.
Definition at line 42 of file ConvBremSeedProducer.h.
|
private |
Definition at line 45 of file ConvBremSeedProducer.h.
Definition at line 41 of file ConvBremSeedProducer.h.
|
private |
Definition at line 44 of file ConvBremSeedProducer.h.
|
explicit |
Definition at line 53 of file ConvBremSeedProducer.cc.
|
override |
Definition at line 63 of file ConvBremSeedProducer.cc.
|
overrideprivate |
Definition at line 389 of file ConvBremSeedProducer.cc.
References alongMomentum, B_, conf_, fieldMap_, geometry_, geomSearchTracker_, edm::EventSetup::get(), edm::ParameterSet::getParameter(), hitBuilder_, MagneticField::inTesla(), kfUpdator_, magfield_, edm::ESHandle< T >::product(), propagator_, HiIsolationCommonParameters_cff::track, trackingTruthProducer_cfi::tracker, and tracker_.
|
private |
Definition at line 530 of file ConvBremSeedProducer.cc.
References TrackerLayer::forward(), layerMap_, TrackerLayer::layerNumber(), and negLayerOffset_.
Referenced by produce().
|
overrideprivate |
Definition at line 424 of file ConvBremSeedProducer.cc.
References kfUpdator_, and propagator_.
|
private |
Definition at line 608 of file ConvBremSeedProducer.cc.
References runTauDisplay::dr, PVValHelper::eta, BaseParticlePropagator::getSuccess(), mps_fire::i, RawParticle::momentum(), BaseParticlePropagator::particle(), phi, position, funct::pow(), BaseParticlePropagator::propagateToEcalEntrance(), mathSSE::sqrt(), TwoPi, and RawParticle::vertex().
Referenced by produce().
|
private |
ATTENTION: HARD CODED LOGIC! If Famos layer numbering changes this logic needs to be adapted to the new numbering!
Definition at line 431 of file ConvBremSeedProducer.cc.
References GeometricSearchTracker::barrelLayers(), TrackerInteractionGeometry::cylinderBegin(), TrackerInteractionGeometry::cylinderEnd(), runEdmFileComparison::found, geometry_, geomSearchTracker_, mps_fire::i, layerMap_, LogDebug, and GeometricSearchTracker::posForwardLayers().
Referenced by produce().
|
private |
Definition at line 550 of file ConvBremSeedProducer.cc.
References TrackingRecHit::all, and reco::Track::recHits().
Referenced by produce().
|
private |
Definition at line 537 of file ConvBremSeedProducer.cc.
References RawParticle::charge(), BaseParticlePropagator::particle(), RawParticle::Px(), RawParticle::Py(), RawParticle::Pz(), GeometricSearchDet::surface(), Surface::tangentPlane(), RawParticle::X(), RawParticle::Y(), and RawParticle::Z().
Referenced by produce().
|
overrideprivate |
INPUT COLLECTIONS
PF CLUSTERS
PIXEL
STRIP
OUTPUT COLLECTION
INITIALIZE
LOOP OVER GSF TRACK COLLECTION
FIND THE CLUSTER ASSOCIATED TO THE GSF TRACK
LOOP OVER BREM PHOTONS
BREM SELECTION
LOOP OVER TRACKER LAYER
TRACKER LAYER SELECTION
FIND COMPATIBLE MODULES
MODULE TRIPLETS SELECTION
SEED CREATION
Definition at line 71 of file ConvBremSeedProducer.cc.
References alongMomentum, AnalyticalPropagator_cfi::AnalyticalPropagator, anyDirection, B_, edmNew::DetSet< T >::begin(), TransientTrackingRecHitBuilder::build(), GlobalTrajectoryParameters::charge(), edm::OwnVector< T, P >::clear(), clone(), GeometricSearchDet::compatibleDets(), conf_, TrackerInteractionGeometry::cylinderBegin(), TrackerInteractionGeometry::cylinderEnd(), detLayer(), edmNew::DetSet< T >::end(), edmNew::DetSetVector< T >::end(), edm::EventID::event(), fieldMap_, spr::find(), plotBeamSpotDB::first, geometry_, edm::EventSetup::get(), edm::Event::getByLabel(), BaseParticlePropagator::getMagneticField(), edm::ParameterSet::getParameter(), BaseParticlePropagator::getSuccess(), GoodCluster(), runTauDisplay::gp, hitBuilder_, mps_fire::i, cuy::ib, edm::EventBase::id(), TrackerGeometry::idToDet(), initializeLayerMap(), isGsfTrack(), GeomDetEnumerators::isTrackerPixel(), TrajectoryStateOnSurface::isValid(), kfUpdator_, LogDebug, magfield_, makeTrajectoryState(), AlignmentTrackSelector_cfi::matchedrecHits, GlobalTrajectoryParameters::momentum(), eostools::move(), MagneticField::nominalValue(), convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, BaseParticlePropagator::particle(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), NuclearInteractionSecond_cff::pixelHits, GlobalTrajectoryParameters::position(), position, edm::Handle< T >::product(), Propagator::propagate(), BaseParticlePropagator::propagate(), propagator_, edm::OwnVector< T, P >::push_back(), edm::Event::put(), AlignmentTrackSelector_cfi::rphirecHits, edm::EventID::run(), ParticlePropagator::setPropagationConditions(), sharedHits(), mathSSE::sqrt(), FastHelix::stateAtVertex(), convBremSeeds_cfi::stereorecHits, DetLayer::subDetector(), GeomDet::surface(), groupFilesInBlocks::temp, tmp, tracker_, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
|
private |
Definition at line 558 of file ConvBremSeedProducer.cc.
References TrackingRecHit::all, mps_fire::i, and edm::second().
Referenced by produce().
|
private |
B field.
Definition at line 84 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 72 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 77 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 74 of file ConvBremSeedProducer.h.
Referenced by beginRun(), initializeLayerMap(), and produce().
|
private |
Definition at line 73 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and initializeLayerMap().
|
private |
Definition at line 80 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 79 of file ConvBremSeedProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 81 of file ConvBremSeedProducer.h.
Referenced by detLayer(), and initializeLayerMap().
|
private |
Definition at line 76 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 82 of file ConvBremSeedProducer.h.
Referenced by detLayer().
|
private |
Definition at line 78 of file ConvBremSeedProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 58 of file ConvBremSeedProducer.h.
|
private |
Definition at line 75 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().