#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 |
virtual 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) |
virtual | ~SimpleCosmicBONSeeder () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
bool | checkCharge (const TrackingRecHit *hit) const |
bool | checkCharge (const SiStripRecHit2D &hit, int subdetid) const |
void | checkNoisyModules (const std::vector< TransientTrackingRecHit::RecHitPointer > &hits, std::vector< bool > &oks) const |
Private Attributes | |
std::string | builderName |
std::vector< int32_t > | chargeThresholds_ |
ClusterChecker | check_ |
bool | checkCharge_ |
bool | checkMaxHitsPerModule_ |
edm::ParameterSet | conf_ |
int | goodHitsPerSeed_ |
uint32_t | helixVerbosity_ |
OrderedHitTriplets | hitTriplets |
std::vector< std::string > | layerTripletNames_ |
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_ |
bool | seedOnMiddle_ |
uint32_t | seedVerbosity_ |
SeedingLayerSetsBuilder | theLsb |
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::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Definition at line 38 of file SimpleCosmicBONSeeder.h.
|
explicit |
Definition at line 17 of file SimpleCosmicBONSeeder.cc.
References builderName, chargeThresholds_, checkCharge_, checkMaxHitsPerModule_, conf_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), goodHitsPerSeed_, layerTripletNames_, matchedRecHitUsesAnd_, max(), maxHitsPerModule_, negativeYOnly, pMin_, positiveYOnly, ptmin, region_, AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and writeTriplets_.
|
inlinevirtual |
Definition at line 44 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 306 of file SimpleCosmicBONSeeder.cc.
References cond::rpcobgas::detid, TrackingRecHit::geographicalId(), matchedRecHitUsesAnd_, and DetId::Tracker.
Referenced by triplets().
|
private |
Definition at line 329 of file SimpleCosmicBONSeeder.cc.
References SiStripCluster::amplitudes(), dtNoiseDBValidation_cfg::cerr, DeDxDiscriminatorTools::charge(), chargeThresholds_, SiStripCluster::firstStrip(), and tripletsVerbosity_.
|
private |
Definition at line 342 of file SimpleCosmicBONSeeder.cc.
References dtNoiseDBValidation_cfg::cerr, end, lumiContext::fill, maxHitsPerModule_, min, convertSQLiteXML::ok, DetId::rawId(), dqm_diff::start, DetId::subdetId(), and tripletsVerbosity_.
Referenced by triplets().
void SimpleCosmicBONSeeder::done | ( | ) |
Definition at line 605 of file SimpleCosmicBONSeeder.cc.
References thePropagatorAl, thePropagatorOp, and theUpdator.
Referenced by produce().
bool SimpleCosmicBONSeeder::goodTriplet | ( | const GlobalPoint & | inner, |
const GlobalPoint & | middle, | ||
const GlobalPoint & | outer, | ||
const double & | minRho | ||
) | const |
Definition at line 367 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().
void SimpleCosmicBONSeeder::init | ( | const edm::EventSetup & | c | ) |
Definition at line 124 of file SimpleCosmicBONSeeder.cc.
References alongMomentum, builderName, edm::EventSetup::get(), magfield, oppositeToMomentum, thePropagatorAl, thePropagatorOp, theUpdator, tracker, and TTTRHBuilder.
Referenced by produce().
std::pair< GlobalVector, int > SimpleCosmicBONSeeder::pqFromHelixFit | ( | const GlobalPoint & | inner, |
const GlobalPoint & | middle, | ||
const GlobalPoint & | outer, | ||
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 389 of file SimpleCosmicBONSeeder.cc.
References abs, gather_cfg::cout, helixVerbosity_, magfield, 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(), and triplets().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 84 of file SimpleCosmicBONSeeder.cc.
References check_, TrackingRecHit::clone(), done(), edm::EventSetup::get(), hitTriplets, init(), magfield, convertSQLitetoXML_cfg::output, edm::Event::put(), seeds(), ClusterChecker::tooManyClusters(), triplets(), and writeTriplets_.
bool SimpleCosmicBONSeeder::seeds | ( | TrajectorySeedCollection & | output, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 438 of file SimpleCosmicBONSeeder.cc.
References alongMomentum, FreeTrajectoryState::cartesianError(), gather_cfg::cout, cmsPerfPublish::fail(), hitTriplets, OrderedHitTriplet::inner(), SurfaceOrientation::inner, edm::isNotFinite(), magfield, CartesianTrajectoryError::matrix(), maxSeeds_, OrderedHitTriplet::middle(), oppositeToMomentum, OrderedHitTriplet::outer(), SurfaceOrientation::outer, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), pMin_, pqFromHelixFit(), Propagator::propagate(), LargeD0_PixelPairStep_cff::propagator, edm::OwnVector< T, P >::push_back(), region_, FreeTrajectoryState::rescaleError(), rescaleError_, seedOnMiddle_, seedVerbosity_, OrderedHitTriplets::size(), mathSSE::sqrt(), std::swap(), thePropagatorAl, thePropagatorOp, theUpdator, tracker, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
bool SimpleCosmicBONSeeder::triplets | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) |
ctfseeding SeedinHits and their iterators
Transient Tracking RecHits
Checks on the cluster charge and on noisy modules
Now actually filling in the charges for all the clusters
Definition at line 169 of file SimpleCosmicBONSeeder.cc.
References newFWLiteAna::build, checkCharge(), checkCharge_, checkMaxHitsPerModule_, checkNoisyModules(), gather_cfg::cout, edm::hlt::Exception, goodHitsPerSeed_, goodTriplet(), helixVerbosity_, hitTriplets, customizeTrackingMonitorSeedNumber::idx, SeedingLayerSetsBuilder::layers(), layerTripletNames_, python.rootplot.utilities::ls(), magfield, maxTriplets_, negativeYOnly, positiveYOnly, pqFromHelixFit(), region_, OrderedHitTriplets::size(), python.multivaluedict::sort(), theLsb, tripletsVerbosity_, and PV3DBase< T, PVType, FrameType >::y().
Referenced by produce().
|
private |
Definition at line 60 of file SimpleCosmicBONSeeder.h.
Referenced by init(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 89 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 81 of file SimpleCosmicBONSeeder.h.
Referenced by produce().
|
private |
Definition at line 87 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 90 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 59 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder().
|
private |
Definition at line 86 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 70 of file SimpleCosmicBONSeeder.h.
Referenced by pqFromHelixFit(), and triplets().
|
private |
Definition at line 84 of file SimpleCosmicBONSeeder.h.
Referenced by produce(), seeds(), and triplets().
|
private |
Definition at line 71 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 73 of file SimpleCosmicBONSeeder.h.
Referenced by init(), pqFromHelixFit(), produce(), seeds(), and triplets().
|
private |
Definition at line 88 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 91 of file SimpleCosmicBONSeeder.h.
Referenced by checkNoisyModules(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 82 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 82 of file SimpleCosmicBONSeeder.h.
Referenced by triplets().
|
private |
Definition at line 98 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 64 of file SimpleCosmicBONSeeder.h.
Referenced by seeds(), and SimpleCosmicBONSeeder().
|
private |
Definition at line 97 of file SimpleCosmicBONSeeder.h.
Referenced by SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 63 of file SimpleCosmicBONSeeder.h.
Referenced by seeds(), SimpleCosmicBONSeeder(), and triplets().
|
private |
Definition at line 68 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 67 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 70 of file SimpleCosmicBONSeeder.h.
Referenced by seeds().
|
private |
Definition at line 62 of file SimpleCosmicBONSeeder.h.
Referenced by triplets().
|
private |
Definition at line 77 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 78 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 76 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 74 of file SimpleCosmicBONSeeder.h.
|
private |
Definition at line 70 of file SimpleCosmicBONSeeder.h.
Referenced by checkCharge(), checkNoisyModules(), goodTriplet(), and triplets().
|
private |
Definition at line 75 of file SimpleCosmicBONSeeder.h.
Referenced by init().
|
private |
Definition at line 65 of file SimpleCosmicBONSeeder.h.
Referenced by produce(), and SimpleCosmicBONSeeder().