1 #ifndef TrackingRegion_H 2 #define TrackingRegion_H 52 const Range & invPtRange,
53 const float & originRBound,
54 const float & originZBound)
55 : theDirection( direction), theUnitDirection(direction.
unit()), theVertexPos( originPos),
56 theInvPtRange( invPtRange), thePhi(direction.
barePhi()),
58 theVertexRBound( originRBound),
59 theVertexZBound( originZBound) { }
81 float ptMin()
const {
return thePtMin;}
93 float lr=0,
float gz=0,
float dr=0,
float dz=0)
const = 0;
102 const float & originRBound,
const float & originZBound)
const {
114 std::ostringstream
str;
115 str <<
name() <<
" dir:"<<theDirection<<
" vtx:"<<theVertexPos
116 <<
" dr:"<<theVertexRBound<<
" dz:"<<theVertexZBound<<
" pt:"<<1./theInvPtRange.max();
float originRBound() const
bounds the particle vertex in the transverse plane
GlobalPoint const & origin() const
GlobalVector theUnitDirection
GlobalVector theDirection
TrackingRegion(const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound)
BaseTrackerRecHit const * ConstRecHitPointer
virtual ~TrackingRegion()
GlobalVector const & direction() const
the direction around which region is constructed
PixelRecoRange< float > Range
Abs< T >::type abs(const T &t)
EventID const & min(EventID const &lh, EventID const &rh)
TrackingRegion * restrictedRegion(const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const
clone region with new vertex position
virtual std::string name() const
float phiDirection() const
float originZBound() const
bounds the particle vertex in the longitudinal plane
SeedingLayerSetsHits::ConstRecHitPointer Hit
GlobalVector const & unitDirection() const
std::vector< ConstRecHitPointer > Hits
SeedingLayerSetsHits::Hits Hits
float ptMin() const
minimal pt of interest
virtual std::string print() const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Range invPtRange() const
inverse pt range
EventID const & max(EventID const &lh, EventID const &rh)