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) |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 217 of file JetCoreClusterSplitter.cc.
References i.
Referenced by distScore(), secondDistDiffScore(), and secondDistScore().
|
private |
Definition at line 253 of file JetCoreClusterSplitter.cc.
References closestClusters(), ztail::d, and j.
|
private |
Definition at line 263 of file JetCoreClusterSplitter.cc.
References funct::abs(), ecalMGPA::adc(), centralMIPCharge_, chargePerUnit_, GetRecoTauVFromDQM_MC_cff::cl, gather_cfg::cout, alignCSCRings::e, create_public_lumi_plots::exp, forceXError_, forceYError_, fractionalWidth_, i, j, relval_steps::k, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, SiPixelCluster::pixels(), edm::second(), secondDistScore(), findQualityFiles::size, mathSSE::sqrt(), x, and y.
Referenced by split().
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 92 of file JetCoreClusterSplitter.cc.
References edmNew::DetSetVector< T >::begin(), EnergyCorrector::c, centralMIPCharge_, SiPixelCluster::charge(), chargeFracMin_, cores_, gather_cfg::cout, deltaR(), deltaR_, edmNew::DetSetVector< T >::end(), plotBeamSpotDB::first, geometry, edm::EventSetup::get(), edm::Event::getByToken(), edmNew::DetSetVector< T >::id(), metsig::jet, reco::Candidate::momentum(), convertSQLitetoXML_cfg::output, pixelClusters_, pixelCPE_, createTree::pp, 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(), HLT_25ns14e33_v1_cff::vertices, vertices_, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 233 of file JetCoreClusterSplitter.cc.
References closestClusters(), ztail::d, and j.
|
private |
Definition at line 243 of file JetCoreClusterSplitter.cc.
References closestClusters(), ztail::d, and j.
Referenced by fittingSplit().
|
private |
Definition at line 197 of file JetCoreClusterSplitter.cc.
References SiPixelCluster::charge(), fittingSplit(), i, 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().