#include <CosmicTrackingRegion.h>
Public Member Functions | |
virtual HitRZCompatibility * | checkRZ (const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const |
CosmicTrackingRegion * | clone () const |
CosmicTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, float dummy=0.) | |
CosmicTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, const edm::ParameterSet &extra) | |
virtual TrackingRegion::Hits | hits (const edm::Event &ev, const edm::EventSetup &es, const ctfseeding::SeedingLayer *layer) const |
get hits from layer compatible with region constraints More... | |
TrackingRegion::Hits | hits (const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override |
std::string | name () const |
virtual | ~CosmicTrackingRegion () |
Public Member Functions inherited from TrackingRegion | |
GlobalVector const & | direction () const |
the direction around which region is constructed More... | |
Range | invPtRange () const |
inverse pt range More... | |
GlobalPoint const & | origin () const |
float | originRBound () const |
bounds the particle vertex in the transverse plane More... | |
float | originZBound () const |
bounds the particle vertex in the longitudinal plane More... | |
float | phiDirection () const |
virtual std::string | print () const |
float | ptMin () const |
minimal pt of interest More... | |
TrackingRegion * | restrictedRegion (const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const |
clone region with new vertex position More... | |
TrackingRegion (const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound) | |
GlobalVector const & | unitDirection () const |
virtual | ~TrackingRegion () |
Private Member Functions | |
template<typename T > | |
TrackingRegion::Hits | hits_ (const edm::Event &ev, const edm::EventSetup &es, const T &layer) const |
Private Attributes | |
std::string | measurementTrackerName_ |
Additional Inherited Members | |
Public Types inherited from TrackingRegion | |
typedef TransientTrackingRecHit::ConstRecHitPointer | Hit |
typedef std::vector< Hit > | Hits |
typedef PixelRecoRange< float > | Range |
A concrete implementation of TrackingRegion. Apart of vertex constraint from TrackingRegion in this implementation the region of interest is further constrainted in phi and eta around the direction of the region
Definition at line 21 of file CosmicTrackingRegion.h.
|
inlinevirtual |
Definition at line 25 of file CosmicTrackingRegion.h.
|
inline |
constructor (symmetric eta and phi margins).
dir - the direction around which region is constructed
the initial direction of the momentum of the particle should be in the range
phi of dir +- deltaPhi
eta of dir +- deltaEta
vertexPos - the position of the vertex (origin) of the of the region.
It is a centre of cylinder constraind with rVertex, zVertex. The track of the particle should cross the cylinder
WARNING: in the current implementaion the vertexPos is supposed to be placed on the beam line, i.e. to be of the form (0,0,float)
ptMin - minimal pt of interest
rVertex - radius of the cylinder around beam line where the tracks of interest should point to.
zVertex - half height of the cylinder around the beam line where the tracks of interest should point to.
deltaEta - allowed deviation of the initial direction of particle in eta in respect to direction of the region
deltaPhi - allowed deviation of the initial direction of particle in phi in respect to direction of the region
Definition at line 51 of file CosmicTrackingRegion.h.
Referenced by clone().
|
inline |
Definition at line 61 of file CosmicTrackingRegion.h.
References edm::ParameterSet::getParameter(), measurementTrackerName_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
utility to check eta/theta hit compatibility with region constraints and outer hit constraint
Implements TrackingRegion.
Definition at line 84 of file CosmicTrackingRegion.h.
|
inlinevirtual |
Implements TrackingRegion.
Definition at line 91 of file CosmicTrackingRegion.h.
References CosmicTrackingRegion().
|
virtual |
get hits from layer compatible with region constraints
Implements TrackingRegion.
Definition at line 27 of file CosmicTrackingRegion.cc.
|
overridevirtual |
Implements TrackingRegion.
Definition at line 34 of file CosmicTrackingRegion.cc.
|
private |
Definition at line 42 of file CosmicTrackingRegion.cc.
References alongMomentum, AnalyticalPropagator_cfi::AnalyticalPropagator, Plane::build(), GeometricSearchDet::compatibleDets(), funct::cos(), dir, PV3DBase< T, PVType, FrameType >::eta(), statics::field, TrajectoryStateOnSurface::freeState(), edm::EventSetup::get(), edm::Event::getByLabel(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogDebug, LayerMeasurements::measurements(), MeasurementTrackerESProducer_cfi::MeasurementTracker, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), edm::ESHandle< class >::product(), query::result, makeMuonMisalignmentScenario::rot, funct::sin(), and GeometricSearchDet::surface().
|
inlinevirtual |
Reimplemented from TrackingRegion.
Definition at line 93 of file CosmicTrackingRegion.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
private |
Definition at line 102 of file CosmicTrackingRegion.h.
Referenced by CosmicTrackingRegion().