Forward port of Hcal pre-mixing from PR4325

This is forward port by hand of PR 4325, which cannot be merged due to random number thread safity modifications in 7_1_X.

This PR fix pre-mixing for Hcal.

For some reason its peak up PR 4306, which is being validated and is OK but should not go together.
The PR was 4325. Its a bug fix.

On Jun 26, 2014, at 9:26 AM, StoyanStoynev <notifications@github.com>
 wrote:

> In EventFilter/HcalRawToDigi/src/HcalHTRData.cc:
> 
> > @@ -248,7 +248,7 @@ void HcalHTRData::pack(unsigned char* daq_lengths, unsigned short* daq_samples,
> >    for (ichan=0; ichan<24; ichan++) {
> >      unsigned short chanid=((ichan%3)+((ichan/3)<<2))<<11;
> >      for (isample=0; isample<daq_lengths[ichan] && isample<MAXIMUM_SAMPLES_PER_CHANNEL; isample++) {
> > -      unsigned short basedata=daq_samples[ichan*MAXIMUM_SAMPLES_PER_CHANNEL+isample]&0x3FF;
> > +      unsigned short basedata=daq_samples[ichan*MAXIMUM_SAMPLES_PER_CHANNEL+isample]&0x7FF;
> 
> @civanch , which PR changed this in 70X? Is this supposed to work with any data ("old", "new"), could you please explain the intended change 0x3FF -> 0x7FF?
> 
> —
> Reply to this email directly or view it on GitHub.
>