CMS 3D CMS Logo

Public Member Functions | Private Attributes

PTrajectoryStateOnDet Class Reference

#include <PTrajectoryStateOnDet.h>

List of all members.

Public Member Functions

virtual PTrajectoryStateOnDetclone () const
const unsigned int detId () const
const std::vector< float > & errorMatrix () const
const LocalTrajectoryParametersparameters () const
 PTrajectoryStateOnDet ()
 PTrajectoryStateOnDet (const LocalTrajectoryParameters &param, float errmatrix[15], unsigned int id, int surfaceSide)
const int surfaceSide () const
virtual ~PTrajectoryStateOnDet ()

Private Attributes

unsigned int theDetId
std::vector< float > theLocalErrors
LocalTrajectoryParameters theLocalParameters
int theSurfaceSide

Detailed Description

Persistent version of a TrajectoryStateOnSurface. Stores local trajectory parameters and errors and the id of the Det defining the surface.

Definition at line 12 of file PTrajectoryStateOnDet.h.


Constructor & Destructor Documentation

PTrajectoryStateOnDet::PTrajectoryStateOnDet ( ) [inline]

Definition at line 15 of file PTrajectoryStateOnDet.h.

Referenced by clone().

: theLocalErrors(15) { }
virtual PTrajectoryStateOnDet::~PTrajectoryStateOnDet ( ) [inline, virtual]

Definition at line 16 of file PTrajectoryStateOnDet.h.

{}
PTrajectoryStateOnDet::PTrajectoryStateOnDet ( const LocalTrajectoryParameters param,
float  errmatrix[15],
unsigned int  id,
int  surfaceSide 
)

Definition at line 3 of file PTrajectoryStateOnDet.cc.

References i, and theLocalErrors.

                                                               :
  theLocalParameters( param), 
  theLocalErrors(15),
  theDetId( id),
  theSurfaceSide( surfaceSide)
{
  for (int i=0; i<15; i++) theLocalErrors[i] = errmatrix[i]; // let's try this way
}

Member Function Documentation

virtual PTrajectoryStateOnDet* PTrajectoryStateOnDet::clone ( void  ) const [inline, virtual]

Definition at line 27 of file PTrajectoryStateOnDet.h.

References PTrajectoryStateOnDet().

{return new PTrajectoryStateOnDet( * this); }
const unsigned int PTrajectoryStateOnDet::detId ( ) const [inline]
const std::vector<float>& PTrajectoryStateOnDet::errorMatrix ( ) const [inline]
const LocalTrajectoryParameters& PTrajectoryStateOnDet::parameters ( void  ) const [inline]
const int PTrajectoryStateOnDet::surfaceSide ( ) const [inline]

Definition at line 25 of file PTrajectoryStateOnDet.h.

References theSurfaceSide.

Referenced by display_seed(), and TrajectoryStateTransform::transientState().

{return theSurfaceSide;}

Member Data Documentation

unsigned int PTrajectoryStateOnDet::theDetId [private]

Definition at line 33 of file PTrajectoryStateOnDet.h.

Referenced by detId().

std::vector<float> PTrajectoryStateOnDet::theLocalErrors [private]

Definition at line 32 of file PTrajectoryStateOnDet.h.

Referenced by errorMatrix(), and PTrajectoryStateOnDet().

Definition at line 31 of file PTrajectoryStateOnDet.h.

Referenced by parameters().

Definition at line 34 of file PTrajectoryStateOnDet.h.

Referenced by surfaceSide().