CMS 3D CMS Logo

PTrajectoryStateOnDet Class Reference

Persistent version of a TrajectoryStateOnSurface. More...

#include <DataFormats/TrajectoryState/interface/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 (const LocalTrajectoryParameters &param, float errmatrix[15], unsigned int id, int surfaceSide)
 PTrajectoryStateOnDet ()
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().

00015 : theLocalErrors(15) { }

virtual PTrajectoryStateOnDet::~PTrajectoryStateOnDet (  )  [inline, virtual]

Definition at line 16 of file PTrajectoryStateOnDet.h.

00016 {}

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.

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


Member Function Documentation

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

Definition at line 27 of file PTrajectoryStateOnDet.h.

References PTrajectoryStateOnDet().

00027 {return new PTrajectoryStateOnDet( * this); }

const unsigned int PTrajectoryStateOnDet::detId (  )  const [inline]

Definition at line 24 of file PTrajectoryStateOnDet.h.

References theDetId.

Referenced by SiPixelTrackResidualSource::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), MuonTrackAnalyzer::getSeedTSOS(), MuonSeedsAnalyzer::getSeedTSOS(), MuonSeedTrack::getSeedTSOS(), IsGoodSeed(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), VisTrajectorySeedTwig::onNewEvent(), CtfSpecialSeedGenerator::postCheck(), TrackCandidateProducer::produce(), TrackProducerWithSCAssociation::produce(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), DAFTrackProducerAlgorithm::runWithCandidate(), MuonSeedBuilder::SeedMomentum(), MuonSeedBuilder::SeedPosition(), and StartingLayerFinder::startingLayers().

00024 {return theDetId;}

const std::vector<float>& PTrajectoryStateOnDet::errorMatrix (  )  const [inline]

Definition at line 23 of file PTrajectoryStateOnDet.h.

References theLocalErrors.

Referenced by TrackCandidateProducer::produce(), and TrajectoryStateTransform::transientState().

00023 {return theLocalErrors;}

const LocalTrajectoryParameters& PTrajectoryStateOnDet::parameters ( void   )  const [inline]

Definition at line 22 of file PTrajectoryStateOnDet.h.

References theLocalParameters.

Referenced by HLTMuonDQMSource::analyze(), OutInConversionSeedFinder::createSeed(), reco::ElectronPixelSeed::getCharge(), IsGoodSeed(), reco::TrackInfo::localTrackMomentum(), reco::TrackInfo::localTrackPosition(), TrackCandidateProducer::produce(), TrackInfoProducerAlgorithm::run(), InOutConversionTrackFinder::tracks(), and TrajectoryStateTransform::transientState().

00022 {return theLocalParameters;}

const int PTrajectoryStateOnDet::surfaceSide (  )  const [inline]

Definition at line 25 of file PTrajectoryStateOnDet.h.

References theSurfaceSide.

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

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

LocalTrajectoryParameters PTrajectoryStateOnDet::theLocalParameters [private]

Definition at line 31 of file PTrajectoryStateOnDet.h.

Referenced by parameters().

int PTrajectoryStateOnDet::theSurfaceSide [private]

Definition at line 34 of file PTrajectoryStateOnDet.h.

Referenced by surfaceSide().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:28 2009 for CMSSW by  doxygen 1.5.4