#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 () | |
TrackerValidationVariables (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
~TrackerValidationVariables () | |
Private Attributes | |
edm::EDGetTokenT< std::vector< reco::Track > > | tracksToken_ |
edm::EDGetTokenT< std::vector< Trajectory > > | trajCollectionToken_ |
Definition at line 20 of file TrackerValidationVariables.h.
TrackerValidationVariables::TrackerValidationVariables | ( | ) |
Definition at line 49 of file TrackerValidationVariables.cc.
TrackerValidationVariables::TrackerValidationVariables | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 51 of file TrackerValidationVariables.cc.
References edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, tracksToken_, and trajCollectionToken_.
TrackerValidationVariables::~TrackerValidationVariables | ( | ) |
Definition at line 57 of file TrackerValidationVariables.cc.
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(), 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 PV3DBase< T, PVType, FrameType >::barePhi(), SiPixelRawToDigiRegional_cfi::deltaPhi, TrackerValidationVariables::AVHitStruct::eta, Exception, reco::Track::extra(), F(), h, SiPixelRecHit::hasBadPixels(), hcalSimParameters_cfi::hb, 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(), reco::Track::recHitsBegin(), reco::Track::recHitsSize(), 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(), RectangularPlaneBounds::width(), ApeEstimator_cff::width, and PV3DBase< T, PVType, FrameType >::z().
void TrackerValidationVariables::fillTrackQuantities | ( | const edm::Event & | event, |
const edm::EventSetup & | eventSetup, | ||
std::vector< AVTrackStruct > & | v_avtrackout | ||
) |
Definition at line 427 of file TrackerValidationVariables.cc.
Referenced by MonitorTrackResidualsBase< pixel_or_strip >::analyze(), and 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 433 of file TrackerValidationVariables.cc.
References TrackerValidationVariables::AVTrackStruct::charge, TrackerValidationVariables::AVTrackStruct::chi2, TrackerValidationVariables::AVTrackStruct::chi2Prob, TrackerValidationVariables::AVTrackStruct::d0, TrackerValidationVariables::AVTrackStruct::dz, TrackerValidationVariables::AVTrackStruct::eta, fillHitQuantities(), edm::EventSetup::get(), TrackerValidationVariables::AVTrackStruct::hits, mps_fire::i, MagneticField::inInverseGeV(), edm::HandleBase::isValid(), TrackerValidationVariables::AVTrackStruct::kappa, LogDebug, HLT_2018_cff::magneticField, 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_2018_cff::track, MinBiasPDSkim_cfg::trackFilter, PDWG_EXOHSCP_cff::tracks, tracksToken_, trajCollectionToken_, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 122 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities(), and TrackerValidationVariables().
|
private |
Definition at line 121 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities(), and TrackerValidationVariables().