Transient Jet class used by the reconstruction algorithms. More...
#include <ProtoJet.h>
Public Types | |
typedef JetReco::InputItem | Constituent |
typedef JetReco::InputCollection | Constituents |
typedef math::XYZTLorentzVector | LorentzVector |
Public Member Functions | |
void | calculateLorentzVector () |
void | calculateLorentzVectorERecombination () |
void | calculateLorentzVectorEtRecombination () |
double | e () const |
double | energy () const |
double | et () const |
double | eta () const |
const Constituents & | getPresortedTowerList () const |
const Constituents & | getTowerList () |
Constituents | getTowerList () const |
float | jetArea () const |
Jet area as calculated by algorithm. More... | |
double | m () const |
int | nPasses () const |
number of passes taken by algorithm More... | |
int | numberOfConstituents () const |
double | p () const |
const LorentzVector & | p4 () const |
double | phi () const |
float | pileup () const |
pileup energy contribution as calculated by algorithm More... | |
ProtoJet () | |
ProtoJet (const Constituents &theConstituents) | |
ProtoJet (const LorentzVector &fP4, const Constituents &fConstituents) | |
double | pt () const |
void | putTowers (const Constituents &towers) |
double | px () const |
double | py () const |
double | pz () const |
void | reorderTowers () |
void | setJetArea (float fArea) |
Set Jet area as calculated by algorithm. More... | |
void | setNPasses (int fPasses) |
Set number of passes taken by algorithm. More... | |
void | setPileup (float fEnergy) |
Set pileup energy contribution as calculated by algorithm. More... | |
double | y () const |
~ProtoJet () | |
Private Attributes | |
Constituents | mConstituents |
float | mJetArea |
Parameters returning from algorithms. More... | |
bool | mOrdered |
LorentzVector | mP4 |
int | mPassNumber |
float | mPileupEnergy |
Transient Jet class used by the reconstruction algorithms.
ProtoJet is a transitent class used by the reconstruction algorithms.
Definition at line 25 of file ProtoJet.h.
Definition at line 27 of file ProtoJet.h.
Definition at line 28 of file ProtoJet.h.
Definition at line 30 of file ProtoJet.h.
ProtoJet::ProtoJet | ( | ) |
ProtoJet::ProtoJet | ( | const Constituents & | theConstituents | ) |
ProtoJet::ProtoJet | ( | const LorentzVector & | fP4, |
const Constituents & | fConstituents | ||
) |
Definition at line 65 of file ProtoJet.cc.
|
inline |
|
inline |
Make kinematics from constituents
Definition at line 108 of file ProtoJet.h.
References calculateLorentzVectorERecombination().
Referenced by ProtoJet(), and putTowers().
void ProtoJet::calculateLorentzVectorERecombination | ( | ) |
Definition at line 112 of file ProtoJet.cc.
References trackerHits::c, i, mConstituents, mP4, and reco::Candidate::p4().
Referenced by calculateLorentzVector().
void ProtoJet::calculateLorentzVectorEtRecombination | ( | ) |
|
inline |
Returns the total energy of the jet
Definition at line 67 of file ProtoJet.h.
References mP4.
Referenced by energy(), and CMSMidpointAlgorithm::iterateCone().
|
inline |
|
inline |
|
inline |
const ProtoJet::Constituents & ProtoJet::getPresortedTowerList | ( | ) | const |
Returns the list of presorted towers in a particular protojet
Definition at line 94 of file ProtoJet.cc.
References dtNoiseDBValidation_cfg::cerr, mConstituents, and mOrdered.
const ProtoJet::Constituents & ProtoJet::getTowerList | ( | ) |
Returns the list of towers in a particular protojet
Definition at line 82 of file ProtoJet.cc.
References mConstituents, and reorderTowers().
Referenced by CMSMidpointAlgorithm::iterateCone(), PFRootEventManager::reconstructGenJets(), PFRootEventManager::reconstructPFJets(), and CMSMidpointAlgorithm::splitAndMerge().
ProtoJet::Constituents ProtoJet::getTowerList | ( | ) | const |
float ProtoJet::jetArea | ( | ) | const |
Jet area as calculated by algorithm.
Definition at line 76 of file ProtoJet.cc.
References mJetArea.
Referenced by PFRootEventManager::reconstructGenJets(), and PFRootEventManager::reconstructPFJets().
|
inline |
int ProtoJet::nPasses | ( | ) | const |
number of passes taken by algorithm
Definition at line 80 of file ProtoJet.cc.
References mPassNumber.
Referenced by PFRootEventManager::reconstructGenJets(), and PFRootEventManager::reconstructPFJets().
|
inline |
Returns the number of constituents of the Jet
Definition at line 87 of file ProtoJet.h.
References mConstituents.
|
inline |
Returns the modulus of the momentum of the jet
Definition at line 73 of file ProtoJet.h.
References mP4.
Referenced by y().
|
inline |
Returns a Lorentz vector from the four-momentum components
Definition at line 91 of file ProtoJet.h.
References mP4.
Referenced by CMSMidpointAlgorithm::iterateCone(), PFRootEventManager::reconstructGenJets(), PFRootEventManager::reconstructPFJets(), and CMSMidpointAlgorithm::splitAndMerge().
|
inline |
Returns the azimuthal angle of the jet, Phi
Definition at line 81 of file ProtoJet.h.
References mP4.
Referenced by CMSMidpointAlgorithm::findStableConesFromMidPoints(), CMSMidpointAlgorithm::iterateCone(), and CMSMidpointAlgorithm::splitAndMerge().
float ProtoJet::pileup | ( | ) | const |
pileup energy contribution as calculated by algorithm
Definition at line 78 of file ProtoJet.cc.
References mPileupEnergy.
Referenced by PFRootEventManager::reconstructGenJets(), and PFRootEventManager::reconstructPFJets().
|
inline |
Returns the transverse momentum of the jet
Definition at line 75 of file ProtoJet.h.
References mP4.
Referenced by CMSMidpointAlgorithm::iterateCone(), ProtoJetPtGreater::operator()(), PFRootEventManager::reconstructCaloJets(), and CMSMidpointAlgorithm::splitAndMerge().
void ProtoJet::putTowers | ( | const Constituents & | towers | ) |
Sets the list of towers in a protojet
Definition at line 99 of file ProtoJet.cc.
References calculateLorentzVector(), mConstituents, and mOrdered.
Referenced by CMSMidpointAlgorithm::iterateCone(), and CMSMidpointAlgorithm::splitAndMerge().
|
inline |
Returns the jet momentum component along the x axis
Definition at line 61 of file ProtoJet.h.
References mP4.
|
inline |
Returns the jet momentum component along the y axis
Definition at line 63 of file ProtoJet.h.
References mP4.
|
inline |
Returns the jet momentum component along the z axis
Definition at line 65 of file ProtoJet.h.
References mP4.
void ProtoJet::reorderTowers | ( | ) |
Reorder towers by eT
Definition at line 105 of file ProtoJet.cc.
References mConstituents, and mOrdered.
Referenced by getTowerList().
void ProtoJet::setJetArea | ( | float | fArea | ) |
Set Jet area as calculated by algorithm.
Definition at line 75 of file ProtoJet.cc.
References mJetArea.
void ProtoJet::setNPasses | ( | int | fPasses | ) |
Set number of passes taken by algorithm.
Definition at line 79 of file ProtoJet.cc.
References mPassNumber.
void ProtoJet::setPileup | ( | float | fEnergy | ) |
Set pileup energy contribution as calculated by algorithm.
Definition at line 77 of file ProtoJet.cc.
References mPileupEnergy.
|
inline |
Returns the rapidity of the jet
Definition at line 85 of file ProtoJet.h.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), CMSMidpointAlgorithm::findStableConesFromMidPoints(), CMSMidpointAlgorithm::iterateCone(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), and CMSMidpointAlgorithm::splitAndMerge().
|
private |
Jet constituents
Definition at line 119 of file ProtoJet.h.
Referenced by calculateLorentzVectorERecombination(), calculateLorentzVectorEtRecombination(), getPresortedTowerList(), getTowerList(), numberOfConstituents(), putTowers(), and reorderTowers().
|
private |
Parameters returning from algorithms.
Definition at line 122 of file ProtoJet.h.
Referenced by jetArea(), and setJetArea().
|
private |
Definition at line 120 of file ProtoJet.h.
Referenced by getPresortedTowerList(), getTowerList(), putTowers(), and reorderTowers().
|
private |
|
private |
Definition at line 124 of file ProtoJet.h.
Referenced by nPasses(), and setNPasses().
|
private |
Definition at line 123 of file ProtoJet.h.
Referenced by pileup(), and setPileup().