CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
SeedFromConsecutiveHits Class Reference

#include <SeedFromConsecutiveHits.h>

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().

36  {
37  GlobalTrackingRegion region( ptMin, vertexPos, sqrt(vertexErr.cxx()), sqrt(vertexErr.czz()) );
38  SeedFromConsecutiveHitsCreator creator("PropagatorWithMaterial",theBOFFMomentum);
39  theSeed.clear();
40  creator.trajectorySeed(theSeed, hits, region, es);
41  }
TrajectorySeedCollection theSeed
T sqrt(T t)
Definition: SSEVec.h:28
virtual SeedFromConsecutiveHits::~SeedFromConsecutiveHits ( )
inlinevirtual

Definition at line 43 of file SeedFromConsecutiveHits.h.

43 {};

Member Function Documentation

bool SeedFromConsecutiveHits::isValid ( void  )
inline

Definition at line 45 of file SeedFromConsecutiveHits.h.

References theSeed.

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

Definition at line 47 of file SeedFromConsecutiveHits.h.

References theSeed.

47 { return theSeed.back(); }
TrajectorySeedCollection theSeed

Member Data Documentation

TrajectorySeedCollection SeedFromConsecutiveHits::theSeed
private

Definition at line 50 of file SeedFromConsecutiveHits.h.

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