#include <PTrajectoryStateOnDet.h>
Classes | |
struct | DetPack |
union | Pack |
struct | Packing |
Public Member Functions | |
unsigned int | detId () const |
float & | error (int i) |
float | error (int i) const |
bool | hasError () const |
const LocalTrajectoryParameters & | parameters () const |
PTrajectoryStateOnDet () | |
PTrajectoryStateOnDet (const LocalTrajectoryParameters ¶m, unsigned int id, int surfaceSide) | |
PTrajectoryStateOnDet (const LocalTrajectoryParameters ¶m, float errmatrix[15], unsigned int id, int surfaceSide) | |
int | surfaceSide () const |
Private Attributes | |
float | theLocalErrors [15] |
LocalTrajectoryParameters | theLocalParameters |
unsigned int | thePack |
Static Private Attributes | |
static const unsigned int | idMask = 0x3fffffff |
Persistent version of a TrajectoryStateOnSurface. Stores local trajectory parameters and errors and the id of the Det defining the surface.
Definition at line 10 of file PTrajectoryStateOnDet.h.
PTrajectoryStateOnDet::PTrajectoryStateOnDet | ( | ) | [inline] |
Definition at line 42 of file PTrajectoryStateOnDet.h.
{}
PTrajectoryStateOnDet::PTrajectoryStateOnDet | ( | const LocalTrajectoryParameters & | param, |
unsigned int | id, | ||
int | surfaceSide | ||
) | [inline] |
Definition at line 44 of file PTrajectoryStateOnDet.h.
References AlCaHLTBitMon_ParallelJobs::p, PTrajectoryStateOnDet::Pack::packed, theLocalErrors, and thePack.
: theLocalParameters(param) { Pack p(id, surfaceSide); thePack = p.packed; theLocalErrors[0]=-99999.e10; }
PTrajectoryStateOnDet::PTrajectoryStateOnDet | ( | const LocalTrajectoryParameters & | param, |
float | errmatrix[15], | ||
unsigned int | id, | ||
int | surfaceSide | ||
) | [inline] |
Definition at line 54 of file PTrajectoryStateOnDet.h.
References i, AlCaHLTBitMon_ParallelJobs::p, PTrajectoryStateOnDet::Pack::packed, theLocalErrors, and thePack.
: theLocalParameters( param) { Pack p(id, surfaceSide); thePack = p.packed; for (int i=0; i<15; i++) theLocalErrors[i] = errmatrix[i]; }
unsigned int PTrajectoryStateOnDet::detId | ( | ) | const [inline] |
Definition at line 69 of file PTrajectoryStateOnDet.h.
References idMask, and thePack.
Referenced by TestHits::analyze(), SiPixelTrackResidualSource::analyze(), TestSmoothHits::analyze(), MuonSeedSimpleCleaner::checkPt(), display_seed(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), MuonTrackAnalyzer::getSeedTSOS(), MuonSeedsAnalyzer::getSeedTSOS(), MuonSeedTrack::getSeedTSOS(), ConversionSeedFilter::getTSOS(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), CtfSpecialSeedGenerator::postCheck(), PrintRecoObjects::print(), TrackCandidateProducer::produce(), TrackProducerWithSCAssociation::produce(), ConversionSeedFilterCharge::produce(), MuonSeedCleaner::SeedMomentum(), MuonSeedCleaner::SeedPosition(), SeedTransformer::seedTransientState(), StartingLayerFinder::startingLayers(), FastTSGFromPropagation::trackerSeeds(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and StandAloneMuonTrajectoryBuilder::trajectories().
float& PTrajectoryStateOnDet::error | ( | int | i | ) | [inline] |
Definition at line 67 of file PTrajectoryStateOnDet.h.
References i, and theLocalErrors.
Referenced by PrintRecoObjects::print(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and trajectoryStateTransform::transientState().
{return theLocalErrors[i];}
float PTrajectoryStateOnDet::error | ( | int | i | ) | const [inline] |
Definition at line 68 of file PTrajectoryStateOnDet.h.
References i, and theLocalErrors.
{return theLocalErrors[i];}
bool PTrajectoryStateOnDet::hasError | ( | void | ) | const [inline] |
Definition at line 66 of file PTrajectoryStateOnDet.h.
References theLocalErrors.
Referenced by trajectoryStateTransform::transientState().
{ return theLocalErrors[0] > -1.e10; }
const LocalTrajectoryParameters& PTrajectoryStateOnDet::parameters | ( | void | ) | const [inline] |
Definition at line 65 of file PTrajectoryStateOnDet.h.
References theLocalParameters.
Referenced by MuonSeedSimpleCleaner::checkPt(), OutInConversionSeedFinder::createSeed(), display_seed(), reco::ElectronSeed::getCharge(), ConversionSeedFilter::getTSOS(), reco::TrackInfo::localTrackMomentum(), reco::TrackInfo::localTrackPosition(), PrintRecoObjects::print(), TrackCandidateProducer::produce(), TrackInfoProducerAlgorithm::run(), InOutConversionTrackFinder::tracks(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and trajectoryStateTransform::transientState().
{return theLocalParameters;}
int PTrajectoryStateOnDet::surfaceSide | ( | ) | const [inline] |
Definition at line 72 of file PTrajectoryStateOnDet.h.
References AlCaHLTBitMon_ParallelJobs::p, PTrajectoryStateOnDet::Pack::side(), and thePack.
Referenced by display_seed(), PTrajectoryStateOnDet::Pack::Pack(), and trajectoryStateTransform::transientState().
const unsigned int PTrajectoryStateOnDet::idMask = 0x3fffffff [static, private] |
Definition at line 13 of file PTrajectoryStateOnDet.h.
Referenced by detId(), and PTrajectoryStateOnDet::Pack::id().
float PTrajectoryStateOnDet::theLocalErrors[15] [private] |
Definition at line 80 of file PTrajectoryStateOnDet.h.
Referenced by error(), hasError(), and PTrajectoryStateOnDet().
Definition at line 79 of file PTrajectoryStateOnDet.h.
Referenced by parameters().
unsigned int PTrajectoryStateOnDet::thePack [private] |
Definition at line 81 of file PTrajectoryStateOnDet.h.
Referenced by detId(), PTrajectoryStateOnDet(), and surfaceSide().