6 #include "TLorentzVector.h"
14 vector<fastjet::PseudoJet> constit_pseudojets =
jet.constituents();
23 if (constit_pseudojets.size() < 2) {
28 for (
int i=0;
i<6;
i++){
33 double jeta = m_useEtaInsteadOfY ?
jet.eta() :
jet.rapidity();
36 const fastjet::PseudoJet &constit = *cit;
38 double dphi =
jet.delta_phi_to(constit);
39 double ceta = m_useEtaInsteadOfY ? constit.eta() : constit.rapidity();
41 TVector2 r_i(ceta-jeta, dphi);
42 T[2] += (ceta*ceta) - (jeta*jeta);
43 T[3] += r_i.X() * r_i.Y();
44 T[4] += r_i.Y() * r_i.X();
45 T[5] += (constit.phi_std() * constit.phi_std()) - (
jet.phi_std() *
jet.phi_std());
46 r_i *= (constit.pt() * r_i.Mod());
51 T[0] = r_pull.Mod()/
jet.pt();