hi,

this comes from the susy photon channel analyses. we found some potentially undesirable behavior in how certain photons are counted in reffinal like versions of the etmiss. the source of the 'issue' is in reconstruction/missinget/src/metrefinedeletool.cxx:

437        else if ( pegamma-&gt;author(egammaparameters::authorphoton )  ||  pegamma-&gt;author(egammaparameters::authorrconv ) ) 
438       { 
439         // loop on electrons and check if there is overlap between rconv and electrons (in recon from aod overalp had to be removed)    
440         bool isinele = false;
441         egammacontainer::const_iterator fele(elecoll-&gt;begin());
442         egammacontainer::const_iterator lele(elecoll-&gt;end());
443         for ( ; fele != lele; fele++, ie++ )
444         {   
445           // find photons that are also in ele collection 
446           if ( (*fele)-&gt;hassameathenabarcodeexceptversion(**fegamma)) { isinele=true ;}   
447         } 
448         // go on only if photon is not in ele collection
449         //if (isinele == true) { std::cout &lt;&lt; &quot; found photon in ele coll&quot; &lt;&lt; std::endl; }
450         if (isinele == false) {
...


the problem here is they reject the photon if it has a matching electron, but with *no* quality cuts on the electron. this means *all* recovered photons are excluded. they should only be excluded if the electron it matches passes quality cuts so that it would have been added to the missing et as an electron (the purpose of this cut, i would guess, is only to avoid double counting).

there can be cases where the recovered photon (authorrconv) has an electron that is only electronloose isem (likely only loose because it fails the tighter track requirements of tight electron isem defs*) while the photon is photontight. currently then this object would be added as a jet, which is probably not what is desired. for authorphoton photons what the code is doing appears to be ok.

would it be possible to make this bit of the met tool configurable, so that photons have matching electrons would be rejected only if the electron passes the quality cuts used for selecting electrons in the met?

dan