#include <RecoLocalCalo/Castor/src/CastorClusterProducer.cc>
Public Member Functions | |
CastorClusterProducer (const edm::ParameterSet &) | |
~CastorClusterProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 Types | |
typedef std::vector< reco::CastorCluster > | CastorClusterCollection |
typedef std::vector< reco::CastorTower > | CastorTowerCollection |
typedef ROOT::Math::RhoZPhiPoint | CellPoint |
typedef math::XYZPointD | Point |
typedef ROOT::Math::RhoEtaPhiPoint | TowerPoint |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
double | phiangle (double testphi) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::string | basicjets_ |
bool | clusteralgo_ |
std::string | input_ |
edm::EDGetTokenT< CastorTowerCollection > | tok_input_ |
edm::EDGetTokenT< reco::BasicJetCollection > | tok_jets_ |
edm::EDGetTokenT< CastorTowerCollection > | tok_tower_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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::EDProducer | |
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) |
Description: CastorCluster Reconstruction Producer. Produces Clusters from Towers Implementation:
Definition at line 50 of file CastorClusterProducer.cc.
|
private |
Definition at line 66 of file CastorClusterProducer.cc.
|
private |
Definition at line 65 of file CastorClusterProducer.cc.
|
private |
Definition at line 64 of file CastorClusterProducer.cc.
|
private |
Definition at line 62 of file CastorClusterProducer.cc.
|
private |
Definition at line 63 of file CastorClusterProducer.cc.
|
explicit |
Definition at line 87 of file CastorClusterProducer.cc.
References basicjets_, input_, tok_input_, tok_jets_, and tok_tower_.
CastorClusterProducer::~CastorClusterProducer | ( | ) |
Definition at line 102 of file CastorClusterProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 251 of file CastorClusterProducer.cc.
References LogDebug.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 257 of file CastorClusterProducer.cc.
References DEFINE_FWK_MODULE, and LogDebug.
|
private |
|
overrideprivatevirtual |
Definition at line 114 of file CastorClusterProducer.cc.
References funct::abs(), basicjets_, clusteralgo_, particleFlowClusterECALTimeSelected_cfi::depth, reco::CastorTower::depth(), reco::CastorTower::emEnergy(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), reco::CastorTower::fhot(), edm::Event::getByToken(), reco::Jet::getJetConstituents(), reco::CastorTower::hadEnergy(), mps_fire::i, edm::Ref< C, T, F >::id(), input_, checklumidiff::l, LogDebug, module::module(), eostools::move(), ecaldqm::nTowers, reco::LeafCandidate::phi(), phiangle(), position, funct::pow(), edm::RefVector< C, T, F >::push_back(), edm::Event::put(), reco::CastorTower::rechitsBegin(), reco::CastorTower::rechitsEnd(), mathSSE::sqrt(), groupFilesInBlocks::temp, tok_input_, tok_jets_, tok_tower_, and ApeEstimator_cff::width.
|
private |
Definition at line 67 of file CastorClusterProducer.cc.
Referenced by CastorClusterProducer(), and produce().
|
private |
Definition at line 71 of file CastorClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 67 of file CastorClusterProducer.cc.
Referenced by CastorClusterProducer(), and produce().
|
private |
Definition at line 68 of file CastorClusterProducer.cc.
Referenced by CastorClusterProducer(), and produce().
|
private |
Definition at line 69 of file CastorClusterProducer.cc.
Referenced by CastorClusterProducer(), and produce().
|
private |
Definition at line 70 of file CastorClusterProducer.cc.
Referenced by CastorClusterProducer(), and produce().