#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 48 of file TrackerValidationVariables.cc.
TrackerValidationVariables::TrackerValidationVariables | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 53 of file TrackerValidationVariables.cc.
References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, tracksToken_, and trajCollectionToken_.
TrackerValidationVariables::~TrackerValidationVariables | ( | ) |
Definition at line 60 of file TrackerValidationVariables.cc.
void TrackerValidationVariables::fillHitQuantities | ( | const Trajectory * | trajectory, |
std::vector< AVHitStruct > & | v_avhitout | ||
) |
Definition at line 194 of file TrackerValidationVariables.cc.
References RadialStripTopology::angularWidth(), PV3DBase< T, PVType, FrameType >::barePhi(), funct::cos(), hiPixelPairStep_cff::deltaPhi, RadialStripTopology::detHeight(), TrackerValidationVariables::AVHitStruct::eta, PV3DBase< T, PVType, FrameType >::eta(), Exception, F(), TrajectoryStateOnSurface::globalDirection(), RectangularPlaneBounds::inside(), TrackerValidationVariables::AVHitStruct::inside, 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(), ApeEstimator_cff::width, RectangularPlaneBounds::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 65 of file TrackerValidationVariables.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), hiPixelPairStep_cff::deltaPhi, TrackerValidationVariables::AVHitStruct::eta, Exception, reco::Track::extra(), F(), h, hcalSimParameters_cfi::hb, RectangularPlaneBounds::inside(), TrackerValidationVariables::AVHitStruct::inside, 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(), ApeEstimator_cff::width, RectangularPlaneBounds::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 437 of file TrackerValidationVariables.cc.
Referenced by SiPixelPhase1TrackResiduals::analyze(), 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 448 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, seedCreatorFromRegionConsecutiveHitsEDProducer_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, HiIsolationCommonParameters_cff::track, l1t::tracks, tracksToken_, trajCollectionToken_, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 94 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities(), and TrackerValidationVariables().
|
private |
Definition at line 93 of file TrackerValidationVariables.h.
Referenced by fillTrackQuantities(), and TrackerValidationVariables().