#include <BeamSpot.h>
Public Types | |
enum | { dimension = 7 } |
enum | { dim3 = 3 } |
enum | { resdim = 2 } |
enum | BeamType { Unknown =-1, Fake =0, LHC =1, Tracker =2 } |
beam spot flags More... | |
typedef math::Error< dim3 >::type | Covariance3DMatrix |
typedef math::Error< dimension > ::type | CovarianceMatrix |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::Error< resdim >::type | ResCovMatrix |
Public Member Functions | |
BeamSpot () | |
default constructor More... | |
BeamSpot (const Point &point, double sigmaZ, double dxdz, double dydz, double BeamWidthX, const CovarianceMatrix &error, BeamType type=Unknown) | |
constructor from values More... | |
double | beamWidthFromBeta (double z, double e) const |
double | BeamWidthX () const |
beam width X More... | |
double | BeamWidthXError () const |
error on beam width X, assume error in X = Y More... | |
double | BeamWidthY () const |
beam width Y More... | |
double | BeamWidthYError () const |
error on beam width Y, assume error in X = Y More... | |
double | betaStar () const |
double | covariance (int i, int j) const |
(i,j)-th element of error matrix More... | |
CovarianceMatrix | covariance () const |
return full covariance matrix of dim 7 More... | |
Covariance3DMatrix | covariance3D () const |
return only 3D position covariance matrix More... | |
double | dxdz () const |
dxdz slope More... | |
double | dxdzError () const |
error on dxdz More... | |
double | dydz () const |
dydz slope More... | |
double | dydzError () const |
error on dydz More... | |
double | emittanceX () const |
additional information More... | |
double | emittanceY () const |
const Point & | position () const |
position More... | |
const Point | position (const double z) const |
position of the beam spot at a given z value (it takes into account the dxdz and dydz slopes) More... | |
void | print (std::stringstream &ss) const |
print information More... | |
Covariance3DMatrix | rotatedCovariance3D () const |
void | setBeamWidthX (double v) |
void | setBeamWidthY (double v) |
void | setbetaStar (double v) |
void | setEmittanceX (double v) |
void | setEmittanceY (double v) |
void | setType (BeamType type) |
set beam type More... | |
double | sigmaZ () const |
sigma z More... | |
double | sigmaZ0Error () const |
error on sigma z More... | |
BeamType | type () const |
return beam type More... | |
double | x (const double z) const |
x coordinate of the beeam spot position at a given z value (it takes into account the dxdz slope) More... | |
double | x0 () const |
x coordinate More... | |
double | x0Error () const |
error on x More... | |
double | y (const double z) const |
y coordinate of the beeam spot position at a given z value (it takes into account the dydz slope) More... | |
double | y0 () const |
y coordinate More... | |
double | y0Error () const |
error on y More... | |
double | z0 () const |
z coordinate More... | |
double | z0Error () const |
error on z More... | |
Private Attributes | |
Double32_t | BeamWidthX_ |
Double32_t | BeamWidthY_ |
Double32_t | betaStar_ |
Double32_t | dxdz_ |
Double32_t | dydz_ |
Double32_t | emittanceX_ |
Double32_t | emittanceY_ |
CovarianceMatrix | error_ |
errors More... | |
Point | position_ |
position More... | |
Double32_t | sigmaZ_ |
BeamType | type_ |
Reconstructed beam spot object which provides position, error, and width of the beam position.
Definition at line 22 of file BeamSpot.h.
Definition at line 33 of file BeamSpot.h.
Definition at line 31 of file BeamSpot.h.
typedef math::XYZPoint reco::BeamSpot::Point |
point in the space
Definition at line 29 of file BeamSpot.h.
typedef math::Error<resdim>::type reco::BeamSpot::ResCovMatrix |
Definition at line 35 of file BeamSpot.h.
anonymous enum |
anonymous enum |
anonymous enum |
beam spot flags
Enumerator | |
---|---|
Unknown | |
Fake | |
LHC | |
Tracker |
Definition at line 26 of file BeamSpot.h.
reco::BeamSpot::BeamSpot | ( | ) |
default constructor
Definition at line 24 of file BeamSpot.cc.
References j, relval_2017::k, and Unknown.
|
inline |
constructor from values
Definition at line 41 of file BeamSpot.h.
References BeamWidthX(), BeamWidthX_, BeamWidthY_, betaStar_, dxdz(), dxdz_, dydz(), dydz_, emittanceX_, emittanceY_, relativeConstraints::error, error_, point, position_, sigmaZ(), sigmaZ_, type(), and type_.
|
inline |
Definition at line 139 of file BeamSpot.h.
References betaStar_, position_, funct::pow(), and mathSSE::sqrt().
|
inline |
beam width X
Definition at line 86 of file BeamSpot.h.
References BeamWidthX_.
Referenced by BeamSpot(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), HIBestVertexProducer::produce(), and HIProtoTrackSelector::select().
|
inline |
error on beam width X, assume error in X = Y
Definition at line 103 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
|
inline |
beam width Y
Definition at line 88 of file BeamSpot.h.
References BeamWidthY_.
Referenced by BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), HIBestVertexProducer::produce(), and HIProtoTrackSelector::select().
|
inline |
error on beam width Y, assume error in X = Y
Definition at line 105 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
|
inline |
|
inline |
|
inline |
return full covariance matrix of dim 7
Definition at line 116 of file BeamSpot.h.
References error_.
|
inline |
return only 3D position covariance matrix
Definition at line 118 of file BeamSpot.h.
References error_, j, relval_2017::k, and makeMuonMisalignmentScenario::matrix.
|
inline |
dxdz slope
Definition at line 82 of file BeamSpot.h.
References dxdz_.
Referenced by BeamSpot(), and x().
|
inline |
|
inline |
dydz slope
Definition at line 84 of file BeamSpot.h.
References dydz_.
Referenced by BeamSpot(), and y().
|
inline |
|
inline |
|
inline |
|
inline |
position
Definition at line 62 of file BeamSpot.h.
References position_.
Referenced by ElectronGeneralAnalyzer::analyze(), TwoBodyDecayVirtualMeasurement::beamSpotPosition(), ConversionSeedFinder::findLayers(), HIProtoTrackFilter::operator()(), HIBestVertexProducer::produce(), pat::PATConversionProducer::produce(), and HIProtoTrackSelector::select().
const BeamSpot::Point reco::BeamSpot::position | ( | const double | z | ) | const |
position of the beam spot at a given z value (it takes into account the dxdz and dydz slopes)
Definition at line 42 of file BeamSpot.cc.
References x().
void reco::BeamSpot::print | ( | std::stringstream & | ss | ) | const |
print information
Definition at line 50 of file BeamSpot.cc.
Referenced by reco::operator<<().
BeamSpot::Covariance3DMatrix reco::BeamSpot::rotatedCovariance3D | ( | ) | const |
Definition at line 78 of file BeamSpot.cc.
References makeMuonMisalignmentScenario::matrix, funct::pow(), idealTransformation::rotation, TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by GsfConstraintAtVertex::constrainAtBeamSpot(), and TrajectoryStateClosestToBeamLine::transverseImpactParameter().
|
inline |
|
inline |
Definition at line 109 of file BeamSpot.h.
References BeamWidthY_, and findQualityFiles::v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and BeamSpotOnlineProducer::produce().
|
inline |
Definition at line 145 of file BeamSpot.h.
References betaStar_, and findQualityFiles::v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and BeamSpotOnlineProducer::produce().
|
inline |
Definition at line 143 of file BeamSpot.h.
References emittanceX_, and findQualityFiles::v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and BeamSpotOnlineProducer::produce().
|
inline |
Definition at line 144 of file BeamSpot.h.
References emittanceY_, and findQualityFiles::v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and BeamSpotOnlineProducer::produce().
|
inline |
set beam type
Definition at line 131 of file BeamSpot.h.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlockProduce(), and BeamSpotOnlineProducer::produce().
|
inline |
sigma z
Definition at line 80 of file BeamSpot.h.
References sigmaZ_.
Referenced by BeamSpot(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), HIBestVertexProducer::produce(), GlobalTrackingRegionProducerFromBeamSpot::regions(), and GlobalTrackingRegionWithVerticesProducer::regions().
|
inline |
|
inline |
return beam type
Definition at line 129 of file BeamSpot.h.
References type_.
Referenced by BeamSpot(), and setType().
|
inline |
x coordinate of the beeam spot position at a given z value (it takes into account the dxdz slope)
Definition at line 71 of file BeamSpot.h.
References dxdz(), x0(), and z0().
|
inline |
x coordinate
Definition at line 64 of file BeamSpot.h.
References position_.
Referenced by BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), GsfConstraintAtVertex::constrainAtBeamSpot(), HIBestVertexProducer::produce(), MuonSeedGenerator::produce(), GlobalTrackingRegionProducerFromBeamSpot::regions(), GlobalTrackingRegionWithVerticesProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), HIProtoTrackFilter::update(), x(), and FWBeamSpot::x0().
|
inline |
error on x
Definition at line 90 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), and FWBeamSpot::x0Error().
|
inline |
y coordinate of the beeam spot position at a given z value (it takes into account the dydz slope)
Definition at line 73 of file BeamSpot.h.
References dydz(), y0(), and z0().
|
inline |
y coordinate
Definition at line 66 of file BeamSpot.h.
References position_.
Referenced by BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), GsfConstraintAtVertex::constrainAtBeamSpot(), HIBestVertexProducer::produce(), MuonSeedGenerator::produce(), GlobalTrackingRegionProducerFromBeamSpot::regions(), GlobalTrackingRegionWithVerticesProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), HIProtoTrackFilter::update(), y(), and FWBeamSpot::y0().
|
inline |
error on y
Definition at line 92 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), and FWBeamSpot::y0Error().
|
inline |
z coordinate
Definition at line 68 of file BeamSpot.h.
References position_.
Referenced by BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), GsfConstraintAtVertex::constrainAtBeamSpot(), MuonSeedGenerator::produce(), GlobalTrackingRegionProducerFromBeamSpot::regions(), GlobalTrackingRegionWithVerticesProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), HIProtoTrackFilter::update(), x(), y(), and FWBeamSpot::z0().
|
inline |
error on z
Definition at line 94 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), and FWBeamSpot::z0Error().
|
private |
Definition at line 157 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthX(), and setBeamWidthX().
|
private |
Definition at line 158 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthY(), and setBeamWidthY().
|
private |
Definition at line 163 of file BeamSpot.h.
Referenced by BeamSpot(), beamWidthFromBeta(), betaStar(), and setbetaStar().
|
private |
Definition at line 159 of file BeamSpot.h.
Referenced by BeamSpot(), and dxdz().
|
private |
Definition at line 160 of file BeamSpot.h.
Referenced by BeamSpot(), and dydz().
|
private |
Definition at line 161 of file BeamSpot.h.
Referenced by BeamSpot(), emittanceX(), and setEmittanceX().
|
private |
Definition at line 162 of file BeamSpot.h.
Referenced by BeamSpot(), emittanceY(), and setEmittanceY().
|
private |
errors
Definition at line 154 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthXError(), BeamWidthYError(), covariance(), covariance3D(), dxdzError(), dydzError(), sigmaZ0Error(), x0Error(), y0Error(), and z0Error().
|
private |
position
Definition at line 152 of file BeamSpot.h.
Referenced by BeamSpot(), beamWidthFromBeta(), position(), x0(), y0(), and z0().
|
private |
Definition at line 156 of file BeamSpot.h.
Referenced by BeamSpot(), and sigmaZ().
|
private |
Definition at line 165 of file BeamSpot.h.
Referenced by BeamSpot(), RandomRunSource.RandomRunSource::insertInto(), setType(), and type().