test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MatchedPartons.h
Go to the documentation of this file.
1 #ifndef MatchedParton_H
2 #define MatchedParton_H
3 
4 #include <vector>
5 //#include "DataFormats/Candidate/interface/Candidate.h"
6 //#include "DataFormats/Candidate/interface/CandidateFwd.h"
9 
10 namespace reco
11 {
12 
14 {
15  public:
16 
20  GenParticleRef n2,
21  GenParticleRef n3,
22  GenParticleRef pd,
23  GenParticleRef ad
24  ) :
25  m_heaviest(hv),
26  m_nearest2(n2),
27  m_nearest3(n3),
28  m_PhysDef(pd),
29  m_AlgoDef(ad) { }
30 
31  //Return the ParticleRef for the heaviest flavour in the signal cone
32  const GenParticleRef heaviest() const {return m_heaviest;}
33 
34  //Return the ParticleRef for the nearest parton (status=2)
35  const GenParticleRef & nearest_status2() const {return m_nearest2;}
36 
37  //Return the ParticleRef for the nearest parton (status=3)
38  const GenParticleRef & nearest_status3() const {return m_nearest3;}
39 
40  //Return the ParticleRef for the Physics Definition parton
42 
43  //Return the ParticleRef for the Algorithmic Definition parton
44  const GenParticleRef & algoDefinitionParton() const {return m_AlgoDef;}
45 
46  private:
47 
53 
54 };
55 
56 }
57 #endif
MatchedPartons(GenParticleRef hv, GenParticleRef n2, GenParticleRef n3, GenParticleRef pd, GenParticleRef ad)
const GenParticleRef & nearest_status3() const
susybsm::HSCParticleRefVector hv
Definition: classes.h:28
GenParticleRef m_AlgoDef
const GenParticleRef & algoDefinitionParton() const
GenParticleRef m_nearest2
GenParticleRef m_PhysDef
const GenParticleRef & nearest_status2() const
const GenParticleRef heaviest() const
GenParticleRef m_nearest3
const GenParticleRef & physicsDefinitionParton() const
GenParticleRef m_heaviest