#include <GsfTrackExtra.h>
Public Types | |
enum | { dimension = 5 } |
parameter dimension More... | |
typedef math::Error< dimension > ::type | LocalCovarianceMatrix |
local covariance matrix | |
typedef math::Vector < dimension >::type | LocalParameterVector |
local parameter vector | |
typedef math::XYZPoint | Point |
point in the space | |
typedef math::XYZVector | Vector |
spatial vector | |
Public Member Functions | |
GsfTrackExtra () | |
default constructor | |
GsfTrackExtra (const std::vector< GsfComponent5D > &outerStates, const double &outerLocalPzSign, const std::vector< GsfComponent5D > &innerStates, const double &innerLocalPzSign, const std::vector< GsfTangent > &tangents) | |
constructor from outermost position and momentum | |
std::vector < LocalCovarianceMatrix > | innerStateCovariances () const |
local covariance matrices at innermost state | |
std::vector< LocalParameterVector > | innerStateLocalParameters () const |
local parameters at innermost state | |
double | innerStateLocalPzSign () const |
sign of local P_z at innermost state | |
std::vector< double > | innerStateWeights () const |
weights at innermost state | |
std::vector < LocalCovarianceMatrix > | outerStateCovariances () const |
local covariance matrices at outermost state | |
std::vector< LocalParameterVector > | outerStateLocalParameters () const |
local parameters at outermost state | |
double | outerStateLocalPzSign () const |
sign of local P_z at outermost state | |
std::vector< double > | outerStateWeights () const |
weights at outermost state | |
Measurement1D | tangentDeltaP (unsigned int index) const |
deltaP for tangent | |
const Vector & | tangentMomentum (unsigned int index) const |
global momentum for tangent | |
const Point & | tangentPosition (unsigned int index) const |
global position for tangent | |
const std::vector< GsfTangent > & | tangents () const |
access to tangent information | |
unsigned int | tangentsSize () const |
number of objects with information for tangents to the electron track | |
Private Member Functions | |
std::vector < LocalCovarianceMatrix > | covariances (const std::vector< GsfComponent5D > &states) const |
extract covariance matrices from states | |
std::vector< LocalParameterVector > | parameters (const std::vector< GsfComponent5D > &states) const |
extract parameters from states | |
std::vector< double > | weights (const std::vector< GsfComponent5D > &states) const |
extract weights from states | |
Private Attributes | |
std::vector< GsfComponent5D > | innerStates_ |
states at innermost point | |
std::vector< GsfComponent5D > | outerStates_ |
states at outermost point | |
bool | positiveInnerStatePz_ |
positive sign of P_z(local) at innermost State? | |
bool | positiveOuterStatePz_ |
positive sign of P_z(local) at outermost State? | |
std::vector< GsfTangent > | tangents_ |
information for tangents |
Definition at line 16 of file GsfTrackExtra.h.
typedef math::Error<dimension>::type reco::GsfTrackExtra::LocalCovarianceMatrix |
local covariance matrix
Definition at line 23 of file GsfTrackExtra.h.
typedef math::Vector<dimension>::type reco::GsfTrackExtra::LocalParameterVector |
local parameter vector
Definition at line 21 of file GsfTrackExtra.h.
point in the space
Definition at line 25 of file GsfTrackExtra.h.
spatial vector
Definition at line 27 of file GsfTrackExtra.h.
anonymous enum |
reco::GsfTrackExtra::GsfTrackExtra | ( | ) | [inline] |
GsfTrackExtra::GsfTrackExtra | ( | const std::vector< GsfComponent5D > & | outerStates, |
const double & | outerLocalPzSign, | ||
const std::vector< GsfComponent5D > & | innerStates, | ||
const double & | innerLocalPzSign, | ||
const std::vector< GsfTangent > & | tangents | ||
) |
constructor from outermost position and momentum
Definition at line 4 of file GsfTrackExtra.cc.
: outerStates_(outerStates), positiveOuterStatePz_(outerLocalPzSign>0.), innerStates_(innerStates), positiveInnerStatePz_(innerLocalPzSign>0.), tangents_(tangents) {}
std::vector< GsfTrackExtra::LocalCovarianceMatrix > GsfTrackExtra::covariances | ( | const std::vector< GsfComponent5D > & | states | ) | const [private] |
extract covariance matrices from states
Definition at line 38 of file GsfTrackExtra.cc.
References i, and query::result.
Referenced by innerStateCovariances(), and outerStateCovariances().
std::vector<LocalCovarianceMatrix> reco::GsfTrackExtra::innerStateCovariances | ( | ) | const [inline] |
local covariance matrices at innermost state
Definition at line 58 of file GsfTrackExtra.h.
References covariances(), and innerStates_.
{ return covariances(innerStates_); }
std::vector<LocalParameterVector> reco::GsfTrackExtra::innerStateLocalParameters | ( | ) | const [inline] |
local parameters at innermost state
Definition at line 54 of file GsfTrackExtra.h.
References innerStates_, and parameters().
{ return parameters(innerStates_); }
double reco::GsfTrackExtra::innerStateLocalPzSign | ( | ) | const [inline] |
sign of local P_z at innermost state
Definition at line 50 of file GsfTrackExtra.h.
References positiveInnerStatePz_.
{return positiveInnerStatePz_ ? 1. : -1.;}
std::vector<double> reco::GsfTrackExtra::innerStateWeights | ( | ) | const [inline] |
weights at innermost state
Definition at line 52 of file GsfTrackExtra.h.
References innerStates_, and weights().
{ return weights(innerStates_); }
std::vector<LocalCovarianceMatrix> reco::GsfTrackExtra::outerStateCovariances | ( | ) | const [inline] |
local covariance matrices at outermost state
Definition at line 46 of file GsfTrackExtra.h.
References covariances(), and outerStates_.
{ return covariances(outerStates_); }
std::vector<LocalParameterVector> reco::GsfTrackExtra::outerStateLocalParameters | ( | ) | const [inline] |
local parameters at outermost state
Definition at line 42 of file GsfTrackExtra.h.
References outerStates_, and parameters().
{ return parameters(outerStates_); }
double reco::GsfTrackExtra::outerStateLocalPzSign | ( | ) | const [inline] |
sign of local P_z at outermost state
Definition at line 38 of file GsfTrackExtra.h.
References positiveOuterStatePz_.
{return positiveOuterStatePz_ ? 1. : -1.;}
std::vector<double> reco::GsfTrackExtra::outerStateWeights | ( | ) | const [inline] |
weights at outermost state
Definition at line 40 of file GsfTrackExtra.h.
References outerStates_, and weights().
{ return weights(outerStates_); }
std::vector< GsfTrackExtra::LocalParameterVector > GsfTrackExtra::parameters | ( | const std::vector< GsfComponent5D > & | states | ) | const [private] |
extract parameters from states
Definition at line 26 of file GsfTrackExtra.cc.
References i, and query::result.
Referenced by innerStateLocalParameters(), and outerStateLocalParameters().
Measurement1D reco::GsfTrackExtra::tangentDeltaP | ( | unsigned int | index | ) | const [inline] |
deltaP for tangent
Definition at line 76 of file GsfTrackExtra.h.
References getHLTprescales::index, and tangents_.
const Vector& reco::GsfTrackExtra::tangentMomentum | ( | unsigned int | index | ) | const [inline] |
global momentum for tangent
Definition at line 72 of file GsfTrackExtra.h.
References getHLTprescales::index, and tangents_.
const Point& reco::GsfTrackExtra::tangentPosition | ( | unsigned int | index | ) | const [inline] |
global position for tangent
Definition at line 68 of file GsfTrackExtra.h.
References getHLTprescales::index, and tangents_.
const std::vector<GsfTangent>& reco::GsfTrackExtra::tangents | ( | ) | const [inline] |
access to tangent information
Definition at line 64 of file GsfTrackExtra.h.
References tangents_.
{ return tangents_; }
unsigned int reco::GsfTrackExtra::tangentsSize | ( | ) | const [inline] |
number of objects with information for tangents to the electron track
Definition at line 62 of file GsfTrackExtra.h.
References tangents_.
{return tangents_.size();}
std::vector< double > GsfTrackExtra::weights | ( | const std::vector< GsfComponent5D > & | states | ) | const [private] |
extract weights from states
Definition at line 14 of file GsfTrackExtra.cc.
References i, and query::result.
Referenced by innerStateWeights(), and outerStateWeights().
std::vector<GsfComponent5D> reco::GsfTrackExtra::innerStates_ [private] |
states at innermost point
Definition at line 94 of file GsfTrackExtra.h.
Referenced by innerStateCovariances(), innerStateLocalParameters(), and innerStateWeights().
std::vector<GsfComponent5D> reco::GsfTrackExtra::outerStates_ [private] |
states at outermost point
Definition at line 90 of file GsfTrackExtra.h.
Referenced by outerStateCovariances(), outerStateLocalParameters(), and outerStateWeights().
bool reco::GsfTrackExtra::positiveInnerStatePz_ [private] |
positive sign of P_z(local) at innermost State?
Definition at line 96 of file GsfTrackExtra.h.
Referenced by innerStateLocalPzSign().
bool reco::GsfTrackExtra::positiveOuterStatePz_ [private] |
positive sign of P_z(local) at outermost State?
Definition at line 92 of file GsfTrackExtra.h.
Referenced by outerStateLocalPzSign().
std::vector<GsfTangent> reco::GsfTrackExtra::tangents_ [private] |
information for tangents
Definition at line 98 of file GsfTrackExtra.h.
Referenced by tangentDeltaP(), tangentMomentum(), tangentPosition(), tangents(), and tangentsSize().