88 auto_ptr<vector<pat::Photon> >
out(
new vector<pat::Photon>());
106 if (pf2pc->contains(pf.id())) {
113 if (origs.
size() == 1) {
120 std::vector<float> vCov = lazyToolsNoZS.localCovariances(*( photon.
superCluster()->seed()));
123 float sigmaIetaIphi = vCov[1];
125 float e15o55 = lazyToolsNoZS.e1x5( *( photon.
superCluster()->seed()) ) / lazyToolsNoZS.e5x5( *( photon.
superCluster()->seed()) );
126 photon.
addUserFloat(
"sigmaIetaIeta_NoZS", sigmaIetaIeta);
127 photon.
addUserFloat(
"sigmaIetaIphi_NoZS", sigmaIetaIphi);
128 photon.
addUserFloat(
"sigmaIphiIphi_NoZS", sigmaIphiIphi);
StringCutObjectSelector< pat::Photon > dropSeedCluster_
Analysis-level Photon class.
reco::SuperClusterRef superCluster() const
override the superCluster method from CaloJet, to access the internal storage of the supercluster ...
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
StringCutObjectSelector< pat::Photon > dropPreshowerClusters_
edm::EDGetTokenT< edm::View< pat::Photon > > src_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
StringCutObjectSelector< pat::Photon > dropSuperClusters_
std::vector< reco::SuperCluster > superCluster_
std::vector< reco::CaloCluster > preshowerClusters_
Place to store electron's preshower clusters internally.
edm::EDGetTokenT< edm::ValueMap< std::vector< reco::PFCandidateRef > > > reco2pf_
std::vector< reco::CaloCluster > seedCluster_
Place to store electron's seed cluster internally.
StringCutObjectSelector< pat::Photon > dropRecHits_
void setPackedPFCandidateCollection(const edm::RefProd< pat::PackedCandidateCollection > &refprod)
References to PFCandidates (e.g. to recompute isolation)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void addUserFloat(const std::string &label, float data)
Set user-defined float.
edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollectionToken_
edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollectionToken_
bool embeddedSuperCluster_
EcalRecHitCollection recHits_
Place to store electron's RecHits internally (5x5 around seed+ all RecHits)
bool embeddedRecHits_
True if RecHits stored internally.
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
void setAssociatedPackedPFCandidates(const edm::RefVector< pat::PackedCandidateCollection > &refvector)
References to PFCandidates linked to this object (e.g. for isolation vetos or masking before jet recl...
edm::EDGetTokenT< pat::PackedCandidateCollection > pc_
StringCutObjectSelector< pat::Photon > saveNonZSClusterShapes_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
bool embeddedSeedCluster_
True if seed cluster is stored internally.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
size_type size() const
Size of the RefVector.
StringCutObjectSelector< pat::Photon > dropBasicClusters_
edm::Ptr< reco::Candidate > refToOrig_
std::vector< reco::CaloCluster > basicClusters_
Place to store electron's basic clusters internally.
edm::SortedCollection< EcalRecHit > EcalRecHitCollection