#include <CAHitTripletGenerator.h>
Classes | |
class | QuantityDependsPt |
class | QuantityDependsPtEval |
Public Types | |
typedef LayerHitMapCache | LayerCacheType |
typedef OrderedHitSeeds | ResultType |
Public Member Functions | |
CAHitTripletGenerator (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC, bool needSeedingLayerSetsHits=true) | |
CAHitTripletGenerator (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC, bool needSeedingLayerSetsHits=true) | |
void | hitNtuplets (const IntermediateHitDoublets ®ionDoublets, std::vector< OrderedHitSeeds > &result, const edm::EventSetup &es, const SeedingLayerSetsHits &layers) |
virtual void | hitTriplets (const TrackingRegion ®, OrderedHitTriplets &triplets, const edm::Event &ev, const edm::EventSetup &es) |
from base class More... | |
void | initEvent (const edm::Event &ev, const edm::EventSetup &es) |
virtual | ~CAHitTripletGenerator () |
Public Member Functions inherited from HitTripletGenerator | |
virtual void | clear () final |
HitTripletGenerator (unsigned int size=500) | |
HitTripletGenerator (HitTripletGenerator const &other) | |
virtual void | hitTriplets (const TrackingRegion ®, OrderedHitTriplets &prs, const edm::EventSetup &es) |
virtual const OrderedHitTriplets & | run (const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) final |
virtual | ~HitTripletGenerator () |
Public Member Functions inherited from OrderedHitsGenerator | |
OrderedHitsGenerator () | |
virtual | ~OrderedHitsGenerator () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
static const char * | fillDescriptionsLabel () |
Static Public Attributes | |
static unsigned int | minLayers = 3 |
Private Member Functions | |
void | hitTriplets (const TrackingRegion ®, OrderedHitTriplets &result, std::vector< const HitDoublets * > &hitDoublets, CAGraph &g, const edm::EventSetup &es) |
Private Attributes | |
const float | caHardPtCut = 0.f |
const float | caPhiCut = 1.f |
const float | caThetaCut = 0.00125f |
const float | extraHitRPhitolerance |
const QuantityDependsPt | maxChi2 |
std::unique_ptr< SeedComparitor > | theComparitor |
LayerCacheType | theLayerCache |
edm::EDGetTokenT< SeedingLayerSetsHits > | theSeedingLayerToken |
const bool | useBendingCorrection |
Additional Inherited Members | |
Public Attributes inherited from OrderedHitsGenerator | |
unsigned int | theMaxElement |
Definition at line 32 of file CAHitTripletGenerator.h.
Definition at line 34 of file CAHitTripletGenerator.h.
Definition at line 37 of file CAHitTripletGenerator.h.
|
inline |
Definition at line 40 of file CAHitTripletGenerator.h.
References CAHitTripletGenerator_cfi::CAHitTripletGenerator, and looper::cfg.
CAHitTripletGenerator::CAHitTripletGenerator | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC, | ||
bool | needSeedingLayerSetsHits = true |
||
) |
Definition at line 36 of file CAHitTripletGenerator.cc.
References edm::ConsumesCollector::consumes(), beamerCreator::create(), edm::ParameterSet::exists(), reco::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theComparitor, and theSeedingLayerToken.
|
virtual |
Definition at line 65 of file CAHitTripletGenerator.cc.
|
static |
Definition at line 69 of file CAHitTripletGenerator.cc.
References edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 46 of file CAHitTripletGenerator.h.
References ev, g, LayerTriplets::layers(), mps_fire::result, and DetachedQuadStep_cff::triplets.
void CAHitTripletGenerator::hitNtuplets | ( | const IntermediateHitDoublets & | regionDoublets, |
std::vector< OrderedHitSeeds > & | result, | ||
const edm::EventSetup & | es, | ||
const SeedingLayerSetsHits & | layers | ||
) |
Definition at line 231 of file CAHitTripletGenerator.cc.
References funct::abs(), caHardPtCut, caPhiCut, caThetaCut, HiEvtPlane_cfi::chi2, RZLine::chi2(), ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), GlobalErrorBase< T, ErrorWeightType >::czz(), relativeConstraints::error, CAHitTripletGenerator::QuantityDependsPt::evaluator(), extraHitRPhitolerance, runEdmFileComparison::found, g, mps_fire::i, hcalTTPDigis_cfi::id, SeedingLayerSetsHits::SeedingLayer::index(), diffTreeTool::index, SurfaceOrientation::inner, IntermediateHitDoublets::LayerPairHitDoublets::innerLayerIndex(), PixelRecoUtilities::inversePt(), gedGsfElectrons_cfi::isBarrel, edm::isNotFinite(), geometryCSVtoXML::line, maxChi2, TrackingRegion::origin(), SurfaceOrientation::outer, IntermediateHitDoublets::LayerPairHitDoublets::outerLayerIndex(), PixelSubdetector::PixelBarrel, point, EnergyCorrector::pt, GlobalErrorBase< T, ErrorWeightType >::rerr(), funct::sqr(), mathSSE::sqrt(), theComparitor, useBendingCorrection, CAHitTripletGenerator::QuantityDependsPtEval::value(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
from base class
Implements HitTripletGenerator.
Definition at line 193 of file CAHitTripletGenerator.cc.
References LayerHitMapCache::clear(), HitPairGeneratorFromLayerPair::doublets(), MillePedeFileConverter_cfg::e, g, edm::Event::getByToken(), SurfaceOrientation::inner, LayerTriplets::layers(), SeedingLayerSetsHits::numberOfLayersInSet(), SurfaceOrientation::outer, theComparitor, theLayerCache, and theSeedingLayerToken.
|
private |
Definition at line 375 of file CAHitTripletGenerator.cc.
References funct::abs(), caHardPtCut, caPhiCut, caThetaCut, HiEvtPlane_cfi::chi2, RZLine::chi2(), LayerHitMapCache::clear(), ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), GlobalErrorBase< T, ErrorWeightType >::czz(), relativeConstraints::error, CAHitTripletGenerator::QuantityDependsPt::evaluator(), extraHitRPhitolerance, CellularAutomaton::findTriplets(), CellularAutomaton::getAllCells(), mps_fire::i, hcalTTPDigis_cfi::id, PixelRecoUtilities::inversePt(), gedGsfElectrons_cfi::isBarrel, edm::isNotFinite(), geometryCSVtoXML::line, maxChi2, TrackingRegion::origin(), PixelSubdetector::PixelBarrel, point, EnergyCorrector::pt, GlobalErrorBase< T, ErrorWeightType >::rerr(), funct::sqr(), mathSSE::sqrt(), theComparitor, theLayerCache, useBendingCorrection, CAHitTripletGenerator::QuantityDependsPtEval::value(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
void CAHitTripletGenerator::initEvent | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 90 of file CAHitTripletGenerator.cc.
References spr::find(), g, hfClusterShapes_cfi::hits, mps_fire::i, LayerTriplets::layers(), dataset::name, SeedingLayerSetsHits::size(), findQualityFiles::size, theComparitor, CAGraph::theLayerPairs, CAGraph::theLayers, CAGraph::theRootLayers, findQualityFiles::v, and egmGedGsfElectronPFIsolation_cff::vertexIndex.
|
private |
Definition at line 143 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().
|
private |
Definition at line 142 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().
|
private |
Definition at line 141 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().
|
private |
Definition at line 136 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().
|
private |
Definition at line 138 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().
|
static |
Definition at line 36 of file CAHitTripletGenerator.h.
|
private |
Definition at line 70 of file CAHitTripletGenerator.h.
Referenced by CAHitTripletGenerator(), hitNtuplets(), hitTriplets(), and initEvent().
|
private |
Definition at line 68 of file CAHitTripletGenerator.h.
Referenced by hitTriplets().
|
private |
Definition at line 66 of file CAHitTripletGenerator.h.
Referenced by CAHitTripletGenerator(), and hitTriplets().
|
private |
Definition at line 139 of file CAHitTripletGenerator.h.
Referenced by hitNtuplets(), and hitTriplets().