CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiPhotonType.h
Go to the documentation of this file.
1 #ifndef HiPhotonType_h
2 #define HiPhotonType_h
3 
7 
11 
14 
17 
20 
21 #include <vector>
22 
24 {
25  public:
26 
29  bool IsIsolated(const reco::GenParticle &pp) ;
30  bool IsIsolatedPP(const reco::GenParticle &pp) ;
31  bool IsIsolatedJP(const reco::GenParticle &pp) ;
32 
33  // bool IsSignal(const reco::Candidate &pp, double dPhi, bool isIso);
34  // int getIndex(const reco::Candidate &pp);
35  double getDeltaR (const reco::Candidate &track1, const reco::Candidate &track2);
36  double getDeltaPhi(const reco::Candidate &track1, const reco::Candidate &track2);
37  double PI;
38 
39  private:
41 
42 };
43 
45 {
46  public:
48  bool IsPrompt(const reco::GenParticle &pp);
49  bool IsIsolated(const reco::GenParticle &pp);
50  // bool IsIsolatedPP(const reco::GenParticle &pp);
51  // bool IsIsolatedJP(const reco::GenParticle &pp);
52  double PI;
53 
54  private:
56 };
57 
58 #endif
59 
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
double getDeltaR(const reco::Candidate &track1, const reco::Candidate &track2)
tuple pp
Definition: createTree.py:15
bool IsIsolated(const reco::GenParticle &pp)
Definition: HiPhotonType.cc:77
bool IsIsolatedJP(const reco::GenParticle &pp)
bool IsIsolatedPP(const reco::GenParticle &pp)
HiPhotonType(edm::Handle< reco::GenParticleCollection > inputHandle)
Definition: HiPhotonType.cc:16
bool IsPrompt(const reco::GenParticle &pp)
Definition: HiPhotonType.cc:39
double getDeltaPhi(const reco::Candidate &track1, const reco::Candidate &track2)
HiGammaJetSignalDef mcisocut
Definition: HiPhotonType.h:55
bool IsIsolated(const reco::GenParticle &pp)
Definition: HiPhotonType.cc:27
const reco::GenParticleCollection * fSigParticles
Definition: HiPhotonType.h:40