Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimDataFormats
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
13
class
MatchedPartons
14
{
15
public
:
16
17
MatchedPartons
() { }
18
MatchedPartons
(
19
GenParticleRef
hv,
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
41
const
GenParticleRef
&
physicsDefinitionParton
()
const
{
return
m_PhysDef
;}
42
43
//Return the ParticleRef for the Algorithmic Definition parton
44
const
GenParticleRef
&
algoDefinitionParton
()
const
{
return
m_AlgoDef
;}
45
46
private
:
47
48
GenParticleRef
m_heaviest
;
49
GenParticleRef
m_nearest2
;
50
GenParticleRef
m_nearest3
;
51
GenParticleRef
m_PhysDef
;
52
GenParticleRef
m_AlgoDef
;
53
54
};
55
56
}
57
#endif
reco::MatchedPartons::MatchedPartons
MatchedPartons(GenParticleRef hv, GenParticleRef n2, GenParticleRef n3, GenParticleRef pd, GenParticleRef ad)
Definition:
MatchedPartons.h:18
reco::MatchedPartons::nearest_status3
const GenParticleRef & nearest_status3() const
Definition:
MatchedPartons.h:38
GenParticle.h
reco::MatchedPartons
Definition:
MatchedPartons.h:13
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
reco::MatchedPartons::m_AlgoDef
GenParticleRef m_AlgoDef
Definition:
MatchedPartons.h:52
reco::MatchedPartons::algoDefinitionParton
const GenParticleRef & algoDefinitionParton() const
Definition:
MatchedPartons.h:44
reco::MatchedPartons::MatchedPartons
MatchedPartons()
Definition:
MatchedPartons.h:17
GenParticleFwd.h
reco::MatchedPartons::m_nearest2
GenParticleRef m_nearest2
Definition:
MatchedPartons.h:49
reco::MatchedPartons::m_PhysDef
GenParticleRef m_PhysDef
Definition:
MatchedPartons.h:51
reco::MatchedPartons::nearest_status2
const GenParticleRef & nearest_status2() const
Definition:
MatchedPartons.h:35
reco::MatchedPartons::heaviest
const GenParticleRef heaviest() const
Definition:
MatchedPartons.h:32
reco::MatchedPartons::m_nearest3
GenParticleRef m_nearest3
Definition:
MatchedPartons.h:50
reco::MatchedPartons::physicsDefinitionParton
const GenParticleRef & physicsDefinitionParton() const
Definition:
MatchedPartons.h:41
edm::Ref< GenParticleCollection >
reco::MatchedPartons::m_heaviest
GenParticleRef m_heaviest
Definition:
MatchedPartons.h:48
Generated for CMSSW Reference Manual by
1.8.5