Main Page
Namespaces
Classes
Package Documentation
AnalysisDataFormats
TopObjects
interface
TtEventPartons.h
Go to the documentation of this file.
1
#ifndef TtEventPartons_h
2
#define TtEventPartons_h
3
4
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
5
6
#include <vector>
7
14
namespace
reco
{
class
Candidate
; }
15
class
TtGenEvent
;
16
17
class
TtEventPartons
{
18
19
public
:
20
22
TtEventPartons
() {};
24
virtual
~TtEventPartons
() {};
25
28
virtual
std::vector<const reco::Candidate*> vec(
const
TtGenEvent
&
genEvt
) = 0;
29
31
void
expand(std::vector<int>& vec);
32
33
protected
:
34
36
reco::Candidate
*
dummyCandidatePtr
()
const
{
return
new
reco::GenParticle
(0,
reco::Particle::LorentzVector
(),
reco::Particle::Point
(), 0, 0,
false
); };
37
39
void
prune(std::vector<const reco::Candidate*>& vec);
40
42
std::vector<bool>
ignorePartons_
;
43
44
};
45
46
#endif
GenParticle.GenParticle
GenParticle
Definition:
GenParticle.py:18
GenParticle.h
reco::Candidate
Definition:
Candidate.h:28
TtEventPartons
Common base class for TtFullLepEvtPartons, TtFullHadEvtPartons and TtSemiLepEvtPartons.
Definition:
TtEventPartons.h:17
TtEventPartons::TtEventPartons
TtEventPartons()
default constructor
Definition:
TtEventPartons.h:22
TtGenEvent
Class derived from the TopGenEvent for ttbar events.
Definition:
TtGenEvent.h:18
TtEventPartons::ignorePartons_
std::vector< bool > ignorePartons_
flag partons that were chosen not to be used
Definition:
TtEventPartons.h:42
reco::Particle::Point
math::XYZPoint Point
point in the space
Definition:
Particle.h:25
TtEventPartons::~TtEventPartons
virtual ~TtEventPartons()
default destructor
Definition:
TtEventPartons.h:24
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:22
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
TtEventPartons::dummyCandidatePtr
reco::Candidate * dummyCandidatePtr() const
return pointer to an empty reco::Candidate
Definition:
TtEventPartons.h:36
reco::Particle::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Particle.h:21
TtGenEvtProducer_cfi.genEvt
genEvt
Definition:
TtGenEvtProducer_cfi.py:7
Generated for CMSSW Reference Manual by
1.8.11