18 class ERecombination {
21 class EtRecombination {
24 class PRecombination {
27 class PtRecombination {
36 for(ProtoJet::Constituents::const_iterator
i = fConstituents.begin();
i != fConstituents.end(); ++
i) {
38 double weight = weightMaker.weight (*c);
56 : mConstituents (fConstituents),
67 mConstituents (fConstituents),
90 sortByEtRef (&result);
95 if (!
mOrdered)
std::cerr <<
"ProtoJet::getPresortedTowerList-> ERROR: constituents are not sorted." << std::endl;
121 mP4 = calculateLorentzVectorRecombination <EtRecombination> (
mConstituents);
virtual double energy() const =0
energy
JetReco::InputCollection Constituents
virtual double et() const =0
transverse energy
void setPileup(float fEnergy)
Set pileup energy contribution as calculated by algorithm.
virtual double pt() const =0
transverse momentum
const Constituents & getTowerList()
void setJetArea(float fArea)
Set Jet area as calculated by algorithm.
Constituents mConstituents
float mJetArea
Parameters returning from algorithms.
virtual double p() const =0
magnitude of momentum vector
float jetArea() const
Jet area as calculated by algorithm.
void calculateLorentzVectorEtRecombination()
math::XYZTLorentzVector LorentzVector
void setNPasses(int fPasses)
Set number of passes taken by algorithm.
const Constituents & getPresortedTowerList() const
float pileup() const
pileup energy contribution as calculated by algorithm
void calculateLorentzVectorERecombination()
void calculateLorentzVector()
int nPasses() const
number of passes taken by algorithm
void putTowers(const Constituents &towers)
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector