CMS 3D CMS Logo

PFBlockBasedIsolation.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------------------------------
2 //
3 // PfBlockBasedIsolationCalculator.cc
4 // Authors: N. Marinelli Univ. of Notre Dame
5 //--------------------------------------------------------------------------------------------------
6 
7 #ifndef PFBlockBasedIsolation_H
8 #define PFBlockBasedIsolation_H
9 
14 
15 namespace reco {
16  class PFBlockElementCluster;
17 }
18 
20 public:
22 
24 
25  void setup(const edm::ParameterSet& conf);
26 
27 public:
28  std::vector<reco::PFCandidateRef> calculate(math::XYZTLorentzVectorD p4,
29  const reco::PFCandidateRef pfEGCand,
30  const edm::Handle<reco::PFCandidateCollection> pfCandidateHandle);
31 
32 private:
34  bool passesCleaningPhoton(const reco::PFCandidateRef& pfCand, const reco::PFCandidateRef& pfEGCand);
35  bool passesCleaningNeutralHadron(const reco::PFCandidateRef& pfCand, const reco::PFCandidateRef& pfEGCand);
36 
37  bool passesCleaningChargedHadron(const reco::PFCandidateRef& pfCand, const reco::PFCandidateRef& pfEGCand);
38  bool elementPassesCleaning(const reco::PFCandidateRef& pfCand, const reco::PFCandidateRef& pfEGCand);
39 
40 private:
41  double coneSize_;
42 };
43 
44 #endif
Handle.h
PFBlockBasedIsolation::getHighestEtECALCluster
const reco::PFBlockElementCluster * getHighestEtECALCluster(const reco::PFCandidate &pfCand)
Definition: PFBlockBasedIsolation.cc:119
PFCandidate.h
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
PFBlockBasedIsolation::calculate
std::vector< reco::PFCandidateRef > calculate(math::XYZTLorentzVectorD p4, const reco::PFCandidateRef pfEGCand, const edm::Handle< reco::PFCandidateCollection > pfCandidateHandle)
Definition: PFBlockBasedIsolation.cc:21
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
PFBlockBasedIsolation::~PFBlockBasedIsolation
~PFBlockBasedIsolation()
Definition: PFBlockBasedIsolation.cc:17
PFBlockBasedIsolation::passesCleaningPhoton
bool passesCleaningPhoton(const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand)
Definition: PFBlockBasedIsolation.cc:94
PFBlockBasedIsolation::passesCleaningNeutralHadron
bool passesCleaningNeutralHadron(const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand)
Definition: PFBlockBasedIsolation.cc:88
edm::Handle
Definition: AssociativeIterator.h:50
PFBlockBasedIsolation::setup
void setup(const edm::ParameterSet &conf)
Definition: PFBlockBasedIsolation.cc:19
edm::Ref< PFCandidateCollection >
edm::ParameterSet
Definition: ParameterSet.h:47
p4
double p4[4]
Definition: TauolaWrapper.h:92
PFBlockBasedIsolation::coneSize_
double coneSize_
Definition: PFBlockBasedIsolation.h:41
PFBlockBasedIsolation::elementPassesCleaning
bool elementPassesCleaning(const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand)
Definition: PFBlockBasedIsolation.cc:67
reco::PFBlockElementCluster
Cluster Element.
Definition: PFBlockElementCluster.h:16
PFBlockBasedIsolation::passesCleaningChargedHadron
bool passesCleaningChargedHadron(const reco::PFCandidateRef &pfCand, const reco::PFCandidateRef &pfEGCand)
Definition: PFBlockBasedIsolation.cc:80
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:41
ParameterSet.h
PFBlockBasedIsolation
Definition: PFBlockBasedIsolation.h:19
PFCandidateFwd.h
PFBlockBasedIsolation::PFBlockBasedIsolation
PFBlockBasedIsolation()
Definition: PFBlockBasedIsolation.cc:12