#include <HitResol.h>
Public Types | |
typedef std::vector< Trajectory > | TrajectoryCollection |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | endJob () override |
Static Private Attributes | |
static constexpr float | cmToUm = 10000.f |
Additional Inherited Members | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 33 of file HitResol.h.
typedef std::vector<Trajectory> HitResol::TrajectoryCollection |
Definition at line 62 of file HitResol.h.
|
explicit |
Definition at line 71 of file HitResol.cc.
References TFileService::kSharedResource.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 159 of file HitResol.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, anyDirection, atEdge, atEdge_2, ChiSquaredProbability(), clusterWidth, clusterWidth_2, combinatorialTracks_token_, cpeToken_, shallow::drift(), StripClusterParameterEstimator::driftDirection(), MillePedeFileConverter_cfg::e, events, expWidth, expWidth_2, geomToken_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), getPairParameters(), getSimHitRes(), getSimpleRes(), TrackerTopology::glued(), histos2d_, hitDX, globals_cff::id1, globals_cff::id2, TrackerGeometry::idToDetUnit(), iidd1, iidd2, TrackerTopology::isStereo(), TrajectoryStateOnSurface::localDirection(), LogDebug, magFieldToken_, momentumCut_, mymom, mypitch1, StripTopology::nstrips(), Nstrips, Nstrips_2, numHits, pairPath, pairsOnly, ProbTrackChi2, edm::Handle< T >::product(), reso, simpleRes, siStripQualityToken_, findQualityFiles::size, StripSubdetector::TEC, StripSubdetector::TIB, tjToken_, topoToken_, track_eta, track_momentum, track_phi, track_pt, track_trackChi2, trackDX, trackDXE, PbPb_ZMuSkimMuonDPG_cff::tracker, trackParamDXDZ, trackParamDXDZE, trackParamDYDZ, trackParamDYDZE, trackParamX, trackParamXE, trackParamY, trackParamYE, treso, and usePairsOnly_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 92 of file HitResol.cc.
References atEdge, atEdge_2, clusterWidth, clusterWidth_2, compSettings_, events, EventTrackCKF, expWidth, expWidth_2, compareTotals::fs, histos2d_, hitDX, iidd1, iidd2, mymom, mypitch1, NumberOf_tracks, numHits, pairPath, pairsOnly, ProbTrackChi2, reso, simpleRes, track_eta, track_momentum, track_phi, track_pt, track_trackChi2, trackDX, trackDXE, trackParamDXDZ, trackParamDXDZE, trackParamDYDZ, trackParamDYDZE, trackParamX, trackParamXE, trackParamY, trackParamYE, and treso.
double HitResol::checkConsistency | ( | const StripClusterParameterEstimator::LocalValues & | parameters, |
double | xx, | ||
double | xerr | ||
) |
Definition at line 459 of file HitResol.cc.
References funct::abs(), relativeConstraints::error, mathSSE::sqrt(), and geometryCSVtoXML::xx.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 450 of file HitResol.cc.
References events, EventTrackCKF, LogDebug, reso, and treso.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 630 of file HitResol.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
bool HitResol::getPairParameters | ( | const MagneticField * | magField_, |
AnalyticalPropagator & | propagator, | ||
const TrajectoryMeasurement * | traj1, | ||
const TrajectoryMeasurement * | traj2, | ||
float & | pairPath, | ||
float & | hitDX, | ||
float & | trackDX, | ||
float & | trackDXE, | ||
float & | trackParamX, | ||
float & | trackParamY, | ||
float & | trackParamDXDZ, | ||
float & | trackParamDYDZ, | ||
float & | trackParamXE, | ||
float & | trackParamYE, | ||
float & | trackParamDXDZE, | ||
float & | trackParamDYDZE | ||
) |
Definition at line 511 of file HitResol.cc.
References TrajectoryMeasurement::backwardPredictedState(), TrajectoryStateCombiner::combine(), change_name::diff, TrajectoryMeasurement::forwardPredictedState(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), hitDX, mps_fire::i, TrajectoryStateOnSurface::isValid(), dqmiolumiharvest::j, JacobianCurvilinearToLocal::jacobian(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogDebug, PV3DBase< T, PVType, FrameType >::mag(), LocalTrajectoryError::matrix(), pairPath, TrackCandidateProducer_cfi::propagator, TrajectoryMeasurement::recHit(), mathSSE::sqrt(), TrajectoryStateOnSurface::surface(), trackDX, trackDXE, trackParamDXDZ, trackParamDXDZE, trackParamDYDZ, trackParamDYDZE, trackParamX, trackParamXE, trackParamY, trackParamYE, and LocalTrajectoryParameters::vector().
Referenced by analyze().
void HitResol::getSimHitRes | ( | const GeomDetUnit * | det, |
const LocalVector & | trackdirection, | ||
const TrackingRecHit & | recHit, | ||
float & | trackWidth, | ||
float * | pitch, | ||
LocalVector & | drift | ||
) |
Definition at line 468 of file HitResol.cc.
References shallow::drift(), position, rpcPointValidation_cfi::recHit, funct::tan(), thickness, trackWidth, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
double HitResol::getSimpleRes | ( | const TrajectoryMeasurement * | traj1 | ) |
Definition at line 492 of file HitResol.cc.
References TrajectoryMeasurement::backwardPredictedState(), TrajectoryStateCombiner::combine(), TrajectoryMeasurement::forwardPredictedState(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localPosition(), TrajectoryMeasurement::recHit(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 85 of file HitResol.h.
|
private |
Definition at line 135 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 136 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file HitResol.h.
|
private |
Definition at line 120 of file HitResol.h.
|
private |
Definition at line 117 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
staticprivate |
Definition at line 100 of file HitResol.h.
|
private |
Definition at line 73 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 89 of file HitResol.h.
Referenced by beginJob().
|
private |
Definition at line 80 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 87 of file HitResol.h.
|
private |
Definition at line 86 of file HitResol.h.
|
private |
Definition at line 129 of file HitResol.h.
|
private |
Definition at line 130 of file HitResol.h.
|
private |
Definition at line 103 of file HitResol.h.
Referenced by eventsfwlite.Events::__getattr__(), eventsfwlite.Events::__getitem__(), eventsfwlite.Events::__len__(), analyze(), beginJob(), endJob(), looper.Looper::loop(), and looper.Looper::process().
|
private |
Definition at line 103 of file HitResol.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 127 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 128 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 97 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 121 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file HitResol.h.
|
private |
Definition at line 82 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 88 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 107 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 125 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file HitResol.h.
|
private |
Definition at line 155 of file HitResol.h.
|
private |
Definition at line 157 of file HitResol.h.
|
private |
Definition at line 156 of file HitResol.h.
|
private |
Definition at line 158 of file HitResol.h.
|
private |
Definition at line 159 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 160 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 109 of file HitResol.h.
Referenced by beginJob().
|
private |
Definition at line 108 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 124 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 123 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 110 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file HitResol.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 72 of file HitResol.h.
|
private |
Definition at line 137 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 111 of file HitResol.h.
|
private |
Definition at line 112 of file HitResol.h.
|
private |
Definition at line 113 of file HitResol.h.
|
private |
Definition at line 114 of file HitResol.h.
|
private |
Definition at line 131 of file HitResol.h.
Referenced by getSimHitRes().
|
private |
Definition at line 132 of file HitResol.h.
|
private |
Definition at line 74 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 75 of file HitResol.h.
|
private |
Definition at line 78 of file HitResol.h.
Referenced by analyze().
|
private |
Definition at line 151 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 153 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 154 of file HitResol.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file HitResol.h.
|
private |
Definition at line 139 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 140 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 92 of file HitResol.h.
|
private |
Definition at line 145 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 147 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 146 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 148 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 141 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 143 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 142 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 144 of file HitResol.h.
Referenced by analyze(), beginJob(), and getPairParameters().
|
private |
Definition at line 133 of file HitResol.h.
Referenced by getSimHitRes().
|
private |
Definition at line 134 of file HitResol.h.
|
private |
Definition at line 96 of file HitResol.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 115 of file HitResol.h.
|
private |
Definition at line 116 of file HitResol.h.
|
private |
Definition at line 90 of file HitResol.h.
Referenced by analyze().