]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSDDLRawData.h
Protection against missing timestamps
[u/mrichter/AliRoot.git] / ITS / AliITSDDLRawData.h
index 4caf0b4549fb29437a99a6e875999372e6bc6fd0..fb7dbc5da7c4f854b9dc23e624d2690ddfde12c4 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef AliITSDDLRAWDATA_H
+#define AliITSDDLRAWDATA_H
 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
@@ -8,10 +10,8 @@
 
 /* $Id$ */
 
-#ifndef AliITSDDLRAWDATA_H
-#define AliITSDDLRAWDATA_H
-
 class TTree;
+class TBranch;
 class AliITSDDLModuleMapSDD;
 class AliITSFOSignalsSPD;
 
@@ -23,14 +23,14 @@ class AliITSDDLRawData:public TObject{
   AliITSDDLRawData& operator=(const AliITSDDLRawData &source); // ass. op.
   Int_t RawDataSPD(TBranch* branch, AliITSFOSignalsSPD* foSignals = NULL);
   // This method generates the files with the Silicon pixel detector data
-  Int_t RawDataSDD(TBranch* branch, AliITSDDLModuleMapSDD* ddlsdd); 
+  Int_t RawDataSDD(TBranch* branch, const AliITSDDLModuleMapSDD* ddlsdd); 
   // This method generates the files with the Silicon drift detector data
   Int_t RawDataSSD(TBranch* branch);
   // This method generates the files with the Silicon pixel detector data
   void SetVerbose(Int_t Verbose){fVerbose=Verbose;}
   // To set the verbose level
-  void SetUseCompressedSDDFormat(Bool_t opt=kFALSE){
-    fUseCompressedSDDFormat=opt;
+  void SetSDDRawFormat(Char_t val=7){
+    fSDDRawFormat=val;
   }
  private: 
   void  GetDigitsSPD(TClonesArray *ITSdigits, Int_t mod,Int_t ddl,UInt_t *buf, AliITSFOSignalsSPD* foSignals = NULL);
@@ -48,9 +48,9 @@ class AliITSDDLRawData:public TObject{
   Int_t fVerbose;            //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
   Int_t fIndex;             //number of 32 words to be stored into the output file
   Int_t fHalfStaveModule;     //first or second half of an Half Stave module
-  Bool_t fUseCompressedSDDFormat;  // flag for use the compressed SDD raw data format
+  Char_t fSDDRawFormat;          // index for SDD raw format
 
-  ClassDef(AliITSDDLRawData,2)
+  ClassDef(AliITSDDLRawData,3)
 };
     
 #endif