#include <TrackerValidationVariables.h>
Classes | |
struct | AVHitStruct |
struct | AVTrackStruct |
Public Member Functions | |
void | fillHitQuantities (const Trajectory *trajectory, std::vector< AVHitStruct > &v_avhitout) |
void | fillHitQuantities (reco::Track const &track, std::vector< AVHitStruct > &v_avhitout) |
void | fillTrackQuantities (const edm::Event &, const edm::EventSetup &, std::vector< AVTrackStruct > &v_avtrackout) |
void | fillTrackQuantities (const edm::Event &event, const edm::EventSetup &eventSetup, std::function< bool(const reco::Track &)> trackFilter, std::vector< AVTrackStruct > &v_avtrackout) |
TrackerValidationVariables (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
~TrackerValidationVariables () | |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &descriptions) |
Private Attributes | |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldToken_ |
edm::EDGetTokenT< std::vector< reco::Track > > | tracksToken_ |
edm::EDGetTokenT< std::vector< Trajectory > > | trajCollectionToken_ |
Definition at line 23 of file TrackerValidationVariables.h.
TrackerValidationVariables::TrackerValidationVariables | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 44 of file TrackerValidationVariables.cc.
References SiStripFineDelayHit_cfi::MagneticField.
|
default |
void TrackerValidationVariables::fillHitQuantities | ( | const Trajectory * | trajectory, |
std::vector< AVHitStruct > & | v_avhitout | ||
) |
Definition at line 188 of file TrackerValidationVariables.cc.
References RadialStripTopology::angularWidth(), PV3DBase< T, PVType, FrameType >::barePhi(), funct::cos(), SiPixelRawToDigiRegional_cfi::deltaPhi, RadialStripTopology::detHeight(), TrackerValidationVariables::AVHitStruct::eta, PV3DBase< T, PVType, FrameType >::eta(), Exception, F(), TrajectoryStateOnSurface::globalDirection(), SiPixelRecHit::hasBadPixels(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), RectangularPlaneBounds::inside(), TrackerValidationVariables::AVHitStruct::inside, SiPixelRecHit::isOnEdge(), TrackerValidationVariables::AVHitStruct::isOnEdgePixel, TrackerValidationVariables::AVHitStruct::isOtherBadPixel, TrajectoryStateOnSurface::isValid(), RectangularPlaneBounds::length(), TrackerValidationVariables::AVHitStruct::localAlpha, TrackerValidationVariables::AVHitStruct::localBeta, TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localError(), RadialStripTopology::localPosition(), TrajectoryStateOnSurface::localPosition(), RadialStripTopology::localStripLength(), TrackerValidationVariables::AVHitStruct::localX, TrackerValidationVariables::AVHitStruct::localXnorm, TrackerValidationVariables::AVHitStruct::localY, TrackerValidationVariables::AVHitStruct::localYnorm, RadialStripTopology::measurementError(), RadialStripTopology::measurementPosition(), Trajectory::measurements(), RadialStripTopology::originToIntersection(), PV3DBase< T, PVType, FrameType >::perp(), TrackerValidationVariables::AVHitStruct::phi, PV3DBase< T, PVType, FrameType >::phi(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, LocalTrajectoryError::positionError(), funct::pow(), TrackerValidationVariables::AVHitStruct::rawDetId, DetId::rawId(), TrackerValidationVariables::AVHitStruct::resErrX, TrackerValidationVariables::AVHitStruct::resErrY, TrackerValidationVariables::AVHitStruct::resX, TrackerValidationVariables::AVHitStruct::resXatTrkY, TrackerValidationVariables::AVHitStruct::resXprime, TrackerValidationVariables::AVHitStruct::resXprimeErr, TrackerValidationVariables::AVHitStruct::resY, TrackerValidationVariables::AVHitStruct::resYprime, TrackerValidationVariables::AVHitStruct::resYprimeErr, funct::sin(), mathSSE::sqrt(), RadialStripTopology::stripAngle(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, Surface::toGlobal(), GeomDetType::topology(), DetId::Tracker, GeomDet::type(), MeasurementError::uu(), MeasurementError::vv(), RectangularPlaneBounds::width(), ApeEstimator_cff::width, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillTrackQuantities().
void TrackerValidationVariables::fillHitQuantities | ( | reco::Track const & | track, |
std::vector< AVHitStruct > & | v_avhitout | ||
) |
Definition at line 59 of file TrackerValidationVariables.cc.
References cms::cuda::assert(), PV3DBase< T, PVType, FrameType >::barePhi(), SiPixelRawToDigiRegional_cfi::deltaPhi, TrackerValidationVariables::AVHitStruct::eta, Exception, F(), h, SiPixelRecHit::hasBadPixels(), hcalSimParameters_cfi::hb, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), RectangularPlaneBounds::inside(), TrackerValidationVariables::AVHitStruct::inside, SiPixelRecHit::isOnEdge(), TrackerValidationVariables::AVHitStruct::isOnEdgePixel, TrackerValidationVariables::AVHitStruct::isOtherBadPixel, RectangularPlaneBounds::length(), TrackerValidationVariables::AVHitStruct::localAlpha, TrackerValidationVariables::AVHitStruct::localBeta, TrackerValidationVariables::AVHitStruct::localX, TrackerValidationVariables::AVHitStruct::localXnorm, TrackerValidationVariables::AVHitStruct::localY, TrackerValidationVariables::AVHitStruct::localYnorm, PV3DBase< T, PVType, FrameType >::perp(), TrackerValidationVariables::AVHitStruct::phi, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerValidationVariables::AVHitStruct::rawDetId, DetId::rawId(), TrackerValidationVariables::AVHitStruct::resErrX, TrackerValidationVariables::AVHitStruct::resErrY, TrackerValidationVariables::AVHitStruct::resX, TrackerValidationVariables::AVHitStruct::resXatTrkY, TrackerValidationVariables::AVHitStruct::resXprime, TrackerValidationVariables::AVHitStruct::resXprimeErr, TrackerValidationVariables::AVHitStruct::resY, TrackerValidationVariables::AVHitStruct::resYprime, TrackerValidationVariables::AVHitStruct::resYprimeErr, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, Surface::toGlobal(), HLT_2024v14_cff::track, RectangularPlaneBounds::width(), ApeEstimator_cff::width, and PV3DBase< T, PVType, FrameType >::z().
|
static |
Definition at line 53 of file TrackerValidationVariables.cc.
References submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TrackerOfflineValidation::fillDescriptions().
void TrackerValidationVariables::fillTrackQuantities | ( | const edm::Event & | event, |
const edm::EventSetup & | eventSetup, | ||
std::vector< AVTrackStruct > & | v_avtrackout | ||
) |
Definition at line 427 of file TrackerValidationVariables.cc.
References options_cfi::eventSetup.
Referenced by TrackerOfflineValidation::analyze().
void TrackerValidationVariables::fillTrackQuantities | ( | const edm::Event & | event, |
const edm::EventSetup & | eventSetup, | ||
std::function< bool(const reco::Track &)> | trackFilter, | ||
std::vector< AVTrackStruct > & | v_avtrackout | ||
) |
Definition at line 434 of file TrackerValidationVariables.cc.
References cms::cuda::assert(), TrackerValidationVariables::AVTrackStruct::charge, TrackerValidationVariables::AVTrackStruct::chi2, TrackerValidationVariables::AVTrackStruct::chi2Prob, TrackerValidationVariables::AVTrackStruct::d0, TrackerValidationVariables::AVTrackStruct::dz, TrackerValidationVariables::AVTrackStruct::eta, options_cfi::eventSetup, fillHitQuantities(), TrackerValidationVariables::AVTrackStruct::hits, mps_fire::i, edm::HandleBase::isValid(), TrackerValidationVariables::AVTrackStruct::kappa, LogDebug, HLT_2024v14_cff::magneticField, magneticFieldToken_, TrackerValidationVariables::AVTrackStruct::normchi2, TrackerValidationVariables::AVTrackStruct::numberOfLostHits, TrackerValidationVariables::AVTrackStruct::numberOfValidHits, TrackerValidationVariables::AVTrackStruct::p, TrackerValidationVariables::AVTrackStruct::phi, TrackerValidationVariables::AVTrackStruct::pt, TrackerValidationVariables::AVTrackStruct::ptError, TrackerValidationVariables::AVTrackStruct::px, TrackerValidationVariables::AVTrackStruct::py, TrackerValidationVariables::AVTrackStruct::pz, HLT_2024v14_cff::track, MinBiasPDSkim_cfg::trackFilter, DiMuonV_cfg::tracks, tracksToken_, and trajCollectionToken_.
|
private |
Definition at line 127 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities().
|
private |
Definition at line 126 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities().
|
private |
Definition at line 125 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities().