#include <DataFormats/TrajectoryState/interface/PTrajectoryStateOnDet.h>
Public Member Functions | |
virtual PTrajectoryStateOnDet * | clone () const |
const unsigned int | detId () const |
const std::vector< float > & | errorMatrix () const |
const LocalTrajectoryParameters & | parameters () const |
PTrajectoryStateOnDet (const LocalTrajectoryParameters ¶m, 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 |
Stores local trajectory parameters and errors and the id of the Det defining the surface.
Definition at line 12 of file PTrajectoryStateOnDet.h.
PTrajectoryStateOnDet::PTrajectoryStateOnDet | ( | ) | [inline] |
Definition at line 15 of file PTrajectoryStateOnDet.h.
Referenced by clone().
00015 : theLocalErrors(15) { }
virtual PTrajectoryStateOnDet::~PTrajectoryStateOnDet | ( | ) | [inline, virtual] |
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 }
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;}
unsigned int PTrajectoryStateOnDet::theDetId [private] |
std::vector<float> PTrajectoryStateOnDet::theLocalErrors [private] |
Definition at line 32 of file PTrajectoryStateOnDet.h.
Referenced by errorMatrix(), and PTrajectoryStateOnDet().
int PTrajectoryStateOnDet::theSurfaceSide [private] |