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
reco::MatchedPartons::physicsDefinitionParton
const GenParticleRef & physicsDefinitionParton() const
Definition: MatchedPartons.h:28
reco::MatchedPartons::m_nearest2
GenParticleRef m_nearest2
Definition: MatchedPartons.h:35
reco::MatchedPartons::m_nearest3
GenParticleRef m_nearest3
Definition: MatchedPartons.h:36
reco::MatchedPartons::m_PhysDef
GenParticleRef m_PhysDef
Definition: MatchedPartons.h:37
reco::MatchedPartons::nearest_status2
const GenParticleRef & nearest_status2() const
Definition: MatchedPartons.h:22
reco::MatchedPartons::algoDefinitionParton
const GenParticleRef & algoDefinitionParton() const
Definition: MatchedPartons.h:31
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
edm::Ref< GenParticleCollection >
GenParticle.h
reco::MatchedPartons::heaviest
const GenParticleRef heaviest() const
Definition: MatchedPartons.h:19
GenParticleFwd.h
reco::MatchedPartons::m_AlgoDef
GenParticleRef m_AlgoDef
Definition: MatchedPartons.h:38
reco::MatchedPartons::MatchedPartons
MatchedPartons(GenParticleRef hv, GenParticleRef n2, GenParticleRef n3, GenParticleRef pd, GenParticleRef ad)
Definition: MatchedPartons.h:15
reco::MatchedPartons::m_heaviest
GenParticleRef m_heaviest
Definition: MatchedPartons.h:34
reco::MatchedPartons::MatchedPartons
MatchedPartons()
Definition: MatchedPartons.h:14
reco::MatchedPartons
Definition: MatchedPartons.h:12
reco::MatchedPartons::nearest_status3
const GenParticleRef & nearest_status3() const
Definition: MatchedPartons.h:25