guard the nPho histograms from double counting, should fix HI issues

In HI reco DQM, photons are being double-counted because in HI RECO we do not pre-select at the RECO level for isolated photons. Since most HI photons are not isolated according to the default cuts they have type==0 and get double-counted. 
Not my business, but that changes the logic, does it not?

On Thu Nov 27 2014 at 6:55:32 PM David Lange <notifications@github.com>
wrote:

> In DQMOffline/EGamma/plugins/PhotonAnalyzer.cc:
>
> > @@ -887,8 +887,11 @@ void PhotonAnalyzer::analyze( const edm::Event& e, const edm::EventSetup& esup )
> >    	//filling photon histograms
> >  	nPho[cut][0][0]++;
> >  	nPho[cut][0][part]++;
> > -	nPho[cut][type][0]++;
> > -	nPho[cut][type][part]++;
> > +	if(type != 0)
> > +	{
> > +	  nPho[cut][type][0]++;
> > +	  nPho[cut][type][part]++;
> > +	}
>
> why not just remove all of the added lines and replace [0] by [type] in
> the two lines above?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cms-sw/cmssw/pull/6574/files#r21006980>.
>