DataFormats
JetMatching
interface
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"
7
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
8
#include "
DataFormats/HepMCCandidate/interface/GenParticleFwd.h
"
9
10
namespace
reco
{
11
12
class
MatchedPartons
{
13
public
:
14
MatchedPartons
() {}
15
MatchedPartons
(
GenParticleRef
hv,
GenParticleRef
n2,
GenParticleRef
n3,
GenParticleRef
pd,
GenParticleRef
ad)
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
28
const
GenParticleRef
&
physicsDefinitionParton
()
const
{
return
m_PhysDef
; }
29
30
//Return the ParticleRef for the Algorithmic Definition parton
31
const
GenParticleRef
&
algoDefinitionParton
()
const
{
return
m_AlgoDef
; }
32
33
private
:
34
GenParticleRef
m_heaviest
;
35
GenParticleRef
m_nearest2
;
36
GenParticleRef
m_nearest3
;
37
GenParticleRef
m_PhysDef
;
38
GenParticleRef
m_AlgoDef
;
39
};
40
41
}
// namespace reco
42
#endif
reco::MatchedPartons::MatchedPartons
MatchedPartons(GenParticleRef hv, GenParticleRef n2, GenParticleRef n3, GenParticleRef pd, GenParticleRef ad)
Definition:
MatchedPartons.h:15
edm::Ref< GenParticleCollection >
GenParticle.h
reco::MatchedPartons
Definition:
MatchedPartons.h:12
reco::MatchedPartons::m_AlgoDef
GenParticleRef m_AlgoDef
Definition:
MatchedPartons.h:38
reco::MatchedPartons::nearest_status3
const GenParticleRef & nearest_status3() const
Definition:
MatchedPartons.h:25
reco::MatchedPartons::nearest_status2
const GenParticleRef & nearest_status2() const
Definition:
MatchedPartons.h:22
reco::MatchedPartons::MatchedPartons
MatchedPartons()
Definition:
MatchedPartons.h:14
GenParticleFwd.h
reco::MatchedPartons::m_nearest2
GenParticleRef m_nearest2
Definition:
MatchedPartons.h:35
reco::MatchedPartons::m_PhysDef
GenParticleRef m_PhysDef
Definition:
MatchedPartons.h:37
reco::MatchedPartons::physicsDefinitionParton
const GenParticleRef & physicsDefinitionParton() const
Definition:
MatchedPartons.h:28
reco::MatchedPartons::algoDefinitionParton
const GenParticleRef & algoDefinitionParton() const
Definition:
MatchedPartons.h:31
reco::MatchedPartons::m_nearest3
GenParticleRef m_nearest3
Definition:
MatchedPartons.h:36
reco::MatchedPartons::heaviest
const GenParticleRef heaviest() const
Definition:
MatchedPartons.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::MatchedPartons::m_heaviest
GenParticleRef m_heaviest
Definition:
MatchedPartons.h:34
Generated for CMSSW Reference Manual by
1.8.14