@@ -496,6 +496,10 @@ struct photonhbt {
496496 // / Defined early so all histogram-booking and fill functions can use it.
497497
498498 struct PairQAObservables {
499+ // photon four-vectors and pair kinematics
500+ ROOT::Math::PtEtaPhiMVector v1;
501+ ROOT::Math::PtEtaPhiMVector v2;
502+ ROOT::Math::PtEtaPhiMVector k12;
499503 // conversion-point coordinates
500504 float x1 = 0 .f, y1 = 0 .f, z1 = 0 .f;
501505 float x2 = 0 .f, y2 = 0 .f, z2 = 0 .f;
@@ -510,10 +514,6 @@ struct photonhbt {
510514 float opa = 0 .f;
511515 float cosOA = 0 .f;
512516 float drOverCosOA = 0 .f;
513- // photon four-vectors and pair kinematics
514- ROOT::Math::PtEtaPhiMVector v1;
515- ROOT::Math::PtEtaPhiMVector v2;
516- ROOT::Math::PtEtaPhiMVector k12;
517517 float deta = 0 .f, dphi = 0 .f;
518518 float pairEta = 0 .f, pairPhi = 0 .f;
519519 float kt = 0 .f, qinv = 0 .f;
@@ -1566,10 +1566,10 @@ struct photonhbt {
15661566
15671567 PROCESS_SWITCH (photonhbt, processAnalysis, " pairing for analysis" , true );
15681568
1569- template <typename TCollisions,
1570- typename TPhotons,
1571- typename TLegs,
1572- typename TMCParticles,
1569+ template <soa::is_table TCollisions,
1570+ soa::is_table TPhotons,
1571+ soa::is_table TLegs,
1572+ soa::is_table TMCParticles,
15731573 typename TPreslice,
15741574 typename TCut>
15751575 void runPairingMC (TCollisions const & collisions,
0 commit comments