Skip to content

Commit

Permalink
Merge pull request #1784 from mdhildreth/7X_DataMixerFix_for_PreMixing
Browse files Browse the repository at this point in the history
Sim fixes -- Change starting capacitor ID to match MC
  • Loading branch information
ktf committed Dec 12, 2013
2 parents 4e6e13f + 0b74e63 commit a548aef
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions SimGeneral/DataMixingModule/plugins/DataMixingHcalDigiWorker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ namespace edm

unsigned int sizeold = HB_old.size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(HB_old,(HBHEdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HB_old,(HBHEdigis->back()), 1 ); // as per simulation, capid=1
}
}
//save pointers for next iteration
Expand All @@ -542,7 +542,7 @@ namespace edm

unsigned int sizenew = (iHB->second).size();
for(unsigned int isamp = 0; isamp<sizenew; isamp++) {
coder.fC2adc(HB_old,(HBHEdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HB_old,(HBHEdigis->back()), 1 ); // as per simulation, capid=1
}
}
}
Expand Down Expand Up @@ -613,7 +613,7 @@ namespace edm

unsigned int sizeold = HO_old.size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(HO_old,(HOdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HO_old,(HOdigis->back()), 1 ); // as per simulation, capid=1
}
}
//save pointers for next iteration
Expand All @@ -635,7 +635,7 @@ namespace edm

unsigned int sizeold = (iHO->second).size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(HO_old,(HOdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HO_old,(HOdigis->back()), 1 ); // as per simulation, capid=1
}

}
Expand Down Expand Up @@ -706,7 +706,7 @@ namespace edm

unsigned int sizeold = HF_old.size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(HF_old,(HFdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HF_old,(HFdigis->back()), 1 ); // as per simulation, capid=1
}
}
//save pointers for next iteration
Expand All @@ -728,7 +728,7 @@ namespace edm

unsigned int sizeold = (iHF->second).size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(HF_old,(HFdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(HF_old,(HFdigis->back()), 1 ); // as per simulation, capid=1
}

}
Expand Down Expand Up @@ -800,7 +800,7 @@ namespace edm

unsigned int sizeold = ZDC_old.size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(ZDC_old,(ZDCdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(ZDC_old,(ZDCdigis->back()), 1 ); // as per simulation, capid=1
}
}
//save pointers for next iteration
Expand All @@ -822,7 +822,7 @@ namespace edm

unsigned int sizeold = (iZDC->second).size();
for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
coder.fC2adc(ZDC_old,(ZDCdigis->back()), 0 ); // as per simulation, capid=0???
coder.fC2adc(ZDC_old,(ZDCdigis->back()), 1 ); // as per simulation, capid=1
}

}
Expand Down

0 comments on commit a548aef

Please sign in to comment.