Public Member Functions | |
JetCoreClusterSplitter (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~JetCoreClusterSplitter () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
std::pair< float, float > | closestClusters (const std::vector< float > &distanceMap) |
std::multimap< float, int > | distScore (const std::vector< std::vector< float > > &distanceMap) |
std::vector< SiPixelCluster > | fittingSplit (const SiPixelCluster &aCluster, float expectedADC, int sizeY, int sizeX, float jetZOverRho, unsigned int nSplitted) |
std::multimap< float, int > | secondDistDiffScore (const std::vector< std::vector< float > > &distanceMap) |
std::multimap< float, int > | secondDistScore (const std::vector< std::vector< float > > &distanceMap) |
bool | split (const SiPixelCluster &aCluster, edmNew::DetSetVector< SiPixelCluster >::FastFiller &filler, float expectedADC, int sizeY, int sizeX, float jetZOverRho) |
Private Attributes | |
double | centralMIPCharge_ |
double | chargeFracMin_ |
double | chargePerUnit_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | cores_ |
double | deltaR_ |
double | forceXError_ |
double | forceYError_ |
double | fractionalWidth_ |
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > | pixelClusters_ |
std::string | pixelCPE_ |
double | ptMin_ |
bool | verbose |
edm::EDGetTokenT< reco::VertexCollection > | vertices_ |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 26 of file JetCoreClusterSplitter.cc.
JetCoreClusterSplitter::JetCoreClusterSplitter | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 63 of file JetCoreClusterSplitter.cc.
JetCoreClusterSplitter::~JetCoreClusterSplitter | ( | ) |
Definition at line 85 of file JetCoreClusterSplitter.cc.
|
private |
Definition at line 221 of file JetCoreClusterSplitter.cc.
References mps_fire::i, and hpstanc_transforms::max.
Referenced by distScore(), secondDistDiffScore(), and secondDistScore().
|
private |
Definition at line 257 of file JetCoreClusterSplitter.cc.
References closestClusters(), and edmIntegrityCheck::d.
|
private |
Definition at line 267 of file JetCoreClusterSplitter.cc.
References funct::abs(), ecalMGPA::adc(), centralMIPCharge_, chargePerUnit_, GetRecoTauVFromDQM_MC_cff::cl, gather_cfg::cout, DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, f, forceXError_, forceYError_, fractionalWidth_, mps_fire::i, createfilelist::int, gen::k, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, SiPixelCluster::pixels(), edm::second(), secondDistScore(), findQualityFiles::size, RecoTauValidation_cfi::sizeX, RecoTauValidation_cfi::sizeY, mathSSE::sqrt(), x, and y.
Referenced by split().
void JetCoreClusterSplitter::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 92 of file JetCoreClusterSplitter.cc.
References funct::abs(), edmNew::DetSetVector< T >::begin(), EnergyCorrector::c, centralMIPCharge_, SiPixelCluster::charge(), chargeFracMin_, GetRecoTauVFromDQM_MC_cff::cl2, HIInitialJetCoreClusterSplitting_cff::cores, cores_, gather_cfg::cout, deltaR(), deltaR_, edmNew::DetSetVector< T >::end(), f, objects.autophobj::filler, plotBeamSpotDB::first, geometry, edm::EventSetup::get(), edm::Event::getByToken(), edmNew::DetSetVector< T >::id(), GlobalTrackingGeometry::idToDet(), GlobalTrackingGeometry::idToDetUnit(), metsig::jet, PixelClusterParameterEstimator::localParametersV(), SiPixelCluster::minPixelRow(), reco::Candidate::momentum(), eostools::move(), convertSQLitetoXML_cfg::output, pixelClusters_, pixelCPE_, reco::Vertex::position(), createTree::pp, edm::ESHandle< T >::product(), ptMin_, edm::Event::put(), MetAnalyzer::pv(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), SiPixelCluster::setSplitClusterErrorX(), SiPixelCluster::setSplitClusterErrorY(), SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), split(), mathSSE::sqrt(), GeomDet::surface(), Surface::toGlobal(), ecalDrivenElectronSeedsParameters_cff::vertices, vertices_, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 237 of file JetCoreClusterSplitter.cc.
References closestClusters(), and edmIntegrityCheck::d.
|
private |
Definition at line 247 of file JetCoreClusterSplitter.cc.
References closestClusters(), and edmIntegrityCheck::d.
Referenced by fittingSplit().
|
private |
Definition at line 199 of file JetCoreClusterSplitter.cc.
References edmNew::DetSetVector< T >::FastFiller::begin(), SiPixelCluster::charge(), GetRecoTauVFromDQM_MC_cff::cl2, edmNew::DetSetVector< T >::FastFiller::end(), fittingSplit(), mps_fire::i, SiPixelCluster::minPixelRow(), and edmNew::DetSetVector< T >::FastFiller::push_back().
Referenced by produce().
|
private |
Definition at line 60 of file JetCoreClusterSplitter.cc.
Referenced by fittingSplit(), and produce().
|
private |
Definition at line 52 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 59 of file JetCoreClusterSplitter.cc.
Referenced by fittingSplit().
|
private |
Definition at line 55 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 51 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 56 of file JetCoreClusterSplitter.cc.
Referenced by fittingSplit().
|
private |
Definition at line 57 of file JetCoreClusterSplitter.cc.
Referenced by fittingSplit().
|
private |
Definition at line 58 of file JetCoreClusterSplitter.cc.
Referenced by fittingSplit().
|
private |
Definition at line 53 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 49 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 50 of file JetCoreClusterSplitter.cc.
Referenced by produce().
|
private |
Definition at line 48 of file JetCoreClusterSplitter.cc.
|
private |
Definition at line 54 of file JetCoreClusterSplitter.cc.
Referenced by produce().