Miscellaneous fixes in DQM/Physics

Changes:

- Jet corrections: temporary with minimum changes in DQMPhysics
- Including solutions to the "SingleTop memory leak" problem:  #4142  and #4143
Hi Giulio,

For these kind of modifications, do I have to make a new pull request or I
can use the one that has just been signed (#4229)?

Thanks,
N.


On 18 June 2014 20:48, Giulio Eulisse <notifications@github.com> wrote:

> In DQM/Physics/interface/TopDQMHelpers.h:
>
> >          if(select_(*obj)){
> > -          if(elecs_gsf->refAt(idx_gsf).isNonnull()){
> > -	    int eID=0;
> > -	    if (!electronId_.isUninitialized()){
> > -	      eID = (int)(*electronId)[elecs_gsf->refAt(idx_gsf)];
> > -	    }
> > -            if( electronId_.isUninitialized() ? true : ( (eID & eidPattern_)  && (eID >= 5) ) )
> > -              ++n;
> > -	
> > -          }
> > +	//  cout<<"Electron is selected"<<endl;
> > +	  if( electronId_.isUninitialized()){
> > +        //    cout<<"No Id is requested"<<endl;		
>
> Please drop commented code. Use LogDebug in place of cout for debug
> statements.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cms-sw/cmssw/pull/4229/files#r13933045>.
>