CMS 3D CMS Logo

Public Member Functions | Public Attributes

lhef::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 29 of file JetMatching.h.


Constructor & Destructor Documentation

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

Definition at line 30 of file JetMatching.h.

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

Definition at line 37 of file JetMatching.h.

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

Definition at line 41 of file JetMatching.h.

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

Member Function Documentation

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

Definition at line 46 of file JetMatching.h.

References delta, and pdgId.

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

Definition at line 45 of file JetMatching.h.

References pdgId.

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

Definition at line 44 of file JetMatching.h.

References delta, and pdgId.

{ return delta >= 0 && pdgId; }

Member Data Documentation

Definition at line 50 of file JetMatching.h.

Referenced by hasJet(), and isMatch().

Definition at line 49 of file JetMatching.h.

Definition at line 48 of file JetMatching.h.

Definition at line 51 of file JetMatching.h.

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