8 #include "StRoot/StEEmcPool/./EEmcTreeContainers/EEmc2ParticleCandidate.h"
20 if( child1->E < child2->E ){
26 hitIdx1 = child1->hitIdx1;
27 hitIdx2 = child2->hitIdx1;
29 E = child1->E + child2->E;
30 Z = E ? ( child1->E - child2->E ) / E : 0;
31 position = ( child1->position + child2->position ) * 0.5;
32 momentum = ( child1->momentum + child2->momentum );
33 D = ( child1->position - child2->position ).Mag();
36 M = E*E - momentum.Mag2();
37 M = ( M > 0 ? sqrt(M) : -sqrt(-M) );