#include <ConvBremSeedProducer.h>
Public Member Functions | |
ConvBremSeedProducer (const edm::ParameterSet &) | |
~ConvBremSeedProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 (edm::Run &, const edm::EventSetup &) |
const DetLayer * | detLayer (const TrackerLayer &layer, float zpos) const |
virtual void | endRun () |
int | GoodCluster (BaseParticlePropagator bpg, const reco::PFClusterCollection &pfc, float minep, bool sec=false) |
void | initializeLayerMap () |
bool | isGsfTrack (TrackingRecHitRefVector, const TrackingRecHit *) |
TrajectoryStateOnSurface | makeTrajectoryState (const DetLayer *layer, const ParticlePropagator &pp, const MagneticField *field) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
std::vector< bool > | sharedHits (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 |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 387 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 527 of file ConvBremSeedProducer.cc.
References TrackerLayer::forward(), layerMap_, TrackerLayer::layerNumber(), and negLayerOffset_.
Referenced by produce().
|
privatevirtual |
Definition at line 422 of file ConvBremSeedProducer.cc.
References kfUpdator_, and propagator_.
|
private |
Definition at line 610 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 428 of file ConvBremSeedProducer.cc.
References GeometricSearchTracker::barrelLayers(), TrackerInteractionGeometry::cylinderBegin(), TrackerInteractionGeometry::cylinderEnd(), newFWLiteAna::found, geometry_, geomSearchTracker_, i, BoundDisk::innerRadius(), layerMap_, LogDebug, BoundDisk::outerRadius(), GeometricSearchTracker::posForwardLayers(), GloballyPositioned< T >::position(), Cylinder::radius(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 547 of file ConvBremSeedProducer.cc.
References TrackingRecHit::all, edm::RefVector< C, T, F >::begin(), and edm::RefVector< C, T, F >::end().
Referenced by produce().
|
private |
Definition at line 534 of file ConvBremSeedProducer.cc.
References RawParticle::charge(), pos, GeometricSearchDet::surface(), Surface::tangentPlane(), RawParticle::X(), RawParticle::Y(), and RawParticle::Z().
Referenced by produce().
|
privatevirtual |
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, 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(), first, geometry_, edm::Event::getByLabel(), BaseParticlePropagator::getMagneticField(), edm::ParameterSet::getParameter(), BaseParticlePropagator::getSuccess(), GoodCluster(), hitBuilder_, i, edm::EventBase::id(), TrackerGeometry::idToDet(), initializeLayerMap(), isGsfTrack(), TrajectoryStateOnSurface::isValid(), kfUpdator_, LogDebug, magfield_, makeTrajectoryState(), GlobalTrajectoryParameters::momentum(), convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, pos, GlobalTrajectoryParameters::position(), position, edm::Handle< T >::product(), PropagatorWithMaterial::propagate(), BaseParticlePropagator::propagate(), propagator_, edm::OwnVector< T, P >::push_back(), edm::Event::put(), edm::EventID::run(), RawParticle::setCharge(), ParticlePropagator::setPropagationConditions(), sharedHits(), mathSSE::sqrt(), evf::utils::state, 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 560 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.