#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 | |
typedef math::Error< resdim >::type | ResCovMatrix |
Public Member Functions | |
BeamSpot () | |
default constructor | |
BeamSpot (const Point &point, double sigmaZ, double dxdz, double dydz, double BeamWidthX, const CovarianceMatrix &error, BeamType type=Unknown) | |
constructor from values | |
double | beamWidthFromBeta (double z, double e) const |
double | BeamWidthX () const |
beam width X | |
double | BeamWidthXError () const |
error on beam width X, assume error in X = Y | |
double | BeamWidthY () const |
beam width Y | |
double | BeamWidthYError () const |
error on beam width Y, assume error in X = Y | |
double | betaStar () const |
double | covariance (int i, int j) const |
(i,j)-th element of error matrix | |
CovarianceMatrix | covariance () const |
return full covariance matrix of dim 7 | |
Covariance3DMatrix | covariance3D () const |
return only 3D position covariance matrix | |
double | dxdz () const |
dxdz slope | |
double | dxdzError () const |
error on dxdz | |
double | dydz () const |
dydz slope | |
double | dydzError () const |
error on dydz | |
double | emittanceX () const |
additional information | |
double | emittanceY () const |
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) | |
const Point & | position () const |
position | |
void | print (std::stringstream &ss) const |
print information | |
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 | |
double | sigmaZ () const |
sigma z | |
double | sigmaZ0Error () const |
error on sigma z | |
BeamType | type () const |
return beam type | |
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) | |
double | x0 () const |
x coordinate | |
double | x0Error () const |
error on x | |
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) | |
double | y0 () const |
y coordinate | |
double | y0Error () const |
error on y | |
double | z0 () const |
z coordinate | |
double | z0Error () const |
error on z | |
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 | |
Point | position_ |
position | |
Double32_t | sigmaZ_ |
BeamType | type_ |
Reconstructed beam spot object which provides position, error, and width of the beam position.
Definition at line 23 of file BeamSpot.h.
typedef math::Error<dim3>::type reco::BeamSpot::Covariance3DMatrix |
Definition at line 34 of file BeamSpot.h.
typedef math::Error<dimension>::type reco::BeamSpot::CovarianceMatrix |
Definition at line 32 of file BeamSpot.h.
typedef math::XYZPoint reco::BeamSpot::Point |
point in the space
Definition at line 30 of file BeamSpot.h.
typedef math::Error<resdim>::type reco::BeamSpot::ResCovMatrix |
Definition at line 36 of file BeamSpot.h.
anonymous enum |
anonymous enum |
anonymous enum |
reco::BeamSpot::BeamSpot | ( | ) |
default constructor
Definition at line 25 of file BeamSpot.cc.
reco::BeamSpot::BeamSpot | ( | const Point & | point, |
double | sigmaZ, | ||
double | dxdz, | ||
double | dydz, | ||
double | BeamWidthX, | ||
const CovarianceMatrix & | error, | ||
BeamType | type = Unknown |
||
) | [inline] |
constructor from values
Definition at line 42 of file BeamSpot.h.
References BeamWidthX(), BeamWidthX_, BeamWidthY_, betaStar_, dxdz(), dxdz_, dydz(), dydz_, emittanceX_, emittanceY_, error, error_, point, position_, sigmaZ(), sigmaZ_, type(), and type_.
{ position_ = point; sigmaZ_ = sigmaZ; dxdz_ = dxdz; dydz_ = dydz; BeamWidthX_ = BeamWidthX; BeamWidthY_ = BeamWidthX; error_ = error; type_ = type; emittanceX_ = emittanceY_ = 0; betaStar_ = 0; };
double reco::BeamSpot::beamWidthFromBeta | ( | double | z, |
double | e | ||
) | const [inline] |
Definition at line 140 of file BeamSpot.h.
References betaStar_, position_, funct::pow(), and mathSSE::sqrt().
double reco::BeamSpot::BeamWidthX | ( | ) | const [inline] |
beam width X
Definition at line 87 of file BeamSpot.h.
References BeamWidthX_.
Referenced by PrimaryVertexAnalyzer4PU::analyze(), PrimaryVertexMonitor::analyze(), RecoMuonValidator::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), BeamSpot(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), BeamFitter::dumpBWTxtFile(), BeamFitter::dumpTxtFile(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BSFitter::Fit(), BeamMonitor::FitAndFill(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), KFBasedPixelFitter::MyBeamSpotHit::MyBeamSpotHit(), PrimaryVertexAnalyzer4PU::printPVTrks(), HIBestVertexProducer::produce(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), HIProtoTrackSelector::select(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), BeamMonitorBx::weight(), and BeamFitter::write2DB().
{ return BeamWidthX_; }
double reco::BeamSpot::BeamWidthXError | ( | ) | const [inline] |
error on beam width X, assume error in X = Y
Definition at line 104 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by BeamFitter::dumpBWTxtFile(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), and BeamMonitorBx::weight().
double reco::BeamSpot::BeamWidthY | ( | ) | const [inline] |
beam width Y
Definition at line 89 of file BeamSpot.h.
References BeamWidthY_.
Referenced by PrimaryVertexAnalyzer4PU::analyze(), PrimaryVertexMonitor::analyze(), RecoMuonValidator::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), BeamFitter::dumpTxtFile(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), PrimaryVertexAnalyzer4PU::printPVTrks(), HIBestVertexProducer::produce(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), HIProtoTrackSelector::select(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), BeamMonitorBx::weight(), and BeamFitter::write2DB().
{ return BeamWidthY_; }
double reco::BeamSpot::BeamWidthYError | ( | ) | const [inline] |
error on beam width Y, assume error in X = Y
Definition at line 106 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), and BeamMonitorBx::weight().
double reco::BeamSpot::betaStar | ( | ) | const [inline] |
Definition at line 139 of file BeamSpot.h.
References betaStar_.
Referenced by BeamFitter::dumpTxtFile().
{ return betaStar_; }
double reco::BeamSpot::covariance | ( | int | i, |
int | j | ||
) | const [inline] |
(i,j)-th element of error matrix
Definition at line 113 of file BeamSpot.h.
References error_.
Referenced by BeamFitter::dumpTxtFile(), BSFitter::Fit(), BeamFitter::runPVandTrkFitter(), and BeamFitter::write2DB().
CovarianceMatrix reco::BeamSpot::covariance | ( | void | ) | const [inline] |
return full covariance matrix of dim 7
Definition at line 117 of file BeamSpot.h.
References error_.
{ return error_; }
Covariance3DMatrix reco::BeamSpot::covariance3D | ( | ) | const [inline] |
return only 3D position covariance matrix
Definition at line 119 of file BeamSpot.h.
References error_, j, gen::k, and makeMuonMisalignmentScenario::matrix.
Referenced by pat::PATElectronProducer::embedHighLevel().
double reco::BeamSpot::dxdz | ( | ) | const [inline] |
dxdz slope
Definition at line 83 of file BeamSpot.h.
References dxdz_.
Referenced by PrimaryVertexMonitor::analyze(), BeamSpot(), ReferenceTrajectory::construct(), BeamFitter::dumpTxtFile(), GsfTrackProducerBase::fillMode(), BSFitter::Fit(), BeamMonitor::FitAndFill(), HLTDisplacedmumuFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuFilter::hltFilter(), HLTmmkkFilter::hltFilter(), PixelVertexProducer::produce(), SteppingHelixPropagator::propagateWithPath(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), PrimaryVertexMonitor::vertexPlots(), BeamMonitorBx::weight(), BeamFitter::write2DB(), and x().
{ return dxdz_; }
double reco::BeamSpot::dxdzError | ( | ) | const [inline] |
error on dxdz
Definition at line 99 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), and BeamMonitorBx::weight().
double reco::BeamSpot::dydz | ( | ) | const [inline] |
dydz slope
Definition at line 85 of file BeamSpot.h.
References dydz_.
Referenced by PrimaryVertexMonitor::analyze(), BeamSpot(), ReferenceTrajectory::construct(), BeamFitter::dumpTxtFile(), GsfTrackProducerBase::fillMode(), BSFitter::Fit(), BeamMonitor::FitAndFill(), HLTDisplacedmumuFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuFilter::hltFilter(), HLTmmkkFilter::hltFilter(), PixelVertexProducer::produce(), SteppingHelixPropagator::propagateWithPath(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), PrimaryVertexMonitor::vertexPlots(), BeamMonitorBx::weight(), BeamFitter::write2DB(), and y().
{ return dydz_; }
double reco::BeamSpot::dydzError | ( | ) | const [inline] |
error on dydz
Definition at line 101 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), and BeamMonitorBx::weight().
double reco::BeamSpot::emittanceX | ( | ) | const [inline] |
additional information
Definition at line 137 of file BeamSpot.h.
References emittanceX_.
Referenced by BeamFitter::dumpTxtFile().
{ return emittanceX_; }
double reco::BeamSpot::emittanceY | ( | ) | const [inline] |
Definition at line 138 of file BeamSpot.h.
References emittanceY_.
Referenced by BeamFitter::dumpTxtFile().
{ return emittanceY_; }
const Point& reco::BeamSpot::position | ( | ) | const [inline] |
position
Definition at line 63 of file BeamSpot.h.
References position_.
Referenced by ElectronAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), MuonRecoOneHLT::analyze(), MuonKinVsEtaAnalyzer::analyze(), EfficiencyAnalyzer::analyze(), ElectronGeneralAnalyzer::analyze(), TrackAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GenPurposeSkimmerData::analyze(), DiMuonHistograms::analyze(), RecoMuonValidator::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), TrackAssociatorByChi2::associateRecoToSim(), TrackAssociatorByChi2::associateSimToReco(), TwoBodyDecayVirtualMeasurement::beamSpotPosition(), GsfElectronAlgo::beginEvent(), GsfElectronAlgo::createElectron(), KalmanAlignmentTrackRefitter::debugTrackData(), reco::TrackBase::dxy(), pat::PATElectronProducer::embedHighLevel(), pat::PATMuonProducer::embedHighLevel(), GsfTrackProducerBase::fillMode(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), CSCEfficiency::filter(), WZInterestingEventSelector::filter(), ElectronSeedProducer::filterClusters(), ConversionSeedFinder::findLayers(), HLTMuonL1toL3TkPreFilter::hltFilter(), HLTMuonDimuonL2Filter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), OutInConversionSeedFinder::makeTrackState(), HIProtoTrackFilter::operator()(), RecoTrackSelector::operator()(), VertexFromTrackProducer::produce(), TriggerMatcherToHLTDebug::produce(), pat::PATConversionProducer::produce(), HIBestVertexProducer::produce(), SoftPFElectronTagInfoProducer::produce(), PixelVertexProducer::produce(), PrimaryVertexProducer::produce(), EgammaHLTGsfTrackVarProducer::produce(), TrackAlgoCompareUtil::produce(), BeamFitter::readEvent(), CutBasedElectronID::robustSelection(), MuonAlignmentFromReference::run(), reco::modules::CosmicTrackSelector::select(), ora::QueryableVector< Item >::select(), HIProtoTrackSelector::select(), HLTMuonMatchAndPlot::selectedMuons(), GsfElectronAlgo::setAmbiguityData(), GsfElectronAlgo::setCutBasedPreselectionFlag(), reco::modules::TrackMultiSelector::testVtx(), EgammaCutBasedEleId::TestWP(), QcdUeDQM::trackSelection(), and BeamFitter::write2DB().
{ return position_; }
const BeamSpot::Point reco::BeamSpot::position | ( | const double | z | ) | const |
void reco::BeamSpot::print | ( | std::stringstream & | ss | ) | const |
print information
Definition at line 51 of file BeamSpot.cc.
Referenced by reco::operator<<().
{ ss << "-----------------------------------------------------\n" << " Beam Spot Data\n\n" << " Beam type = " << type() << "\n" << " X0 = " << x0() << " +/- " << x0Error() << " [cm]\n" << " Y0 = " << y0() << " +/- " << y0Error() << " [cm]\n" << " Z0 = " << z0() << " +/- " << z0Error() << " [cm]\n" << " Sigma Z0 = " << sigmaZ() << " +/- " << sigmaZ0Error() << " [cm]\n" << " dxdz = " << dxdz() << " +/- " << dxdzError() << " [radians]\n" << " dydz = " << dydz() << " +/- " << dydzError() << " [radians]\n" << " Beam width X = " << BeamWidthX() << " +/- " << BeamWidthXError() << " [cm]\n" << " Beam width Y = " << BeamWidthY() << " +/- " << BeamWidthYError() << " [cm]\n" << " EmittanceX = " << emittanceX() << " [cm]\n" << " EmittanceY = " << emittanceY() << " [cm]\n" << " beta-star = " << betaStar() << " [cm]\n" << "-----------------------------------------------------\n\n"; }
BeamSpot::Covariance3DMatrix reco::BeamSpot::rotatedCovariance3D | ( | ) | const |
Definition at line 79 of file BeamSpot.cc.
References a, asHepVector(), 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(), pat::PATMuonProducer::embedHighLevel(), PixelVertexProducer::produce(), PrimaryVertexProducer::produce(), and TrajectoryStateClosestToBeamLine::transverseImpactParameter().
{ AlgebraicVector3 newZ(dxdz(), dydz(), 1.); AlgebraicVector3 globalZ(0.,0.,1.); AlgebraicVector3 rotationAxis = ROOT::Math::Cross(globalZ.Unit(), newZ.Unit()); float rotationAngle = -acos( ROOT::Math::Dot(globalZ.Unit(),newZ.Unit())); AlgebraicVector a = asHepVector(rotationAxis); Basic3DVector<float> aa(a[0], a[1], a[2]); TkRotation<float> rotation(aa ,rotationAngle); AlgebraicMatrix33 rotationMatrix; rotationMatrix(0,0) = rotation.xx(); rotationMatrix(0,1) = rotation.xy(); rotationMatrix(0,2) = rotation.xz(); rotationMatrix(1,0) = rotation.yx(); rotationMatrix(1,1) = rotation.yy(); rotationMatrix(1,2) = rotation.yz(); rotationMatrix(2,0) = rotation.zx(); rotationMatrix(2,1) = rotation.zy(); rotationMatrix(2,2) = rotation.zz(); AlgebraicSymMatrix33 diagError ; diagError(0,0) = pow(BeamWidthX(),2); diagError(1,1) = pow(BeamWidthY(),2); diagError(2,2) = pow(sigmaZ(),2); Covariance3DMatrix matrix; matrix = ROOT::Math::Similarity(rotationMatrix, diagError) + covariance3D(); return matrix; }
void reco::BeamSpot::setBeamWidthX | ( | double | v | ) | [inline] |
Definition at line 109 of file BeamSpot.h.
References BeamWidthX_, and v.
Referenced by PVFitter::runBXFitter(), and PVFitter::runFitter().
{ BeamWidthX_ = v; }
void reco::BeamSpot::setBeamWidthY | ( | double | v | ) | [inline] |
Definition at line 110 of file BeamSpot.h.
References BeamWidthY_, and v.
Referenced by AlcaBeamMonitor::beginLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlock(), BeamSpotOnlineProducer::produce(), PVFitter::runBXFitter(), PVFitter::runFitter(), BeamFitter::runPVandTrkFitter(), AlcaBeamSpotManager::weight(), and BeamMonitorBx::weight().
{ BeamWidthY_ = v; }
void reco::BeamSpot::setbetaStar | ( | double | v | ) | [inline] |
Definition at line 146 of file BeamSpot.h.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlock(), and BeamSpotOnlineProducer::produce().
void reco::BeamSpot::setEmittanceX | ( | double | v | ) | [inline] |
Definition at line 144 of file BeamSpot.h.
References emittanceX_, and v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlock(), and BeamSpotOnlineProducer::produce().
{ emittanceX_ = v; }
void reco::BeamSpot::setEmittanceY | ( | double | v | ) | [inline] |
Definition at line 145 of file BeamSpot.h.
References emittanceY_, and v.
Referenced by AlcaBeamSpotFromDB::endLuminosityBlock(), and BeamSpotOnlineProducer::produce().
{ emittanceY_ = v; }
void reco::BeamSpot::setType | ( | BeamType | type | ) | [inline] |
set beam type
Definition at line 132 of file BeamSpot.h.
Referenced by BeamSpotAnalyzer::endLuminosityBlock(), AlcaBeamSpotProducer::endLuminosityBlock(), AlcaBeamSpotFromDB::endLuminosityBlock(), BSFitter::Fit(), BSFitter::Fit_ited0phi(), BeamSpotOnlineProducer::produce(), BeamFitter::runBeamWidthFitter(), PVFitter::runBXFitter(), PVFitter::runFitter(), BeamFitter::runFitterNoTxt(), and BeamFitter::runPVandTrkFitter().
double reco::BeamSpot::sigmaZ | ( | ) | const [inline] |
sigma z
Definition at line 81 of file BeamSpot.h.
References sigmaZ_.
Referenced by PrimaryVertexMonitor::analyze(), RecoMuonValidator::analyze(), BeamSpot(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), BeamFitter::dumpTxtFile(), TwoBodyDecayVirtualMeasurement::extractBeamSpotError(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BSFitter::Fit(), BeamMonitor::FitAndFill(), KFBasedPixelFitter::MyBeamSpotHit::MyBeamSpotHit(), HIBestVertexProducer::produce(), GlobalTrackingRegionWithVerticesProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), ora::QueryableVector< Item >::select(), reco::modules::TrackMultiSelector::testVtx(), BeamMonitorBx::weight(), and BeamFitter::write2DB().
{ return sigmaZ_; }
double reco::BeamSpot::sigmaZ0Error | ( | ) | const [inline] |
error on sigma z
Definition at line 97 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), and BeamMonitorBx::weight().
BeamType reco::BeamSpot::type | ( | ) | const [inline] |
return beam type
Definition at line 130 of file BeamSpot.h.
References type_.
Referenced by BeamSpot(), BeamFitter::dumpTxtFile(), BeamMonitor::FitAndFill(), BeamFitter::runBeamWidthFitter(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), and setType().
{ return type_; }
double reco::BeamSpot::x | ( | const double | z | ) | const [inline] |
double reco::BeamSpot::x0 | ( | ) | const [inline] |
x coordinate
Definition at line 65 of file BeamSpot.h.
References position_.
Referenced by PrimaryVertexAnalyzer4PU::analyze(), PrimaryVertexMonitor::analyze(), TrackBuildingAnalyzer::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), PhotonIsolationCalculator::calculateTrackIso(), TrackerSeedCleaner::clean(), GsfConstraintAtVertex::constrainAtBeamSpot(), ReferenceTrajectory::construct(), BeamFitter::dumpTxtFile(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), BeamMonitorBx::FillTables(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), BeamMonitorBx::FillTrendHistos(), BSFitter::Fit(), BeamMonitor::FitAndFill(), getVertexD0(), HLTDisplacedmumuFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), HLTmmkkFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), pat::PATElectronProducer::produce(), MuonSeedGenerator::produce(), pat::PATMuonProducer::produce(), SETMuonSeedProducer::produce(), HIBestVertexProducer::produce(), PixelVertexProducer::produce(), SteppingHelixPropagator::propagateWithPath(), MuonTrackingRegionBuilder::region(), GlobalTrackingRegionWithVerticesProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), QcdUeDQM::trackSelection(), MuonUpdatorAtVertex::update(), HIProtoTrackFilter::update(), PrimaryVertexMonitor::vertexPlots(), BeamMonitorBx::weight(), x(), and FWBeamSpot::x0().
{ return position_.X(); }
double reco::BeamSpot::x0Error | ( | ) | const [inline] |
error on x
Definition at line 91 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), BeamMonitorBx::weight(), and FWBeamSpot::x0Error().
double reco::BeamSpot::y | ( | const double | z | ) | const [inline] |
double reco::BeamSpot::y0 | ( | ) | const [inline] |
y coordinate
Definition at line 67 of file BeamSpot.h.
References position_.
Referenced by PrimaryVertexAnalyzer4PU::analyze(), PrimaryVertexMonitor::analyze(), TrackBuildingAnalyzer::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), PhotonIsolationCalculator::calculateTrackIso(), TrackerSeedCleaner::clean(), GsfConstraintAtVertex::constrainAtBeamSpot(), ReferenceTrajectory::construct(), BeamFitter::dumpTxtFile(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), BeamMonitorBx::FillTables(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), BeamMonitorBx::FillTrendHistos(), BSFitter::Fit(), BeamMonitor::FitAndFill(), getVertexD0(), HLTDisplacedmumuFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), HLTmmkkFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), pat::PATElectronProducer::produce(), MuonSeedGenerator::produce(), pat::PATMuonProducer::produce(), SETMuonSeedProducer::produce(), PixelVertexProducer::produce(), HIBestVertexProducer::produce(), SteppingHelixPropagator::propagateWithPath(), MuonTrackingRegionBuilder::region(), GlobalTrackingRegionWithVerticesProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), QcdUeDQM::trackSelection(), MuonUpdatorAtVertex::update(), HIProtoTrackFilter::update(), PrimaryVertexMonitor::vertexPlots(), BeamMonitorBx::weight(), y(), and FWBeamSpot::y0().
{ return position_.Y(); }
double reco::BeamSpot::y0Error | ( | ) | const [inline] |
error on y
Definition at line 93 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), BeamMonitorBx::weight(), and FWBeamSpot::y0Error().
double reco::BeamSpot::z0 | ( | ) | const [inline] |
z coordinate
Definition at line 69 of file BeamSpot.h.
References position_.
Referenced by PrimaryVertexAnalyzer4PU::analyze(), PrimaryVertexMonitor::analyze(), TrackBuildingAnalyzer::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), FWBeamSpotProxyBuilder::build(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), PhotonIsolationCalculator::calculateTrackIso(), TrackerSeedCleaner::clean(), GsfConstraintAtVertex::constrainAtBeamSpot(), ReferenceTrajectory::construct(), BeamFitter::dumpTxtFile(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), QcdUeDQM::fillVtxPlots(), BSFitter::Fit(), BeamMonitor::FitAndFill(), HLTDisplacedmumuFilter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDisplacedmumumuFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), HLTmmkkFilter::hltFilter(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), pat::PATElectronProducer::produce(), MuonSeedGenerator::produce(), pat::PATMuonProducer::produce(), SETMuonSeedProducer::produce(), PixelVertexProducer::produce(), SteppingHelixPropagator::propagateWithPath(), MuonTrackingRegionBuilder::region(), GlobalTrackingRegionWithVerticesProducer::regions(), HITrackingRegionForPrimaryVtxProducer::regions(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), GlobalTrackingRegionProducerFromBeamSpot::regions(), BeamFitter::runFitterNoTxt(), BeamFitter::runPVandTrkFitter(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), QcdUeDQM::trackSelection(), MuonUpdatorAtVertex::update(), HIProtoTrackFilter::update(), PrimaryVertexMonitor::vertexPlots(), BeamMonitorBx::weight(), x(), y(), and FWBeamSpot::z0().
{ return position_.Z(); }
double reco::BeamSpot::z0Error | ( | ) | const [inline] |
error on z
Definition at line 95 of file BeamSpot.h.
References error_, and mathSSE::sqrt().
Referenced by FWBeamSpotProxyBuilder::build(), BeamMonitorBx::FillTables(), BeamMonitorBx::FillTrendHistos(), BeamMonitor::FitAndFill(), BeamFitter::runFitterNoTxt(), BeamMonitorBx::weight(), and FWBeamSpot::z0Error().
Double32_t reco::BeamSpot::BeamWidthX_ [private] |
Definition at line 158 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthX(), and setBeamWidthX().
Double32_t reco::BeamSpot::BeamWidthY_ [private] |
Definition at line 159 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthY(), and setBeamWidthY().
Double32_t reco::BeamSpot::betaStar_ [private] |
Definition at line 164 of file BeamSpot.h.
Referenced by BeamSpot(), beamWidthFromBeta(), betaStar(), and setbetaStar().
Double32_t reco::BeamSpot::dxdz_ [private] |
Definition at line 160 of file BeamSpot.h.
Referenced by BeamSpot(), and dxdz().
Double32_t reco::BeamSpot::dydz_ [private] |
Definition at line 161 of file BeamSpot.h.
Referenced by BeamSpot(), and dydz().
Double32_t reco::BeamSpot::emittanceX_ [private] |
Definition at line 162 of file BeamSpot.h.
Referenced by BeamSpot(), emittanceX(), and setEmittanceX().
Double32_t reco::BeamSpot::emittanceY_ [private] |
Definition at line 163 of file BeamSpot.h.
Referenced by BeamSpot(), emittanceY(), and setEmittanceY().
CovarianceMatrix reco::BeamSpot::error_ [private] |
errors
Definition at line 155 of file BeamSpot.h.
Referenced by BeamSpot(), BeamWidthXError(), BeamWidthYError(), covariance(), covariance3D(), dxdzError(), dydzError(), sigmaZ0Error(), x0Error(), y0Error(), and z0Error().
Point reco::BeamSpot::position_ [private] |
position
Definition at line 153 of file BeamSpot.h.
Referenced by BeamSpot(), beamWidthFromBeta(), position(), x0(), y0(), and z0().
Double32_t reco::BeamSpot::sigmaZ_ [private] |
Definition at line 157 of file BeamSpot.h.
Referenced by BeamSpot(), and sigmaZ().
BeamType reco::BeamSpot::type_ [private] |
Definition at line 166 of file BeamSpot.h.
Referenced by BeamSpot(), setType(), and type().