CMS 3D CMS Logo

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 
13  public:
16  : m_heaviest(hv), m_nearest2(n2), m_nearest3(n3), m_PhysDef(pd), m_AlgoDef(ad) {}
17 
18  //Return the ParticleRef for the heaviest flavour in the signal cone
19  const GenParticleRef heaviest() const { return m_heaviest; }
20 
21  //Return the ParticleRef for the nearest parton (status=2)
22  const GenParticleRef& nearest_status2() const { return m_nearest2; }
23 
24  //Return the ParticleRef for the nearest parton (status=3)
25  const GenParticleRef& nearest_status3() const { return m_nearest3; }
26 
27  //Return the ParticleRef for the Physics Definition parton
29 
30  //Return the ParticleRef for the Algorithmic Definition parton
31  const GenParticleRef& algoDefinitionParton() const { return m_AlgoDef; }
32 
33  private:
39  };
40 
41 } // namespace reco
42 #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
fixed size matrix
GenParticleRef m_heaviest