21 using namespace reco ;
29 descriptions.
add(
"produceEcalDrivenGsfElectronCores",desc) ;
50 for (
unsigned int i=0 ;
i<pfCandidateCollection->size() ; ++
i )
53 event.put(electrons) ;
73 for(
const auto &convref : extraRef->conversionRef()) {
77 for(
const auto &convref : extraRef->singleLegConversionRef()) {
85 electrons->push_back(*eleCore) ;
88 {
edm::LogWarning(
"GEDGsfElectronCoreProducer")<<
"Both superClusterRef and superClusterBoxRef of pfCandidate.egammaExtraRef() are Null" ; }
void initEvent(edm::Event &event, const edm::EventSetup &setup)
T getParameter(std::string const &) const
GEDGsfElectronCoreProducer(const edm::ParameterSet &conf)
edm::EDGetTokenT< reco::PFCandidateCollection > gedEMUnbiasedTag_
void addOneLegConversion(const reco::ConversionRef &r)
add single ConversionRef to the vector of Refs
virtual ~GEDGsfElectronCoreProducer()
virtual void produce(edm::Event &, const edm::EventSetup &)
void produceElectronCore(const reco::PFCandidate &pfCandidate, reco::GsfElectronCoreCollection *electrons)
void setSuperCluster(const SuperClusterRef &scl)
void setParentSuperCluster(const SuperClusterRef &scl)
std::vector< GsfElectronCore > GsfElectronCoreCollection
ParameterDescriptionBase * add(U const &iLabel, T const &value)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
bool isNull() const
Checks for null.
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
T const * product() const
static void fillDescription(edm::ParameterSetDescription &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Particle reconstructed by the particle flow algorithm.
reco::PFCandidateEGammaExtraRef egammaExtraRef() const
return a reference to the EGamma extra
reco::GsfTrackRef gsfTrackRef() const
void addConversion(const reco::ConversionRef &r)
add single ConversionRef to the vector of Refs
void fillElectronCore(reco::GsfElectronCore *)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")