#include <Hit.h>
Classes | |
struct | PackedData |
Public Member Functions | |
unsigned int | chargePerCM () const |
unsigned int | detIDinLayer () const |
float | eeta () const |
float | ephi () const |
const float * | errArray () const |
const SMatrixSym33 | error () const |
SVector6 & | error_nc () |
float | eta () const |
float | exx () const |
float | eyy () const |
float | ezz () const |
Hit () | |
Hit (const SVector3 &position, const SMatrixSym33 &error, int mcHitID=-1) | |
int | layer (const MCHitInfoVec &globalMCHitInfo) const |
int | mcHitID () const |
int | mcTrackID (const MCHitInfoVec &globalMCHitInfo) const |
const MeasurementState & | measurementState () const |
const SVector3 & | parameters () const |
SVector3 & | parameters_nc () |
float | phi () const |
const float * | posArray () const |
const SVector3 & | position () const |
float | r () const |
void | setupAsPixel (unsigned int id, int rows, int cols) |
void | setupAsStrip (unsigned int id, int cpcm, int rows) |
unsigned int | spanCols () const |
unsigned int | spanRows () const |
float | x () const |
float | y () const |
float | z () const |
Static Public Member Functions | |
static unsigned int | maxChargePerCM () |
static unsigned int | maxSpan () |
static unsigned int | minChargePerCM () |
Static Public Attributes | |
static constexpr int | kChargePerCMBits = 8 |
static constexpr int | kClusterSizeBits = 5 |
static constexpr int | kDetIdInLayerBits = 14 |
static constexpr int | kHitCCCFilterIdx = -9 |
static constexpr int | kHitEdgeIdx = -3 |
static constexpr int | kHitInGapIdx = -7 |
static constexpr int | kHitMaxClusterIdx = -5 |
static constexpr int | kHitMissIdx = -1 |
static constexpr int | kHitStopIdx = -2 |
static constexpr int | kMaxClusterSize = (1 << kClusterSizeBits) - 1 |
static constexpr int | kMinChargePerCM = 1620 |
Private Attributes | |
int | mcHitID_ |
PackedData | pdata_ |
MeasurementState | state_ |
|
inline |
|
inline |
Definition at line 229 of file Hit.h.
References mkfit::Hit::PackedData::get_charge_pcm(), and pdata_.
|
inline |
Definition at line 228 of file Hit.h.
References mkfit::Hit::PackedData::detid_in_layer, and pdata_.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
|
inline |
Definition at line 172 of file Hit.h.
References mkfit::MeasurementState::errors(), exx(), eyy(), mkfit::getPhiErr2(), state_, x(), and y().
Referenced by mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 152 of file Hit.h.
References mkfit::MeasurementState::err_, and state_.
Referenced by mkfit::MkFinder::selectHitIndices(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
Definition at line 149 of file Hit.h.
References mkfit::MeasurementState::errors(), and state_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
inline |
|
inline |
Definition at line 169 of file Hit.h.
References mkfit::getEta(), mkfit::MeasurementState::parameters(), and state_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), Jet.Jet::puJetId(), and mkfit::sortByEta().
|
inline |
Definition at line 165 of file Hit.h.
References mkfit::MeasurementState::errors(), and state_.
Referenced by eeta(), ephi(), and mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 166 of file Hit.h.
References mkfit::MeasurementState::errors(), and state_.
Referenced by eeta(), ephi(), and mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 167 of file Hit.h.
References mkfit::MeasurementState::errors(), and state_.
Referenced by eeta(), and mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 188 of file Hit.h.
References mcHitID_.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inlinestatic |
Definition at line 234 of file Hit.h.
References kChargePerCMBits, and kMinChargePerCM.
Referenced by mkfit::passStripChargePCMfromTrack().
|
inlinestatic |
|
inline |
Definition at line 187 of file Hit.h.
References mcHitID_.
Referenced by mkfit::MkFinder::bkFitFitTracks().
|
inline |
Definition at line 189 of file Hit.h.
References mcHitID_.
Referenced by mkfit::findSeedsByRoadSearch().
|
inline |
|
inlinestatic |
Definition at line 233 of file Hit.h.
References kMinChargePerCM.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
|
inline |
|
inline |
Definition at line 168 of file Hit.h.
References mkfit::getPhi(), mkfit::MeasurementState::parameters(), and state_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), mkfit::findSeedsByRoadSearch(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
inline |
Definition at line 151 of file Hit.h.
References mkfit::MeasurementState::pos_, and state_.
Referenced by mkfit::MkFinder::selectHitIndices(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
|
inline |
|
inline |
Definition at line 237 of file Hit.h.
References mkfit::Hit::PackedData::charge_pcm, mkfit::Hit::PackedData::detid_in_layer, l1ctLayer2EG_cff::id, kChargePerCMBits, kMaxClusterSize, SiStripPI::min, pdata_, mysort::rows, mkfit::Hit::PackedData::span_cols, and mkfit::Hit::PackedData::span_rows.
|
inline |
Definition at line 244 of file Hit.h.
References mkfit::Hit::PackedData::detid_in_layer, l1ctLayer2EG_cff::id, kMaxClusterSize, SiStripPI::min, pdata_, mysort::rows, mkfit::Hit::PackedData::set_charge_pcm(), and mkfit::Hit::PackedData::span_rows.
|
inline |
|
inline |
|
inline |
Definition at line 162 of file Hit.h.
References mkfit::MeasurementState::parameters(), and state_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), mkfit::calculateCharge(), eeta(), ephi(), mkfit::TTreeValidation::fillCMSSWEfficiencyTree(), mkfit::TTreeValidation::fillCMSSWFakeRateTree(), mkfit::TTreeValidation::fillEfficiencyTree(), mkfit::TTreeValidation::fillFakeRateTree(), mkfit::findSeedsByRoadSearch(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), mkfit::MkFinder::selectHitIndices(), and mkfit::sortByPhi().
|
inline |
Definition at line 163 of file Hit.h.
References mkfit::MeasurementState::parameters(), and state_.
Referenced by svgfig.Ellipse::__repr__(), mkfit::calculateCharge(), eeta(), ephi(), mkfit::TTreeValidation::fillCMSSWEfficiencyTree(), mkfit::TTreeValidation::fillCMSSWFakeRateTree(), mkfit::TTreeValidation::fillEfficiencyTree(), mkfit::TTreeValidation::fillFakeRateTree(), mkfit::findSeedsByRoadSearch(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), mkfit::MkFinder::selectHitIndices(), and mkfit::sortByPhi().
|
inline |
Definition at line 164 of file Hit.h.
References mkfit::MeasurementState::parameters(), and state_.
Referenced by eeta(), mkfit::TTreeValidation::fillCMSSWEfficiencyTree(), mkfit::TTreeValidation::fillCMSSWFakeRateTree(), mkfit::TTreeValidation::fillEfficiencyTree(), mkfit::TTreeValidation::fillFakeRateTree(), mkfit::findSeedsByRoadSearch(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r3D(), mkfit::MkFinder::selectHitIndices(), and mkfit::sortByZ().
|
static |
Definition at line 201 of file Hit.h.
Referenced by maxChargePerCM(), mkfit::Hit::PackedData::set_charge_pcm(), and setupAsPixel().
|
static |
Definition at line 198 of file Hit.h.
Referenced by mkfit::TrackCand::addHitIdx(), mkfit::TrackCand::nHitsByTypeEncoded(), mkfit::TrackCand::nLayersByTypeEncoded(), and mkfit::TrackCand::nUniqueLayers().
|
static |
Definition at line 195 of file Hit.h.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
static |
Definition at line 197 of file Hit.h.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
static |
Definition at line 196 of file Hit.h.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
static |
Definition at line 193 of file Hit.h.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::TrackCand::addHitIdx(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
static |
Definition at line 194 of file Hit.h.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
static |
Definition at line 204 of file Hit.h.
Referenced by maxSpan(), setupAsPixel(), and setupAsStrip().
|
static |
Definition at line 200 of file Hit.h.
Referenced by mkfit::Hit::PackedData::get_charge_pcm(), maxChargePerCM(), minChargePerCM(), and mkfit::Hit::PackedData::set_charge_pcm().
|
private |
Definition at line 252 of file Hit.h.
Referenced by layer(), mcHitID(), and mcTrackID().
|
private |
Definition at line 253 of file Hit.h.
Referenced by chargePerCM(), detIDinLayer(), setupAsPixel(), setupAsStrip(), spanCols(), and spanRows().
|
private |
Definition at line 251 of file Hit.h.
Referenced by eeta(), ephi(), errArray(), error(), error_nc(), eta(), exx(), eyy(), ezz(), measurementState(), parameters(), parameters_nc(), phi(), posArray(), position(), r(), x(), y(), and z().