CMS 3D CMS Logo

Classes | Functions
ConversionProducer.h File Reference
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/EgammaReco/interface/BasicCluster.h"
#include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
#include "DataFormats/CaloRecHit/interface/CaloCluster.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "DataFormats/GeometrySurface/interface/BoundCylinder.h"
#include "DataFormats/GeometrySurface/interface/BoundDisk.h"
#include "DataFormats/GeometrySurface/interface/SimpleCylinderBounds.h"
#include "DataFormats/GeometrySurface/interface/SimpleDiskBounds.h"
#include "DataFormats/GeometrySurface/interface/ReferenceCounted.h"
#include "RecoVertex/VertexPrimitives/interface/VertexState.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "RecoVertex/KinematicFitPrimitives/interface/KinematicVertex.h"
#include "RecoVertex/KinematicFitPrimitives/interface/KinematicParticle.h"
#include "RecoVertex/KinematicFitPrimitives/interface/KinematicTree.h"
#include "RecoVertex/KinematicFitPrimitives/interface/TransientTrackKinematicParticle.h"
#include "RecoVertex/KinematicFit/interface/KinematicParticleVertexFitter.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "TrackingTools/TransientTrack/interface/TransientTrack.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
#include "DataFormats/EgammaCandidates/interface/Conversion.h"
#include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
#include "DataFormats/EgammaTrackReco/interface/ConversionTrackFwd.h"
#include "DataFormats/VertexReco/interface/VertexFwd.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"

Go to the source code of this file.

Classes

class  ConversionProducer
 

Functions

const GeomDetrecHitDet (const TrackingRecHit &hit, const TrackingGeometry *geom)
 
const BoundPlanerecHitSurface (const TrackingRecHit &hit, const TrackingGeometry *geom)
 
LocalVector toLocal (const reco::Track::Vector &v, const Surface &s)
 

Function Documentation

const GeomDet* recHitDet ( const TrackingRecHit hit,
const TrackingGeometry geom 
)
inline

Definition at line 199 of file ConversionProducer.h.

References TrackingRecHit::geographicalId(), and TrackingGeometry::idToDet().

Referenced by CTPPSFastTrackingProducer::ReadRecHits(), and recHitSurface().

199  {
200  return geom->idToDet( hit.geographicalId() );
201 }
virtual const GeomDet * idToDet(DetId) const =0
DetId geographicalId() const
const BoundPlane& recHitSurface ( const TrackingRecHit hit,
const TrackingGeometry geom 
)
inline

Definition at line 203 of file ConversionProducer.h.

References recHitDet(), and GeomDet::surface().

203  {
204  return recHitDet( hit, geom )->surface();
205 }
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:42
const GeomDet * recHitDet(const TrackingRecHit &hit, const TrackingGeometry *geom)
LocalVector toLocal ( const reco::Track::Vector v,
const Surface s 
)
inline

Definition at line 207 of file ConversionProducer.h.

References GloballyPositioned< T >::toLocal().

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiPixelErrorEstimation::analyze(), SiStripLAProfileBooker::beginRun(), MuRingForwardLayer::compatibleDets(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), shallow::drift(), StripCPE::driftDirection(), Phase2StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), ApeEstimator::fillHitVariables(), CompositeTECWedge::findClosestDet(), DTHitQualityUtils::findMuSimSegmentDirAndPos(), ClusterShapeHitFilter::getDrift(), HelixBarrelPlaneCrossing2OrderLocal::HelixBarrelPlaneCrossing2OrderLocal(), DTChamberEfficiencyTask::interpolate(), CSCPairResidualsConstraint::isFiducial(), StripCPEfromTemplate::localParameters(), FastTrackerRecHitMatcher::match(), SiStripRecHitMatcher::match(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTSegmentCand::operator DTSLRecSegment2D *(), HelixBarrelPlaneCrossing2OrderLocal::positionOnly(), ShallowTrackClustersProducer::produce(), TrackInfoProducerAlgorithm::project(), FastTrackerRecHitMatcher::project(), SiStripRecHitMatcher::project(), Surface::side(), TrackClusterSplitter::splitCluster(), and AlignableSurface::toLocal().

207  {
208  return s.toLocal( GlobalVector( v.x(), v.y(), v.z() ) );
209 }
LocalPoint toLocal(const GlobalPoint &gp) const
Global3DVector GlobalVector
Definition: GlobalVector.h:10