Classes | |
struct | Tokens |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
template<typename CollType , typename RefType > | |
std::unique_ptr< CollType > | filterObjs (const trigger::EgammaObjectCollection &egTrigObjs, const edm::Handle< CollType > &objs, std::vector< RefType > &orgRefs, float maxDR2=0.4 *0.4) const |
template<typename RecHitCollection > | |
std::unique_ptr< RecHitCollection > | filterRecHits (const trigger::EgammaObjectCollection &egTrigObjs, const edm::Handle< RecHitCollection > &recHits, const CaloGeometry &geom, float maxDR2=0.4 *0.4) const |
Static Private Member Functions | |
template<typename T , typename H > | |
static std::unique_ptr < edm::ValueMap< T > > | makeValueMap (const H &handle, const std::vector< T > &values) |
Private Attributes | |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > const | caloGeomToken_ |
float | minPtToSaveHits_ |
std::vector< double > | recHitCountThresholds_ |
bool | saveHitsPlusHalfPi_ |
bool | saveHitsPlusPi_ |
const Tokens | tokens_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 80 of file EgammaHLTPhase2ExtraProducer.cc.
|
explicit |
Definition at line 173 of file EgammaHLTPhase2ExtraProducer.cc.
References edm::EDConsumerBase::esConsumes().
|
static |
Definition at line 193 of file EgammaHLTPhase2ExtraProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addVPSet(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, and trackerHitRTTI::vector.
|
private |
Definition at line 309 of file EgammaHLTPhase2ExtraProducer.cc.
References reco::deltaR2(), PVValHelper::eta, edm::HandleBase::isValid(), minPtToSaveHits_, phi, saveHitsPlusHalfPi_, and saveHitsPlusPi_.
Referenced by produce().
|
private |
Definition at line 358 of file EgammaHLTPhase2ExtraProducer.cc.
References reco::deltaR2(), PVValHelper::eta, Exception, CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), hit::id, edm::HandleBase::isValid(), minPtToSaveHits_, phi, saveHitsPlusHalfPi_, saveHitsPlusPi_, and GeomDetEnumerators::subDetGeom.
Referenced by produce().
|
inlinestaticprivate |
Definition at line 145 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by produce().
|
overridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 220 of file EgammaHLTPhase2ExtraProducer.cc.
References caloGeomToken_, submitPVResolutionJobs::count, EgammaHLTPhase2ExtraProducer::Tokens::egTrigObjs, edmPickEvents::event, filterObjs(), filterRecHits(), edm::EventSetup::getHandle(), patZpeak::handle, EgammaHLTPhase2ExtraProducer::Tokens::hgcal, hgcalLayerClusters_cff::hgcalLayerClusters, EgammaHLTPhase2ExtraProducer::Tokens::hgcalLayerClusters, EgammaHLTPhase2ExtraProducer::Tokens::hgcalLayerClustersTime, edm::OrphanHandleBase::id(), TTTrackTruthPair< T >::StatusFlags::IsCombinatoric, TTTrackTruthPair< T >::StatusFlags::IsGenuine, TTTrackTruthPair< T >::StatusFlags::IsLooselyGenuine, TTTrackTruthPair< T >::StatusFlags::IsUnknown, submitPVResolutionJobs::key, EgammaHLTPhase2ExtraProducer::Tokens::l1Trks, EgammaHLTPhase2ExtraProducer::Tokens::l1TrkToTrkPartMap, makeValueMap(), eostools::move(), recHitCountThresholds_, HLT_FULL_cff::recHits, edm::refToPtr(), AlCaHLTBitMon_QueryRunRegistry::string, lowPtGsfElectronSeeds_cfi::thresholds(), tokens_, and EgammaHLTPhase2ExtraProducer::Tokens::trkParts.
|
private |
Definition at line 155 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by produce().
|
private |
Definition at line 157 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by filterObjs(), and filterRecHits().
|
private |
Definition at line 160 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by produce().
|
private |
Definition at line 159 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by filterObjs(), and filterRecHits().
|
private |
Definition at line 158 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by filterObjs(), and filterRecHits().
|
private |
Definition at line 153 of file EgammaHLTPhase2ExtraProducer.cc.
Referenced by produce().