CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CATopJetAlgorithm Class Reference

#include <CATopJetAlgorithm.h>

Public Member Functions

 CATopJetAlgorithm (const edm::InputTag &mSrc, bool verbose, int algorithm, int useAdjacency, double centralEtaCut, double ptMin, const std::vector< double > &sumEtBins, const std::vector< double > &rBins, const std::vector< double > &ptFracBins, const std::vector< double > &deltarBins, const std::vector< double > &nCellBins, double seedThreshold, bool useMaxTower, double sumEtEtaCut, double etFrac)
 
void run (const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< fastjet::PseudoJet > &hardjetsOutput, boost::shared_ptr< fastjet::ClusterSequence > &fjClusterSeq)
 Find the ProtoJets from the collection of input Candidates. More...
 

Private Member Functions

bool adjacentCells (const fastjet::PseudoJet &jet1, const fastjet::PseudoJet &jet2, const std::vector< fastjet::PseudoJet > &cell_particles, const fastjet::ClusterSequence &theClusterSequence, double nCellMin) const
 
bool decomposeJet (const fastjet::PseudoJet &theJet, const fastjet::ClusterSequence &theClusterSequence, const std::vector< fastjet::PseudoJet > &cell_particles, double ptHard, double nCellMin, double deltarcut, fastjet::PseudoJet &ja, fastjet::PseudoJet &jb, std::vector< fastjet::PseudoJet > &leftovers) const
 

Private Attributes

int algorithm_
 
double centralEtaCut_
 
std::vector< double > deltarBins_
 
double etFrac_
 
std::string jetType_
 
edm::InputTag mSrc_
 
std::vector< double > nCellBins_
 
std::vector< double > ptFracBins_
 
double ptMin_
 
std::vector< double > rBins_
 
double seedThreshold_
 
std::vector< double > sumEtBins_
 
double sumEtEtaCut_
 
int useAdjacency_
 
bool useMaxTower_
 
bool verbose_
 

Detailed Description

Definition at line 46 of file CATopJetAlgorithm.h.

Constructor & Destructor Documentation

CATopJetAlgorithm::CATopJetAlgorithm ( const edm::InputTag mSrc,
bool  verbose,
int  algorithm,
int  useAdjacency,
double  centralEtaCut,
double  ptMin,
const std::vector< double > &  sumEtBins,
const std::vector< double > &  rBins,
const std::vector< double > &  ptFracBins,
const std::vector< double > &  deltarBins,
const std::vector< double > &  nCellBins,
double  seedThreshold,
bool  useMaxTower,
double  sumEtEtaCut,
double  etFrac 
)
inline

Constructor

Definition at line 50 of file CATopJetAlgorithm.h.

64  :
65  mSrc_ (mSrc ),
66  verbose_ (verbose ),
68  useAdjacency_ (useAdjacency ),
69  centralEtaCut_ (centralEtaCut ),
70  ptMin_ (ptMin ),
71  sumEtBins_ (sumEtBins ),
72  rBins_ (rBins ),
73  ptFracBins_ (ptFracBins ),
74  deltarBins_ (deltarBins ),
75  nCellBins_ (nCellBins ),
76  seedThreshold_ (seedThreshold ),
77  useMaxTower_ (useMaxTower ),
78  sumEtEtaCut_ (sumEtEtaCut ),
79  etFrac_ (etFrac )
80 
81  { }
std::vector< double > sumEtBins_
std::vector< double > rBins_
edm::InputTag mSrc_
std::vector< double > ptFracBins_
std::vector< double > deltarBins_
std::vector< double > nCellBins_

Member Function Documentation

bool CATopJetAlgorithm::adjacentCells ( const fastjet::PseudoJet &  jet1,
const fastjet::PseudoJet &  jet2,
const std::vector< fastjet::PseudoJet > &  cell_particles,
const fastjet::ClusterSequence &  theClusterSequence,
double  nCellMin 
) const
private

Definition at line 268 of file CATopJetAlgorithm.cc.

bool CATopJetAlgorithm::decomposeJet ( const fastjet::PseudoJet &  theJet,
const fastjet::ClusterSequence &  theClusterSequence,
const std::vector< fastjet::PseudoJet > &  cell_particles,
double  ptHard,
double  nCellMin,
double  deltarcut,
fastjet::PseudoJet &  ja,
fastjet::PseudoJet &  jb,
std::vector< fastjet::PseudoJet > &  leftovers 
) const
private

Adjacency Requirement ///

Pt Fraction Requirement ///

Definition at line 290 of file CATopJetAlgorithm.cc.

void CATopJetAlgorithm::run ( const std::vector< fastjet::PseudoJet > &  cell_particles,
std::vector< fastjet::PseudoJet > &  hardjetsOutput,
boost::shared_ptr< fastjet::ClusterSequence > &  fjClusterSeq 
)

Find the ProtoJets from the collection of input Candidates.

Definition at line 19 of file CATopJetAlgorithm.cc.

Member Data Documentation

int CATopJetAlgorithm::algorithm_
private

Definition at line 93 of file CATopJetAlgorithm.h.

double CATopJetAlgorithm::centralEtaCut_
private

Definition at line 99 of file CATopJetAlgorithm.h.

std::vector<double> CATopJetAlgorithm::deltarBins_
private

Definition at line 104 of file CATopJetAlgorithm.h.

double CATopJetAlgorithm::etFrac_
private

Definition at line 110 of file CATopJetAlgorithm.h.

std::string CATopJetAlgorithm::jetType_
private

Definition at line 111 of file CATopJetAlgorithm.h.

edm::InputTag CATopJetAlgorithm::mSrc_
private

Definition at line 91 of file CATopJetAlgorithm.h.

std::vector<double> CATopJetAlgorithm::nCellBins_
private

Definition at line 105 of file CATopJetAlgorithm.h.

std::vector<double> CATopJetAlgorithm::ptFracBins_
private

Definition at line 103 of file CATopJetAlgorithm.h.

double CATopJetAlgorithm::ptMin_
private

Definition at line 100 of file CATopJetAlgorithm.h.

std::vector<double> CATopJetAlgorithm::rBins_
private

Definition at line 102 of file CATopJetAlgorithm.h.

double CATopJetAlgorithm::seedThreshold_
private

Definition at line 107 of file CATopJetAlgorithm.h.

std::vector<double> CATopJetAlgorithm::sumEtBins_
private

Definition at line 101 of file CATopJetAlgorithm.h.

double CATopJetAlgorithm::sumEtEtaCut_
private

Definition at line 109 of file CATopJetAlgorithm.h.

int CATopJetAlgorithm::useAdjacency_
private

Definition at line 94 of file CATopJetAlgorithm.h.

bool CATopJetAlgorithm::useMaxTower_
private

Definition at line 108 of file CATopJetAlgorithm.h.

bool CATopJetAlgorithm::verbose_
private

Definition at line 92 of file CATopJetAlgorithm.h.