13{
14 vector<fastjet::PseudoJet> constit_pseudojets = jet.constituents();
22
23 if (constit_pseudojets.size() < 2) {
25 }
26
28 for (
int i=0;
i<6;
i++){
30 }
31
32 TVector2 r_pull;
34
35 for(vector<fastjet::PseudoJet>::iterator cit = constit_pseudojets.begin(); cit != constit_pseudojets.end(); ++cit) {
36 const fastjet::PseudoJet &constit = *cit;
37
38 double dphi = jet.delta_phi_to(constit);
40
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());
47 r_pull += r_i;
48 }
49
50 if(jet.pt() != 0) {
51 T[0] = r_pull.Mod()/jet.pt();
52 }
53
54 T[1] = TVector2::Phi_mpi_pi(r_pull.Phi());
55
62
64}