#include <SimpleCosmicBONSeeder.h>
Public Member Functions | |
void | done () |
bool | goodTriplet (const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const double &minRho) const |
void | init (const edm::EventSetup &c) |
std::pair< GlobalVector, int > | pqFromHelixFit (const GlobalPoint &inner, const GlobalPoint &middle, const GlobalPoint &outer, const edm::EventSetup &iSetup) const |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
bool | seeds (TrajectorySeedCollection &output, const edm::EventSetup &iSetup) |
SimpleCosmicBONSeeder (const edm::ParameterSet &conf) | |
bool | triplets (const edm::Event &e, const edm::EventSetup &c) |
~SimpleCosmicBONSeeder () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
bool | checkCharge (const TrackingRecHit *hit) const |
bool | checkCharge (const SiStripRecHit2D &hit, int subdetid) const |
void | checkNoisyModules (const std::vector< SeedingHitSet::ConstRecHitPointer > &hits, std::vector< bool > &oks) const |
Private Attributes | |
std::string | builderName |
std::vector< int32_t > | chargeThresholds_ |
ClusterChecker | check_ |
bool | checkCharge_ |
bool | checkMaxHitsPerModule_ |
TkClonerImpl | cloner |
edm::ParameterSet | conf_ |
int | goodHitsPerSeed_ |
uint32_t | helixVerbosity_ |
OrderedHitTriplets | hitTriplets |
edm::ESHandle< MagneticField > | magfield |
bool | matchedRecHitUsesAnd_ |
std::vector< int32_t > | maxHitsPerModule_ |
int32_t | maxSeeds_ |
int32_t | maxTriplets_ |
bool | negativeYOnly |
double | pMin_ |
bool | positiveYOnly |
GlobalTrackingRegion | region_ |
double | rescaleError_ |
edm::EDGetTokenT< SeedingLayerSetsHits > | seedingLayerToken_ |
bool | seedOnMiddle_ |
uint32_t | seedVerbosity_ |
PropagatorWithMaterial * | thePropagatorAl |
PropagatorWithMaterial * | thePropagatorOp |
KFUpdator * | theUpdator |
edm::ESHandle< TrackerGeometry > | tracker |
uint32_t | tripletsVerbosity_ |
edm::ESHandle< TransientTrackingRecHitBuilder > | TTTRHBuilder |
bool | writeTriplets_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 41 of file SimpleCosmicBONSeeder.h.
|
explicit |
Definition at line 25 of file SimpleCosmicBONSeeder.cc.
References builderName, chargeThresholds_, checkCharge_, checkMaxHitsPerModule_, conf_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), goodHitsPerSeed_, matchedRecHitUsesAnd_, SiStripPI::max, maxHitsPerModule_, negativeYOnly, pMin_, positiveYOnly, ptmin, region_, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and writeTriplets_.
|
inlineoverride |
Definition at line 47 of file SimpleCosmicBONSeeder.h.
References EnergyCorrector::c, done(), MillePedeFileConverter_cfg::e, goodTriplet(), init(), SurfaceOrientation::inner, SurfaceOrientation::outer, convertSQLitetoXML_cfg::output, pqFromHelixFit(), produce(), seeds(), and triplets().
|
private |
Definition at line 310 of file SimpleCosmicBONSeeder.cc.
References TrackingRecHit::geographicalId(), matchedRecHitUsesAnd_, SiStripMatchedRecHit2D::monoHit(), SiStripMatchedRecHit2D::stereoHit(), DetId::subdetId(), and DetId::Tracker.
Referenced by triplets().
|
private |
Definition at line 333 of file SimpleCosmicBONSeeder.cc.
References SiStripCluster::amplitudes(), MessageLogger_cfi::cerr, ALCARECOTkAlJpsiMuMu_cff::charge, chargeThresholds_, SiStripRecHit2D::cluster(), SiStripCluster::firstStrip(), TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::get(), createfilelist::int, DetId::rawId(), and tripletsVerbosity_.
|
private |
Definition at line 346 of file SimpleCosmicBONSeeder.cc.
References MessageLogger_cfi::cerr, end, lumiContext::fill, maxHitsPerModule_, min(), convertSQLiteXML::ok, DetId::rawId(), command_line::start, DetId::subdetId(), and tripletsVerbosity_.
Referenced by triplets().
void SimpleCosmicBONSeeder::done | ( | ) |
Definition at line 606 of file SimpleCosmicBONSeeder.cc.
References thePropagatorAl, thePropagatorOp, and theUpdator.
Referenced by produce(), and ~SimpleCosmicBONSeeder().
bool SimpleCosmicBONSeeder::goodTriplet | ( | const GlobalPoint & | inner, |
const GlobalPoint & | middle, | ||
const GlobalPoint & | outer, | ||
const double & | minRho | ||
) | const |
Definition at line 371 of file SimpleCosmicBONSeeder.cc.
References gather_cfg::cout, FastCircle::rho(), tripletsVerbosity_, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by triplets(), and ~SimpleCosmicBONSeeder().
void SimpleCosmicBONSeeder::init | ( | const edm::EventSetup & | c | ) |
Definition at line 130 of file SimpleCosmicBONSeeder.cc.
References alongMomentum, builderName, cloner, edm::EventSetup::get(), magfield, oppositeToMomentum, edm::ESHandle< T >::product(), thePropagatorAl, thePropagatorOp, theUpdator, tracker, and TTTRHBuilder.
Referenced by produce(), and ~SimpleCosmicBONSeeder().
std::pair< GlobalVector, int > SimpleCosmicBONSeeder::pqFromHelixFit | ( | const GlobalPoint & | inner, |
const GlobalPoint & | middle, | ||
const GlobalPoint & | outer, | ||
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 393 of file SimpleCosmicBONSeeder.cc.
References funct::abs(), gather_cfg::cout, PVValHelper::dz, helixVerbosity_, MagneticField::inTesla(), magfield, MagneticField::nominalValue(), EnergyCorrector::pt, rho, FastCircle::rho(), PV3DBase< T, PVType, FrameType >::x(), FastCircle::x0(), PV3DBase< T, PVType, FrameType >::y(), FastCircle::y0(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by seeds(), triplets(), and ~SimpleCosmicBONSeeder().
|
override |
Definition at line 90 of file SimpleCosmicBONSeeder.cc.
References check_, TrackingRecHit::clone(), done(), edm::EventSetup::get(), TrackingRecHit::hit(), hitTriplets, init(), MagneticField::inTesla(), PV3DBase< T, PVType, FrameType >::mag(), magfield, eostools::move(), convertSQLitetoXML_cfg::output, edm::Event::put(), seeds(), ClusterChecker::tooManyClusters(), triplets(), and writeTriplets_.
Referenced by ~SimpleCosmicBONSeeder().
bool SimpleCosmicBONSeeder::seeds | ( | TrajectorySeedCollection & | output, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 442 of file SimpleCosmicBONSeeder.cc.
References alongMomentum, FreeTrajectoryState::cartesianError(), cloner, gather_cfg::cout, cmsPerfPublish::fail(), hfClusterShapes_cfi::hits, hitTriplets, TrackerGeometry::idToDet(), OrderedHitTriplet::inner(), SurfaceOrientation::inner, edm::isNotFinite(), magfield, CartesianTrajectoryError::matrix(), maxSeeds_, OrderedHitTriplet::middle(), oppositeToMomentum, SurfaceOrientation::outer, OrderedHitTriplet::outer(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), pMin_, pqFromHelixFit(), Propagator::propagate(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, TrackingRegion::ptMin(), edm::OwnVector< T, P >::push_back(), region_, FreeTrajectoryState::rescaleError(), rescaleError_, seedOnMiddle_, seedVerbosity_, OrderedHitTriplets::size(), mathSSE::sqrt(), std::swap(), thePropagatorAl, thePropagatorOp, theUpdator, tracker, KFUpdator::update(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce(), and ~SimpleCosmicBONSeeder().
bool SimpleCosmicBONSeeder::triplets | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) |
ctfseeding SeedinHits and their iterators
Transient Tracking RecHits (not anymore....)
Checks on the cluster charge and on noisy modules
Now actually filling in the charges for all the clusters
Definition at line 175 of file SimpleCosmicBONSeeder.cc.
References checkCharge(), checkCharge_, checkMaxHitsPerModule_, checkNoisyModules(), gather_cfg::cout, edm::Event::getByToken(), goodHitsPerSeed_, goodTriplet(), helixVerbosity_, GlobalTrackingRegion::hits(), hitTriplets, training_settings::idx, MagneticField::inTesla(), LayerTriplets::layers(), eostools::ls(), magfield, maxTriplets_, negativeYOnly, SeedingLayerSetsHits::numberOfLayersInSet(), positiveYOnly, pqFromHelixFit(), TrackingRegion::ptMin(), region_, seedingLayerToken_, OrderedHitTriplets::size(), SeedingLayerSetsHits::size(), jetUpdater_cfi::sort, tripletsVerbosity_, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce(), and ~SimpleCosmicBONSeeder().
|
private |
Definition at line 63 of file SimpleCosmicBONSeeder.h.
Referenced by init(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 92 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 84 of file SimpleCosmicBONSeeder.h.
Referenced by produce().
|
private |
Definition at line 90 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 93 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 78 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 62 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder().
|
private |
Definition at line 89 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 73 of file SimpleCosmicBONSeeder.h.
Referenced by pqFromHelixFit(), and triplets().
|
private |
Definition at line 87 of file SimpleCosmicBONSeeder.h.
Referenced by produce(), seeds(), and triplets().
|
private |
Definition at line 75 of file SimpleCosmicBONSeeder.h.
Referenced by init(), pqFromHelixFit(), produce(), seeds(), and triplets().
|
private |
Definition at line 91 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 94 of file SimpleCosmicBONSeeder.h.
Referenced by checkNoisyModules(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 85 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 85 of file SimpleCosmicBONSeeder.h.
Referenced by triplets().
|
private |
Definition at line 101 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 67 of file SimpleCosmicBONSeeder.h.
Referenced by seeds(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 100 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 66 of file SimpleCosmicBONSeeder.h.
Referenced by seeds(), SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 71 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 65 of file SimpleCosmicBONSeeder.h.
Referenced by triplets().
|
private |
Definition at line 70 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 73 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 80 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 81 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 79 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 76 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 73 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), checkNoisyModules(), goodTriplet(), and triplets().
|
private |
Definition at line 77 of file SimpleCosmicBONSeeder.h.
Referenced by init().
|
private |
Definition at line 68 of file SimpleCosmicBONSeeder.h.
Referenced by produce(), and SimpleCosmicBONSeeder().