CMS 3D CMS Logo

Public Member Functions | Public Attributes

gen::JetMatching::JetPartonMatch Struct Reference

#include <JetMatching.h>

List of all members.

Public Member Functions

bool hasJet () const
bool hasParton () const
bool isMatch () const
 JetPartonMatch (const HepMC::FourVector &parton, int pdgId)
 JetPartonMatch (const HepMC::FourVector &jet)
 JetPartonMatch (const HepMC::FourVector &parton, const HepMC::FourVector &jet, double delta, int pdgId)

Public Attributes

double delta
HepMC::FourVector jet
HepMC::FourVector parton
int pdgId

Detailed Description

Definition at line 31 of file JetMatching.h.


Constructor & Destructor Documentation

gen::JetMatching::JetPartonMatch::JetPartonMatch ( const HepMC::FourVector &  parton,
const HepMC::FourVector &  jet,
double  delta,
int  pdgId 
) [inline]

Definition at line 32 of file JetMatching.h.

gen::JetMatching::JetPartonMatch::JetPartonMatch ( const HepMC::FourVector &  parton,
int  pdgId 
) [inline]

Definition at line 39 of file JetMatching.h.

                                                               :
                        parton(parton), delta(-1.0), pdgId(pdgId) {}
gen::JetMatching::JetPartonMatch::JetPartonMatch ( const HepMC::FourVector &  jet) [inline]

Definition at line 43 of file JetMatching.h.

                                                           :
                        jet(jet), delta(-1.0), pdgId(0) {}

Member Function Documentation

bool gen::JetMatching::JetPartonMatch::hasJet ( ) const [inline]

Definition at line 48 of file JetMatching.h.

References delta, and pdgId.

{ return delta >= 0 || !pdgId; }
bool gen::JetMatching::JetPartonMatch::hasParton ( ) const [inline]

Definition at line 47 of file JetMatching.h.

References pdgId.

{ return pdgId; }
bool gen::JetMatching::JetPartonMatch::isMatch ( ) const [inline]

Definition at line 46 of file JetMatching.h.

References delta, and pdgId.

{ return delta >= 0 && pdgId; }

Member Data Documentation

Definition at line 52 of file JetMatching.h.

Referenced by hasJet(), and isMatch().

Definition at line 51 of file JetMatching.h.

Definition at line 50 of file JetMatching.h.

Definition at line 53 of file JetMatching.h.

Referenced by hasJet(), hasParton(), and isMatch().