HI @nancymarinelli 
(@Martin-Grunewald can also be interested, as he is going to run the same kind of HLT tests...)

This line is wrong, as the name of the parameter in photonAnalyzer is "phoProducer" and not "photonProducer".
This made some of (independent) HLT tests of mine crash.

At the same time, I realized that this whole PR will also break the DQM sequence for Heavy Ions, again by noticing our HLT HI tests that crashed.

I have prepared a minimal fix for it in
https://github.com/perrotta/cmssw/tree/fixDQMPhotons
(one single commit, two files).

With that fix I get no crashes any more in my tests. However, I have the impression that the HI DQM sequence is still badly performing (just by looking a the warnings I get when running it), and some further adjustment should be probably allowed for it.

If you agree with it, could you please send a pull request with my minimal fix (at least: in order to avoid tests crashing), or with some more complete additional fix of the HI sequence?

Thank you,
            Andrea