rivet is hosted by Hepforge, IPPP Durham
Cuttable< fastjet::PseudoJet > Class Template Reference
Inheritance diagram for Cuttable< fastjet::PseudoJet >:
Collaboration diagram for Cuttable< fastjet::PseudoJet >:

List of all members.

Public Member Functions

 Cuttable (const fastjet::PseudoJet &pjet)
double getValue (Cuts::Quantity qty) const

Private Attributes

const fastjet::PseudoJet & pjet_

Detailed Description

template<>
class Rivet::Cuttable< fastjet::PseudoJet >

Definition at line 317 of file Cuts.cc.


Constructor & Destructor Documentation

Cuttable ( const fastjet::PseudoJet &  pjet) [inline]

Definition at line 319 of file Cuts.cc.

: pjet_(pjet) {}

Member Function Documentation

double getValue ( Cuts::Quantity  qty) const [inline, virtual]

Implements CuttableBase.

Definition at line 320 of file Cuts.cc.

References Rivet::Cuts::eta, Rivet::Cuts::mass, Rivet::Cuts::phi, Rivet::Cuts::pT, Rivet::qty_not_found(), and Rivet::Cuts::rap.

                                            {
      switch ( qty ) {
      case Cuts::pT:   return pjet_.perp();
      case Cuts::mass: return pjet_.m();
      case Cuts::rap:  return pjet_.rap();
      case Cuts::eta:  return pjet_.eta();
      case Cuts::phi:  return pjet_.phi();
      default: qty_not_found();
      }
      return -999.;
    }

Member Data Documentation

const fastjet::PseudoJet& pjet_ [private]

Definition at line 332 of file Cuts.cc.


The documentation for this class was generated from the following file: