1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 /// \class AliMUONRawWriter
19 /// MUON Raw Data generaton in ALICE-MUON
20 /// Raw data structure could be found in Alice-note.
22 /// Implemented non-constant buspatch numbers for tracking
23 /// with correct DDL id (first guess)
24 /// (Ch. Finck, dec 2005)
27 /// Generates raw data for MUON tracker and finally for trigger
28 /// Using real mapping (inverse) for tracker
29 /// For trigger there is no mapping (mapping could be found in AliMUONTriggerCircuit)
30 /// Ch. Finck, July 04
31 /// Use memcpy instead of assignment elt by elt
32 /// Introducing variable DSP numbers, real manu numbers per buspatch for st12
33 /// Implemented scaler event for Trigger
34 /// Ch. Finck, Jan. 06
35 /// Using bus itr in DDL instead of simple incrementation
36 /// treat correctly the DDL & buspatch for station 3.
37 /// Using informations from AliMUONTriggerCrateStore for
38 /// empty slots and non-notified cards in trigger crates.
39 /// Ch. Finck, August 06.
40 /// Using AliMpDDLStore::GetBusPatchId.
42 /// \author Ch. Finck, Feb. 07.
45 #include "AliMUONRawWriter.h"
47 #include "AliMUONBlockHeader.h"
48 #include "AliMUONBusStruct.h"
49 #include "AliMUONConstants.h"
50 #include "AliMUONDarcHeader.h"
51 #include "AliMUONData.h"
52 #include "AliMUONDigit.h"
53 #include "AliMUONDspHeader.h"
54 #include "AliMUONGlobalTrigger.h"
55 #include "AliMUONLocalStruct.h"
56 #include "AliMUONLocalTrigger.h"
57 #include "AliMUONLocalTriggerBoard.h"
58 #include "AliMUONRegionalTrigger.h"
59 #include "AliMUONRegHeader.h"
60 #include "AliMUONTriggerCrate.h"
61 #include "AliMUONTriggerCrateStore.h"
63 #include "AliMpDDLStore.h"
65 #include "AliMpDetElement.h"
66 #include "AliMpDEManager.h"
67 #include "AliMpExMap.h"
68 #include "AliMpConstants.h"
69 #include "AliMpPlaneType.h"
70 #include "AliMpSegmentation.h"
71 #include "AliMpStationType.h"
72 #include "AliMpVSegmentation.h"
74 #include "AliRawReader.h"
75 #include "AliBitPacking.h"
80 #include "TObjArray.h"
81 #include "TStopwatch.h"
82 #include <Riostream.h>
85 ClassImp(AliMUONRawWriter) // Class implementation in ROOT context
90 enum ETimer { kWriteTracker, kWriteTrigger, kDigitLoop, kGetBusPatch, kTest, kLast };
93 //__________________________________________________________________________
94 AliMUONRawWriter::AliMUONRawWriter(AliMUONData* data)
97 fBlockHeader(new AliMUONBlockHeader()),
98 fDspHeader(new AliMUONDspHeader()),
99 fDarcHeader(new AliMUONDarcHeader()),
100 fRegHeader(new AliMUONRegHeader()),
101 fLocalStruct(new AliMUONLocalStruct()),
102 fDDLStore(AliMpDDLStore::Instance()),
103 fCrateManager(new AliMUONTriggerCrateStore()),
104 fScalerEvent(kFALSE),
106 fTimers(new TStopwatch[kLast])
109 /// Standard Constructor
111 AliDebug(1,"Standard ctor");
112 fFile[0] = fFile[1] = 0x0;
113 fFile[2] = fFile[3] = 0x0;
115 // setting data key to default value (only for writting)
116 fBlockHeader->SetDataKey(fBlockHeader->GetDefaultDataKey());
117 fDspHeader->SetDataKey(fDspHeader->GetDefaultDataKey());
120 fCrateManager->ReadFromFile();
123 for ( Int_t i = 0; i < kLast; ++i )
125 fTimers[i].Start(kTRUE);
131 //__________________________________________________________________________
132 AliMUONRawWriter::AliMUONRawWriter()
142 fScalerEvent(kFALSE),
146 /// Default Constructor
148 AliDebug(1,"Default ctor");
149 fFile[0] = fFile[1] = 0x0;
150 fFile[2] = fFile[3] = 0x0;
154 //__________________________________________________________________________
155 AliMUONRawWriter::~AliMUONRawWriter(void)
167 delete fCrateManager;
169 for ( Int_t i = 0; i < kLast; ++i )
171 AliDebug(1, Form("Execution time (timer %d) : R:%7.2fs C:%7.2fs",i,
172 fTimers[i].RealTime(),fTimers[i].CpuTime()));
178 //____________________________________________________________________
179 Int_t AliMUONRawWriter::Digits2Raw()
181 /// convert digits of the current event to raw data
186 fMUONData->GetLoader()->LoadDigits("READ");
188 fMUONData->SetTreeAddress("D,GLT");
190 fMUONData->ResetDigits();
191 fMUONData->ResetTrigger();
193 // This will get both tracker and trigger digits.
194 fMUONData->GetDigits();
200 for (Int_t iSt = 0; iSt < AliMUONConstants::NTrackingCh()/2; ++iSt) {
202 // open files for one station
203 // cos station 3, 1/4 of DE's from 2 chambers has same DDL number
205 strcpy(name,AliDAQ::DdlFileName("MUONTRK",idDDL));
206 fFile[0] = fopen(name,"w");
208 idDDL = (iSt * 4) + 1;
209 strcpy(name,AliDAQ::DdlFileName("MUONTRK",idDDL));
210 fFile[1] = fopen(name,"w");
212 idDDL = (iSt * 4) + 2;;
213 strcpy(name,AliDAQ::DdlFileName("MUONTRK",idDDL));
214 fFile[2] = fopen(name,"w");
216 idDDL = (iSt * 4) + 3;
217 strcpy(name,AliDAQ::DdlFileName("MUONTRK",idDDL));
218 fFile[3] = fopen(name,"w");
220 WriteTrackerDDL(iSt);
222 // reset and close when station has been processed
230 AliDebug(1,"Tracker written");
236 strcpy(name,AliDAQ::DdlFileName("MUONTRG",idDDL));
237 fFile[0] = fopen(name,"w");
240 strcpy(name,AliDAQ::DdlFileName("MUONTRG",idDDL));
241 fFile[1] = fopen(name,"w");
249 AliDebug(1,"Trigger written");
251 fMUONData->ResetDigits();
252 fMUONData->ResetTrigger();
253 fMUONData->GetLoader()->UnloadDigits();
255 AliDebug(1,"muondata reset");
260 //____________________________________________________________________
261 Int_t AliMUONRawWriter::WriteTrackerDDL(Int_t iSt)
263 /// writing DDL for tracker
264 /// used inverse mapping
266 fTimers[kWriteTracker].Start(kFALSE);
268 static const Int_t kMAXADC = (1<<12)-1; // We code the charge on a 12 bits ADC.
271 TClonesArray* muonDigits = 0;
274 Int_t headerSize = sizeof(fHeader)/4;
276 // DDL event one per half chamber
281 UChar_t channelId = 0;
283 Int_t busPatchId = 0;
288 Int_t totalDspLength;
292 Int_t totalBlkLength;
296 Int_t totalDDLLength;
303 // buffer size (max'ed out)
304 // (((43 manus max per bus patch *64 channels + 4 bus patch words) * 5 bus patch
305 // + 10 dsp words)*5 dsps + 8 block words)*2 blocks
306 static const Int_t kBufferSize = (((43*64 + 4)*5 + 10)*5 + 8)*2;
310 AliMpExMap busPatchMap(kTRUE);
312 fTimers[kDigitLoop].Start(kFALSE);
314 for (Int_t iCh = iSt*2; iCh <= iSt*2 + 1; ++iCh) {
316 muonDigits = fMUONData->Digits(iCh);
318 nDigits = muonDigits->GetEntriesFast();
321 for (Int_t idig = 0; idig < nDigits; ++idig) {
323 AliMUONDigit* digit = static_cast<AliMUONDigit*>(muonDigits->UncheckedAt(idig));
325 charge = digit->ADC();
326 if ( charge > kMAXADC )
328 // This is most probably an error in the digitizer (which should insure
329 // the adc is below kMAXADC), so make it a (non-fatal) error indeed.
330 AliError(Form("adc value %d above %x for ch %d . Setting to %x. Digit is:",iCh,
331 charge,kMAXADC,kMAXADC));
332 StdoutToAliError(digit->Print());
337 fTimers[kGetBusPatch].Start(kFALSE);
338 busPatchId = GetBusPatch(*digit);
339 fTimers[kGetBusPatch].Stop();
340 if (busPatchId<0) continue;
342 if ( digit->ManuId() > 0x7FF || digit->ManuId() < 0 ||
343 digit->ManuChannel() > 0x3F || digit->ManuChannel() < 0 )
345 StdoutToAliError(digit->Print(););
346 AliFatal("ManuId,ManuChannel are invalid for the digit above.");
349 manuId = ( digit->ManuId() & 0x7FF ); // 11 bits
350 channelId = ( digit->ManuChannel() & 0x3F ); // 6 bits
354 AliBitPacking::PackWord((UInt_t)manuId,word,18,28);
355 AliBitPacking::PackWord((UInt_t)channelId,word,12,17);
356 AliBitPacking::PackWord((UInt_t)charge,word,0,11);
360 for (Int_t i = 1; i <= 30; ++i)
361 parity ^= ((word >> i) & 0x1);
362 AliBitPacking::PackWord((UInt_t)parity,word,31,31);
364 AliMUONBusStruct* busStruct =
365 static_cast<AliMUONBusStruct*>(busPatchMap.GetValue(busPatchId));
369 busStruct = new AliMUONBusStruct;
370 busStruct->SetDataKey(busStruct->GetDefaultDataKey());
371 busStruct->SetBusPatchId(busPatchId);
372 busStruct->SetLength(0);
373 busPatchMap.Add(busPatchId,busStruct);
377 busStruct->AddData(word);
380 } // loop over chamber in station
382 fTimers[kDigitLoop].Stop();
384 // getting info for the number of buspatches
387 Int_t iBusPerDSP[5];//number of bus patches per DSP
388 Int_t iDspMax; //number max of DSP per block
391 AliMUONBusStruct* busStructPtr(0x0);
393 // open DDL files, 4 per station
394 for (Int_t iDDL = iSt*4; iDDL < 4 + iSt*4; ++iDDL) {
396 AliMpDDL* ddl = fDDLStore->GetDDL(iDDL);
397 iDspMax = ddl->GetMaxDsp();
398 ddl->GetBusPerDsp(iBusPerDSP);
401 Int_t buffer[kBufferSize];
409 // two blocks A and B per DDL
410 for (Int_t iBlock = 0; iBlock < 2; ++iBlock) {
413 length = fBlockHeader->GetHeaderLength();
414 memcpy(&buffer[index],fBlockHeader->GetHeader(),length*4);
418 // 5 DSP's max per block
419 for (Int_t iDsp = 0; iDsp < iDspMax; ++iDsp) {
422 length = fDspHeader->GetHeaderLength();
423 memcpy(&buffer[index],fDspHeader->GetHeader(),length*4);
427 //Â 5 buspatches max per DSP
428 for (Int_t i = 0; i < iBusPerDSP[iDsp]; i++) {
430 iBusPatch = ddl->GetBusPatchId(busIter++);
432 // iteration over bus patch in DDL
433 if (iBusPatch == -1) {
434 AliWarning(Form("Error in bus itr in DDL %d\n", iDDL));
438 // 4 DDL's per station, condition needed for station 3
439 iFile = iDDL - iSt*4; // works only if DDL begins at zero (as it should be) !!!
441 busStructPtr = static_cast<AliMUONBusStruct*>(busPatchMap.GetValue(iBusPatch));
443 // check if buspatchid has digit
445 // add bus patch structure header
446 length = busStructPtr->GetHeaderLength();
447 memcpy(&buffer[index],busStructPtr->GetHeader(),length*4);
450 // add bus patch data
451 length = busStructPtr->GetLength();
452 memcpy(&buffer[index],busStructPtr->GetData(),length*4);
455 if (AliLog::GetGlobalDebugLevel() == 3) {
456 for (Int_t j = 0; j < busStructPtr->GetLength(); j++) {
457 printf("busPatchId %d, manuId %d channelId %d\n", busStructPtr->GetBusPatchId(),
458 busStructPtr->GetManuId(j), busStructPtr->GetChannelId(j));
462 // writting anyhow buspatch structure (empty ones)
463 buffer[index++] = busStructPtr->GetDefaultDataKey(); // fill it also for empty data size
464 buffer[index++] = busStructPtr->GetHeaderLength(); // header length
465 buffer[index++] = 0; // raw data length
466 buffer[index++] = iBusPatch; // bus patch
470 // check if totalLength even
471 // set padding word in case
472 // Add one word 0xBEEFFACE at the end of DSP structure
473 totalDspLength = index - indexDsp;
474 if ((totalDspLength % 2) == 1) {
475 buffer[indexDsp + fDspHeader->GetHeaderLength() - 2] = 1;
476 buffer[index++] = fDspHeader->GetDefaultPaddingWord();
480 dspLength = totalDspLength - fDspHeader->GetHeaderLength();
482 buffer[indexDsp+1] = totalDspLength; // dsp total length
483 buffer[indexDsp+2] = dspLength; // data length
487 totalBlkLength = index - indexBlk;
488 blkLength = totalBlkLength - fBlockHeader->GetHeaderLength();
489 totalDDLLength += totalBlkLength;
491 buffer[indexBlk+1] = totalBlkLength; // total block length
492 buffer[indexBlk+2] = blkLength;
498 // total length in bytes
499 fHeader.fSize = (totalDDLLength + headerSize) * 4;
501 fwrite((char*)(&fHeader),headerSize*4,1,fFile[iFile]);
502 fwrite(buffer,sizeof(int),index,fFile[iFile]);
505 fTimers[kWriteTracker].Stop();
509 //____________________________________________________________________
510 Int_t AliMUONRawWriter::GetBusPatch(const AliMUONDigit& digit) const
512 /// Determine the BusPatch this digit belongs to.
514 return fDDLStore->GetBusPatchId(digit.DetElemId(),digit.ManuId());
517 //____________________________________________________________________
518 Int_t AliMUONRawWriter::WriteTriggerDDL()
520 /// Write trigger DDL
522 fTimers[kWriteTrigger].Start(kFALSE);
524 // DDL event one per half chamber
527 Int_t headerSize = sizeof(AliRawDataHeader)/4;
529 TClonesArray* localTrigger;
530 TClonesArray* globalTrigger;
531 TClonesArray* regionalTrigger;
533 AliMUONGlobalTrigger* gloTrg;
534 AliMUONLocalTrigger* locTrg = 0x0;
535 AliMUONRegionalTrigger* regTrg = 0x0;
537 // global trigger for trigger pattern
538 globalTrigger = fMUONData->GlobalTrigger();
539 gloTrg = (AliMUONGlobalTrigger*)globalTrigger->UncheckedAt(0);
542 fTimers[kWriteTrigger].Stop();
546 Int_t gloTrigResp = gloTrg->GetGlobalResponse();
549 localTrigger = fMUONData->LocalTrigger();
553 regionalTrigger = fMUONData->RegionalTrigger();
560 Int_t iLocCard, locCard;
561 UChar_t locDec, trigY, posY, posX, regOut;
567 UInt_t version = 1; // software version
568 UInt_t eventPhys = 1; // trigger type: 1 for physics, 0 for software
569 UInt_t serialNb = 0xF; // serial nb of card: all bits on for the moment
570 Int_t globalFlag = 0; // set to 1 if global info present in DDL else set to 0
573 static const Int_t kDarcHeaderLength = fDarcHeader->GetDarcHeaderLength();
574 static const Int_t kGlobalHeaderLength = fDarcHeader->GetGlobalHeaderLength();
575 static const Int_t kDarcScalerLength = fDarcHeader->GetDarcScalerLength();
576 static const Int_t kGlobalScalerLength = fDarcHeader->GetGlobalScalerLength();
577 static const Int_t kRegHeaderLength = fRegHeader->GetHeaderLength();
578 static const Int_t kRegScalerLength = fRegHeader->GetScalerLength();
579 static const Int_t kLocHeaderLength = fLocalStruct->GetLength();
580 static const Int_t kLocScalerLength = fLocalStruct->GetScalerLength();
582 // [16(local)*6 words + 6 words]*8(reg) + 8 words = 824
583 static const Int_t kBufferSize = (16 * (kLocHeaderLength+1) + (kRegHeaderLength+1))* 8
584 + kDarcHeaderLength + kGlobalHeaderLength + 2;
586 // [16(local)*51 words + 16 words]*8(reg) + 8 + 10 + 8 words scaler event 6682 words
587 static const Int_t kScalerBufferSize = (16 * (kLocHeaderLength + kLocScalerLength +1) +
588 (kRegHeaderLength + kRegScalerLength +1))* 8 +
589 (kDarcHeaderLength + kDarcScalerLength +
590 kGlobalHeaderLength + kGlobalScalerLength + 2);
592 eventPhys = 0; //set to generate scaler events
594 Int_t nEntries = (Int_t) (localTrigger->GetEntries());// 234 local cards
597 AliDebug(1, "No Trigger information available");
600 buffer = new Int_t [kScalerBufferSize];
602 buffer = new Int_t [kBufferSize];
606 // open DDL file, on per 1/2 chamber
607 for (Int_t iDDL = 0; iDDL < 2; iDDL++) {
611 if (iDDL == 0) // suppose global info in DDL one
617 // set darc status word
618 // see AliMUONDarcHeader.h for details
619 AliBitPacking::PackWord((UInt_t)eventPhys,word,30,30);
620 AliBitPacking::PackWord((UInt_t)serialNb,word,20,23);
621 AliBitPacking::PackWord((UInt_t)globalFlag,word,10,10);
622 AliBitPacking::PackWord((UInt_t)version,word,12,19);
623 fDarcHeader->SetWord(word);
625 memcpy(&buffer[index], fDarcHeader->GetHeader(), (kDarcHeaderLength)*4);
626 index += kDarcHeaderLength;
628 // no global input for the moment....
630 fDarcHeader->SetGlobalOutput(gloTrigResp);
632 fDarcHeader->SetGlobalOutput(0);
635 // 6 DARC scaler words
636 memcpy(&buffer[index], fDarcHeader->GetDarcScalers(),kDarcScalerLength*4);
637 index += kDarcScalerLength;
640 buffer[index++] = fDarcHeader->GetEndOfDarc();
642 // 4 words of global board input + Global board output
643 memcpy(&buffer[index], fDarcHeader->GetGlobalInput(), (kGlobalHeaderLength)*4);
644 index += kGlobalHeaderLength;
647 // 10 Global scaler words
648 memcpy(fDarcHeader->GetGlobalScalers(), &buffer[index], kGlobalScalerLength*4);
649 index += kGlobalScalerLength;
652 // end of global word
653 buffer[index++] = fDarcHeader->GetEndOfGlobal();
655 // 8 regional cards per DDL
656 for (Int_t iReg = 0; iReg < 8; iReg++) {
659 AliMUONTriggerCrate* crate = fCrateManager->Crate(iDDL, iReg);
662 AliWarning(Form("Missing crate number %d in DDL %d\n", iReg, iDDL));
664 // regional info tree, make sure that no reg card missing
665 for (Int_t i = 0; i < 16; ++i) {
666 regTrg = (AliMUONRegionalTrigger*)regionalTrigger->At(i);
668 if (regTrg->GetId() == (iReg + iDDL*8)) break;
671 // Regional card header
674 // set darc status word
675 fRegHeader->SetDarcWord(word);
677 regOut = regTrg->GetOutput();
678 regInpHpt = regTrg->GetLocalOutput(0);
679 regInpLpt = regTrg->GetLocalOutput(1);
681 // fill darc word, not darc status for the moment (empty)
682 //see AliMUONRegHeader.h for details
683 AliBitPacking::PackWord((UInt_t)eventPhys,word,31,31);
684 AliBitPacking::PackWord((UInt_t)serialNb,word,19,24);
685 AliBitPacking::PackWord((UInt_t)version,word,16,23);
686 AliBitPacking::PackWord((UInt_t)iReg,word,15,18);
687 AliBitPacking::PackWord((UInt_t)regOut,word,0,7);
688 fRegHeader->SetWord(word);
691 // fill header later, need local response
692 Int_t indexReg = index;
693 index += kRegHeaderLength;
695 // 11 regional scaler word
697 memcpy(&buffer[index], fRegHeader->GetScalers(), kRegScalerLength*4);
698 index += kRegScalerLength;
701 // end of regional word
702 buffer[index++] = fRegHeader->GetEndOfReg();
704 TObjArray *boards = crate->Boards();
707 // 16 local card per regional board
708 // UShort_t localMask = 0x0;
710 for (Int_t iLoc = 0; iLoc < 16; iLoc++) {
712 // slot zero for Regional card
713 AliMUONLocalTriggerBoard* localBoard = (AliMUONLocalTriggerBoard*)boards->At(iLoc+1);
715 if (localBoard) { // if not empty slot
717 if ((iLocCard = localBoard->GetNumber()) != 0) {// if notified board
719 locTrg = (AliMUONLocalTrigger*)localTrigger->At(iEntries++);
720 locCard = locTrg->LoCircuit();
721 locDec = locTrg->GetLoDecision();
722 trigY = locTrg->LoTrigY();
723 posY = locTrg->LoStripY();
724 posX = locTrg->LoStripX();
725 devX = locTrg->LoDev();
726 sdevX = locTrg->LoSdev();
728 AliDebug(4,Form("loctrg %d, posX %d, posY %d, devX %d\n",
729 locTrg->LoCircuit(),locTrg->LoStripX(),locTrg->LoStripY(),locTrg->LoDev()));
732 AliBitPacking::PackWord((UInt_t)iLoc,word,19,22); //card id number in crate
733 AliBitPacking::PackWord((UInt_t)locDec,word,15,18);
734 AliBitPacking::PackWord((UInt_t)trigY,word,14,14);
735 AliBitPacking::PackWord((UInt_t)posY,word,10,13);
736 AliBitPacking::PackWord((UInt_t)sdevX,word,9,9);
737 AliBitPacking::PackWord((UInt_t)devX,word,5,8);
738 AliBitPacking::PackWord((UInt_t)posX,word,0,4);
740 buffer[index++] = (locTrg->GetX1Pattern() | (locTrg->GetX2Pattern() << 16));
741 buffer[index++] = (locTrg->GetX3Pattern() | (locTrg->GetX4Pattern() << 16));
742 buffer[index++] = (locTrg->GetY1Pattern() | (locTrg->GetY2Pattern() << 16));
743 buffer[index++] = (locTrg->GetY3Pattern() | (locTrg->GetY4Pattern() << 16));
744 buffer[index++] = (Int_t)word; // data word
747 // fill with 10CDEAD word for 'non-notified' slots
748 for (Int_t i = 0; i < fLocalStruct->GetLength(); i++)
749 buffer[index++] = fLocalStruct->GetDisableWord();
752 // fill with 10CDEAD word for empty slots
753 for (Int_t i = 0; i < fLocalStruct->GetLength(); i++)
754 buffer[index++] = fLocalStruct->GetDisableWord();
755 }// condition localBoard
757 // 45 regional scaler word
759 memcpy(&buffer[index], fLocalStruct->GetScalers(), kLocScalerLength*4);
760 index += kLocScalerLength;
763 // end of local structure words
764 buffer[index++] = fLocalStruct->GetEndOfLocal();
767 // fill regional header with local output
768 fRegHeader->SetInput(regInpHpt, 0);
769 fRegHeader->SetInput(regInpHpt, 1);
770 memcpy(&buffer[indexReg],fRegHeader->GetHeader(),kRegHeaderLength*4);
775 // writting onto disk
777 fHeader.fSize = (index + headerSize) * 4;// total length in bytes
778 fwrite((char*)(&fHeader),headerSize*4,1,fFile[iDDL]);
779 fwrite(buffer,sizeof(int),index,fFile[iDDL]);
784 fTimers[kWriteTrigger].Stop();
788 //____________________________________________________________________
789 void AliMUONRawWriter::SetScalersNumbers()
791 /// set numbers for scaler events for trigger headers
792 /// since this is provided by the experiment
793 /// put dummy numbers to check the monitoring
795 fDarcHeader->SetScalersNumbers();
796 fRegHeader->SetScalersNumbers();
797 fLocalStruct->SetScalersNumbers();
799 fScalerEvent = kTRUE;