Public Member Functions | |
void | beginRun (edm::Run const &, const edm::EventSetup &) final |
void | produce (edm::Event &evt, const edm::EventSetup &es) final |
ReducedEGProducer (const edm::ParameterSet &ps) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | linkCaloCluster (const reco::CaloClusterPtr &caloCluster, reco::CaloClusterCollection &caloClusters, std::map< reco::CaloClusterPtr, unsigned int > &caloClusterMap) |
void | linkCaloClusters (const reco::SuperCluster &superCluster, reco::CaloClusterCollection &ebeeClusters, std::map< reco::CaloClusterPtr, unsigned int > &ebeeClusterMap, std::unordered_set< DetId > &rechitMap, const edm::Handle< EcalRecHitCollection > &barrelHitHandle, const edm::Handle< EcalRecHitCollection > &endcapHitHandle, CaloTopology const &caloTopology, reco::CaloClusterCollection &esClusters, std::map< reco::CaloClusterPtr, unsigned int > &esClusterMap) |
void | linkConversion (const reco::ConversionRef &convref, reco::ConversionCollection &conversions, std::map< reco::ConversionRef, unsigned int > &conversionMap) |
void | linkConversions (const reco::ConversionRefVector &convrefs, reco::ConversionCollection &conversions, std::map< reco::ConversionRef, unsigned int > &conversionMap) |
void | linkConversionsByTrackRef (const edm::Handle< reco::ConversionCollection > &conversionHandle, const reco::GsfElectron &gsfElectron, reco::ConversionCollection &conversions, std::map< reco::ConversionRef, unsigned int > &conversionMap) |
void | linkConversionsByTrackRef (const edm::Handle< reco::ConversionCollection > &conversionHandle, const reco::SuperCluster &superCluster, reco::ConversionCollection &conversions, std::map< reco::ConversionRef, unsigned int > &conversionMap) |
template<typename T , typename U > | |
void | linkCore (const T &core, U &cores, std::map< T, unsigned int > &coreMap) |
void | linkHcalHits (const reco::SuperCluster &superClus, const HBHERecHitCollection &recHits, std::unordered_set< DetId > &hcalDetIds) |
void | linkSuperCluster (const reco::SuperClusterRef &superCluster, std::map< reco::SuperClusterRef, unsigned int > &superClusterMap, reco::SuperClusterCollection &superClusters, const bool relink, std::unordered_set< unsigned int > &superClusterFullRelinkMap) |
void | relinkCaloClusters (reco::SuperCluster &superCluster, const std::map< reco::CaloClusterPtr, unsigned int > &ebeeClusterMap, const std::map< reco::CaloClusterPtr, unsigned int > &esClusterMap, const edm::OrphanHandle< reco::CaloClusterCollection > &outEBEEClusterHandle, const edm::OrphanHandle< reco::CaloClusterCollection > &outESClusterHandle) |
void | relinkConversions (reco::PhotonCore &photonCore, const reco::ConversionRefVector &convrefs, const std::map< reco::ConversionRef, unsigned int > &conversionMap, const edm::OrphanHandle< reco::ConversionCollection > &outConversionHandle) |
void | relinkGsfElectronCore (reco::GsfElectron &gsfElectron, const std::map< reco::GsfElectronCoreRef, unsigned int > &gsfElectronCoreMap, const edm::OrphanHandle< reco::GsfElectronCoreCollection > &outGsfElectronCoreHandle) |
void | relinkGsfTrack (reco::GsfElectronCore &electroncore, const std::map< reco::GsfTrackRef, unsigned int > &gsfTrackMap, const edm::OrphanHandle< reco::GsfTrackCollection > &outGsfTrackHandle) |
void | relinkPhotonCore (reco::Photon &photon, const std::map< reco::PhotonCoreRef, unsigned int > &photonCoreMap, const edm::OrphanHandle< reco::PhotonCoreCollection > &outPhotonCoreHandle) |
template<typename T > | |
void | relinkSuperCluster (T &core, const std::map< reco::SuperClusterRef, unsigned int > &superClusterMap, const edm::OrphanHandle< reco::SuperClusterCollection > &outSuperClusterHandle) |
template<typename T > | |
void | setToken (edm::EDGetTokenT< T > &token, const edm::ParameterSet &config, const std::string &name) |
template<class T > | |
std::vector< edm::EDPutTokenT < T > > | vproduces (std::vector< std::string > const &labels) |
Static Private Member Functions | |
static void | calibrateElectron (reco::GsfElectron &gsfElectron, const reco::GsfElectronRef &oldEleRef, const edm::ValueMap< float > &energyMap, const edm::ValueMap< float > &energyErrMap, const edm::ValueMap< float > &ecalEnergyMap, const edm::ValueMap< float > &ecalEnergyErrMap) |
static void | calibratePhoton (reco::Photon &photon, const reco::PhotonRef &oldPhoRef, const edm::ValueMap< float > &energyMap, const edm::ValueMap< float > &energyErrMap) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Select subset of electrons and photons from input collections and produced consistently relinked output collections including associated SuperClusters, CaloClusters and ecal RecHits
Definition at line 47 of file ReducedEGProducer.cc.
ReducedEGProducer::ReducedEGProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 265 of file ReducedEGProducer.cc.
References edm::ParameterSet::getParameter(), and label.
|
final |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
final |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 151 of file ReducedEGProducer.cc.
References edm::ParameterSet::getParameter(), and mergeVDriftHistosByStation::name.
|
inlineprivate |
|
private |
Definition at line 183 of file ReducedEGProducer.cc.
|
private |
Definition at line 184 of file ReducedEGProducer.cc.
|
private |
Definition at line 181 of file ReducedEGProducer.cc.
|
private |
Definition at line 182 of file ReducedEGProducer.cc.
|
private |
Definition at line 162 of file ReducedEGProducer.cc.
|
private |
Definition at line 192 of file ReducedEGProducer.cc.
|
private |
Definition at line 159 of file ReducedEGProducer.cc.
|
private |
Definition at line 164 of file ReducedEGProducer.cc.
|
private |
Definition at line 163 of file ReducedEGProducer.cc.
|
private |
Definition at line 190 of file ReducedEGProducer.cc.
|
private |
Definition at line 189 of file ReducedEGProducer.cc.
|
private |
Definition at line 188 of file ReducedEGProducer.cc.
|
private |
Definition at line 187 of file ReducedEGProducer.cc.
|
private |
Definition at line 176 of file ReducedEGProducer.cc.
|
private |
Definition at line 172 of file ReducedEGProducer.cc.
|
private |
Definition at line 169 of file ReducedEGProducer.cc.
|
private |
Definition at line 158 of file ReducedEGProducer.cc.
|
private |
Definition at line 166 of file ReducedEGProducer.cc.
|
private |
Definition at line 231 of file ReducedEGProducer.cc.
|
private |
Definition at line 227 of file ReducedEGProducer.cc.
|
private |
Definition at line 224 of file ReducedEGProducer.cc.
|
private |
Definition at line 221 of file ReducedEGProducer.cc.
|
private |
Definition at line 175 of file ReducedEGProducer.cc.
|
private |
Definition at line 157 of file ReducedEGProducer.cc.
|
private |
Definition at line 201 of file ReducedEGProducer.cc.
|
private |
Definition at line 204 of file ReducedEGProducer.cc.
|
private |
Definition at line 209 of file ReducedEGProducer.cc.
|
private |
Definition at line 210 of file ReducedEGProducer.cc.
|
private |
Definition at line 205 of file ReducedEGProducer.cc.
|
private |
Definition at line 211 of file ReducedEGProducer.cc.
|
private |
Definition at line 199 of file ReducedEGProducer.cc.
|
private |
Definition at line 219 of file ReducedEGProducer.cc.
|
private |
Definition at line 216 of file ReducedEGProducer.cc.
|
private |
Definition at line 214 of file ReducedEGProducer.cc.
|
private |
Definition at line 198 of file ReducedEGProducer.cc.
|
private |
Definition at line 200 of file ReducedEGProducer.cc.
|
private |
Definition at line 212 of file ReducedEGProducer.cc.
|
private |
Definition at line 207 of file ReducedEGProducer.cc.
|
private |
Definition at line 208 of file ReducedEGProducer.cc.
|
private |
Definition at line 197 of file ReducedEGProducer.cc.
|
private |
Definition at line 218 of file ReducedEGProducer.cc.
|
private |
Definition at line 196 of file ReducedEGProducer.cc.
|
private |
Definition at line 206 of file ReducedEGProducer.cc.
|
private |
Definition at line 195 of file ReducedEGProducer.cc.
|
private |
Definition at line 217 of file ReducedEGProducer.cc.
|
private |
Definition at line 215 of file ReducedEGProducer.cc.
|
private |
Definition at line 213 of file ReducedEGProducer.cc.
|
private |
Definition at line 194 of file ReducedEGProducer.cc.
|
private |
Definition at line 202 of file ReducedEGProducer.cc.
|
private |
Definition at line 203 of file ReducedEGProducer.cc.
|
private |
Definition at line 186 of file ReducedEGProducer.cc.
|
private |
Definition at line 185 of file ReducedEGProducer.cc.
|
private |
Definition at line 174 of file ReducedEGProducer.cc.
|
private |
Definition at line 171 of file ReducedEGProducer.cc.
|
private |
Definition at line 168 of file ReducedEGProducer.cc.
|
private |
Definition at line 156 of file ReducedEGProducer.cc.
|
private |
Definition at line 165 of file ReducedEGProducer.cc.
|
private |
Definition at line 178 of file ReducedEGProducer.cc.
|
private |
Definition at line 179 of file ReducedEGProducer.cc.
|
private |
Definition at line 229 of file ReducedEGProducer.cc.
|
private |
Definition at line 226 of file ReducedEGProducer.cc.
|
private |
Definition at line 223 of file ReducedEGProducer.cc.
|
private |
Definition at line 160 of file ReducedEGProducer.cc.
|
private |
Definition at line 228 of file ReducedEGProducer.cc.
|
private |
Definition at line 225 of file ReducedEGProducer.cc.
|
private |
Definition at line 222 of file ReducedEGProducer.cc.