]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSQASDDDataMakerSim.h
Fixing segfault
[u/mrichter/AliRoot.git] / ITS / AliITSQASDDDataMakerSim.h
index f9f1e45dc094051f5a9be6671c111693a7bc4dbf..eef99d0777f0cc2515952db662219e098568113a 100644 (file)
@@ -41,7 +41,7 @@ public:
   virtual Int_t MakeSDigits(TTree * sdigits);\r
   virtual Int_t MakeHits(TTree * hits);\r
   Int_t GetOffset(AliQAv1::TASKINDEX_t task);\r
-  void  SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset);\r
+  void  SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset,Int_t specie = 0);\r
   Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);\r
 \r
 private:\r
@@ -50,10 +50,10 @@ private:
   Int_t   fSDDhHTask;                        //number of booked SDD histograms for each task;\r
   Int_t   fSDDhSTask;                        //number of booked SDD histograms for each task;\r
   Int_t   fSDDhDTask;                        //number of booked SDD histograms for each task;\r
-  Int_t   fGenOffsetH;                         // qachecking offset\r
-  Int_t   fGenOffsetS;                         // qachecking offset\r
-  Int_t   fGenOffsetD;                         // qachecking offset\r
-  ClassDef(AliITSQASDDDataMakerSim,3)      // description \r
+  Int_t   *fGenOffsetH;                         // qachecking offset\r
+  Int_t   *fGenOffsetS;                         // qachecking offset\r
+  Int_t   *fGenOffsetD;                         // qachecking offset\r
+  ClassDef(AliITSQASDDDataMakerSim,4)      // description \r
 \r
 };\r
 \r