10 dccFields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
13 tcc68Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
14 tcc32Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
15 tcc16Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
17 srp68Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
18 srp32Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
19 srp16Fields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
21 towerFields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
22 xtalFields_ =
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
23 trailerFields_=
new std::set<DCCTBDataField * , DCCTBDataFieldComparator>;
39 std::set<DCCTBDataField *,DCCTBDataFieldComparator>::iterator it;
137 for(uint32_t
i=1;
i<=8;
i++){
147 for(uint32_t wcount = 1; wcount<=5; wcount++){
150 for(uint32_t
i=1;
i<=8;
i++){
151 std::string chStatus = std::string(
"FE_CHSTATUS#") +
parser_->
getDecString( (wcount-1)*14 +
i );
156 for(uint32_t
i=9;
i<=14;
i++){
171 std::vector<std::set<DCCTBDataField *, DCCTBDataFieldComparator> *> pVector;
176 for(
int i=0;
i< ((int)(pVector.size())) ;
i++){
190 uint32_t totalTT = 68*nTSamples;
192 uint32_t filter1 = 16*nTSamples;
193 uint32_t filter2 = 32*nTSamples;
198 for(uint32_t tt=1; tt<=totalTT; tt++){
220 std::vector<std::set<DCCTBDataField *, DCCTBDataFieldComparator> * > pVector;
225 for(
int i=0;
i< ((int)(pVector.size())) ;
i++){
238 uint32_t srpFlags(68);
240 uint32_t count1(1), count2(1), srSize(3), factor(0), wcount(0);
241 for(uint32_t nsr =1; nsr<=srpFlags; nsr++){
252 if( count1 > 8){ wcount++; count1=1;}
255 if(count1 > 4){ factor = 1;}
259 if( count2 > 4){ count2 = 1;}
int adc(sample_type sample)
get the ADC sample (12 bits)
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * dccFields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp32Fields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc68Fields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * trailerFields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc16Fields_
std::string getDecString(uint32_t data)
DCCTBDataMapper(DCCTBDataParser *myParser)
uint32_t numbTriggerSamples()
uint32_t numbXtalSamples()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp16Fields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * tcc32Fields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * emptyEventFields_
void buildTrailerFields()
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * xtalFields_
bool insert(Storage &, ItemType *, const IdTag &)
DCCTBDataParser * parser_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * srp68Fields_
std::set< DCCTBDataField *, DCCTBDataFieldComparator > * towerFields_