CMS 3D CMS Logo

Public Types | Public Member Functions

GeometricSearchDetWithGroups Class Reference

#include <GeometricSearchDet.h>

Inheritance diagram for GeometricSearchDetWithGroups:
GeometricSearchDet PixelBarrelLayer PixelBlade PixelForwardLayer TECLayer TECPetal TECWedge TIBLayer TIBRing TIDLayer TIDRing TOBLayer TOBRod

List of all members.

Public Types

typedef
GeometricSearchDet::DetWithState 
DetWithState

Public Member Functions

void compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const
bool hasGroups () const

Detailed Description

Definition at line 113 of file GeometricSearchDet.h.


Member Typedef Documentation

Reimplemented from GeometricSearchDet.

Definition at line 115 of file GeometricSearchDet.h.


Member Function Documentation

void GeometricSearchDetWithGroups::compatibleDetsV ( const TrajectoryStateOnSurface startingState,
const Propagator prop,
const MeasurementEstimator est,
std::vector< DetWithState > &  result 
) const [virtual]

Reimplemented from GeometricSearchDet.

Definition at line 46 of file GeometricSearchDet.cc.

References GeometricSearchDet::groupedCompatibleDetsV().

                                                                                     {
  
  // standard implementation of compatibleDets() for class which have 
  // groupedCompatibleDets implemented.
  
  std::vector<DetGroup> vectorGroups;
  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
      itDG!=vectorGroups.end();itDG++){
    for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
        itDGE!=itDG->end();itDGE++){
      result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
    }
  }
}
bool GeometricSearchDetWithGroups::hasGroups ( ) const [inline, virtual]

Implements GeometricSearchDet.

Definition at line 123 of file GeometricSearchDet.h.

{return true;}