6 int theID = theData.getSubmodule() ;
7 int nSamples = theData.getNDD() ;
8 int nPresamples = theData.getNPS() ;
9 int algorithm = theData.getFirmwareFlavor()&0x1F ;
10 unsigned int fwVersion = theData.getFirmwareRevision() ;
11 unsigned int lPipe = theData.getPipelineLength() ;
13 if (nSamples>8) nSamples=8;
15 theDigi =
HcalTTPDigi(theID,nSamples,nPresamples,fwVersion,algorithm,lPipe) ;
18 const unsigned short *daq_first, *daq_last, *tp_first, *tp_last ;
19 theData.dataPointers(&daq_first,&daq_last,&tp_first,&tp_last) ;
22 for (
int i=0;
i<nSamples;
i++) {
24 const uint16_t* daq_start = (daq_first+6*
i) ;
25 if ( daq_start > daq_last ) break ;
27 const uint16_t* inputContent = daq_start ;
28 const uint32_t algoDep = (daq_start[4]>>8)|((uint32_t(daq_start[5])&0xFFF)<<8) ;
29 const uint8_t trigOutput = (daq_start[5]>>12)&0xF ;
31 int relativeSample =
i - nPresamples ;
32 theDigi.setSample(relativeSample,inputContent,algoDep,trigOutput) ;
< trclass="colgroup">< tdclass="colgroup"colspan=5 > Ecal cluster collections</td ></tr >< tr >< td >< ahref="classreco_1_1BasicCluster.html"> reco::BasicCluster</a ></td >< td >< ahref="DataFormats_EgammaReco.html"> reco::BasicClusterCollection</a ></td >< td >< ahref="#"> hybridSuperClusters</a ></td >< tdclass="description"> Basic clusters reconstructed with hybrid algorithm(barrel only)</td >< td >S.Rahatlou</td ></tr >< tr >< td >< a href