CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

SeedFromConsecutiveHits Class Reference

#include <SeedFromConsecutiveHits.h>

List of all members.

Public Types

typedef edm::OwnVector
< TrackingRecHit
recHitContainer

Public Member Functions

bool isValid ()
 SeedFromConsecutiveHits (const SeedingHitSet &hits, const GlobalPoint &vertexPos, const GlobalError &vertexErr, const edm::EventSetup &es, float ptMin, double theBOFFMomentum=-1.0)
TrajectorySeed const & TrajSeed ()
virtual ~SeedFromConsecutiveHits ()

Private Attributes

TrajectorySeedCollection theSeed

Detailed Description

OBSOLETE !!!! USER SeedFromConsecutiveHitsCreator

Definition at line 28 of file SeedFromConsecutiveHits.h.


Member Typedef Documentation

Definition at line 31 of file SeedFromConsecutiveHits.h.


Constructor & Destructor Documentation

SeedFromConsecutiveHits::SeedFromConsecutiveHits ( const SeedingHitSet hits,
const GlobalPoint vertexPos,
const GlobalError vertexErr,
const edm::EventSetup es,
float  ptMin,
double  theBOFFMomentum = -1.0 
) [inline]

Definition at line 33 of file SeedFromConsecutiveHits.h.

References GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), mathSSE::sqrt(), theSeed, and SeedFromConsecutiveHitsCreator::trajectorySeed().

  {
    GlobalTrackingRegion region( ptMin, vertexPos, sqrt(vertexErr.cxx()), sqrt(vertexErr.czz()) );  
    SeedFromConsecutiveHitsCreator creator("PropagatorWithMaterial",theBOFFMomentum);
    theSeed.clear();
    creator.trajectorySeed(theSeed, hits, region, es); 
  } 
virtual SeedFromConsecutiveHits::~SeedFromConsecutiveHits ( ) [inline, virtual]

Definition at line 43 of file SeedFromConsecutiveHits.h.

{};

Member Function Documentation

bool SeedFromConsecutiveHits::isValid ( void  ) [inline]

Definition at line 45 of file SeedFromConsecutiveHits.h.

References theSeed.

{return  theSeed.size()>0 ; }
TrajectorySeed const& SeedFromConsecutiveHits::TrajSeed ( ) [inline]

Definition at line 47 of file SeedFromConsecutiveHits.h.

References theSeed.

{ return theSeed.back(); }

Member Data Documentation

Definition at line 50 of file SeedFromConsecutiveHits.h.

Referenced by isValid(), SeedFromConsecutiveHits(), and TrajSeed().