#include <ConvBremSeedProducer.h>
Public Member Functions | |
ConvBremSeedProducer (const edm::ParameterSet &) | |
~ConvBremSeedProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 (const std::string &iProcessName, std::vector< const char * > &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 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 | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
const DetLayer * | detLayer (const TrackerLayer &layer, float zpos) const |
virtual 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 |
virtual 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_ |
const TrajectoryStateTransform * | transformer_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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::EDProducer | |
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 41 of file ConvBremSeedProducer.h.
|
private |
Definition at line 48 of file ConvBremSeedProducer.h.
Definition at line 44 of file ConvBremSeedProducer.h.
Definition at line 47 of file ConvBremSeedProducer.h.
Definition at line 43 of file ConvBremSeedProducer.h.
|
private |
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.
|
explicit |
Definition at line 51 of file ConvBremSeedProducer.cc.
ConvBremSeedProducer::~ConvBremSeedProducer | ( | ) |
Definition at line 61 of file ConvBremSeedProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 391 of file ConvBremSeedProducer.cc.
References alongMomentum, B_, conf_, fieldMap_, geometry_, geomSearchTracker_, edm::EventSetup::get(), edm::ParameterSet::getParameter(), hitBuilder_, MagneticField::inTesla(), kfUpdator_, HLT_ES_cff::magfield, magfield_, edm::ESHandle< class >::product(), propagator_, patCandidatesForDimuonsSequences_cff::tracker, and tracker_.
|
private |
Definition at line 532 of file ConvBremSeedProducer.cc.
References TrackerLayer::forward(), layerMap_, TrackerLayer::layerNumber(), and negLayerOffset_.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 426 of file ConvBremSeedProducer.cc.
References kfUpdator_, and propagator_.
|
private |
Definition at line 615 of file ConvBremSeedProducer.cc.
References eta, BaseParticlePropagator::getSuccess(), i, RawParticle::momentum(), 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 433 of file ConvBremSeedProducer.cc.
References GeometricSearchTracker::barrelLayers(), TrackerInteractionGeometry::cylinderBegin(), TrackerInteractionGeometry::cylinderEnd(), newFWLiteAna::found, geometry_, geomSearchTracker_, i, layerMap_, LogDebug, and GeometricSearchTracker::posForwardLayers().
Referenced by produce().
|
private |
Definition at line 552 of file ConvBremSeedProducer.cc.
References TrackingRecHit::all, cuy::ib, reco::Track::recHitsBegin(), and reco::Track::recHitsEnd().
Referenced by produce().
|
private |
Definition at line 539 of file ConvBremSeedProducer.cc.
References RawParticle::charge(), GeometricSearchDet::surface(), Surface::tangentPlane(), RawParticle::X(), RawParticle::Y(), and RawParticle::Z().
Referenced by produce().
|
overrideprivatevirtual |
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
Implements edm::EDProducer.
Definition at line 69 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(), cond::rpcobgas::detid, detLayer(), edmNew::DetSet< 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(), hitBuilder_, i, cuy::ib, edm::EventBase::id(), TrackerGeometry::idToDet(), initializeLayerMap(), isGsfTrack(), TrajectoryStateOnSurface::isValid(), kfUpdator_, LogDebug, magfield_, makeTrajectoryState(), GlobalTrajectoryParameters::momentum(), convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GlobalTrajectoryParameters::position(), position, edm::Handle< T >::product(), BaseParticlePropagator::propagate(), Propagator::propagate(), propagator_, edm::OwnVector< T, P >::push_back(), edm::Event::put(), edm::EventID::run(), RawParticle::setCharge(), ParticlePropagator::setPropagationConditions(), sharedHits(), mathSSE::sqrt(), FastHelix::stateAtVertex(), DetLayer::subDetector(), GeomDet::surface(), groupFilesInBlocks::temp, tmp, tracker_, KFUpdator::update(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
|
private |
Definition at line 565 of file ConvBremSeedProducer.cc.
References TrackingRecHit::all, i, and edm::second().
Referenced by produce().
|
private |
B field.
Definition at line 86 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 73 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 78 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 75 of file ConvBremSeedProducer.h.
Referenced by beginRun(), initializeLayerMap(), and produce().
|
private |
Definition at line 74 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and initializeLayerMap().
|
private |
Definition at line 81 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 80 of file ConvBremSeedProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 83 of file ConvBremSeedProducer.h.
Referenced by detLayer(), and initializeLayerMap().
|
private |
Definition at line 77 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 84 of file ConvBremSeedProducer.h.
Referenced by detLayer().
|
private |
Definition at line 79 of file ConvBremSeedProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 59 of file ConvBremSeedProducer.h.
|
private |
Definition at line 76 of file ConvBremSeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 82 of file ConvBremSeedProducer.h.