]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSDigitizer.h
Fixes for not filled histograms and calculation of Dijet binning
[u/mrichter/AliRoot.git] / ITS / AliITSDigitizer.h
index 03ecfba9c3b5e1a01223fe925c29bef61cb58513..5bd87e6fcb4b3b22507e653e9a9e2bff6fdb7745 100644 (file)
@@ -1,17 +1,17 @@
-#ifndef ALIITSDIGITZER_H
-#define ALIITSDIGITZER_H
+#ifndef ALIITSDIGITIZER_H
+#define ALIITSDIGITIZER_H
 /* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved *
  * See cxx source for full Copyright notice                               */
 
 /*
   $Id$
  */
-
+//////////////////////////////////////////////////////////////////
+// Digitizer class for ITS                                      //
+//////////////////////////////////////////////////////////////////
 class TObjArray;
 class TTree;
 
-#include <TClonesArray.h> // function of this class used in inline functions.
-
 class AliRunDigitizer;
 
 #include "AliDigitizer.h" // Base class from which this one is derived
@@ -22,6 +22,7 @@ class AliITSDigitizer : public AliDigitizer{
  public:
     AliITSDigitizer();
     AliITSDigitizer(AliRunDigitizer *manager);
+
     virtual ~AliITSDigitizer();
     // Standard routines.
     virtual Bool_t Init();
@@ -29,9 +30,9 @@ class AliITSDigitizer : public AliDigitizer{
     // number of files.
     virtual void Exec(Option_t* opt=0);
     // Sets a particular module active
-    virtual void SetModuleActive(Int_t i){if(fActive) fActive[i] = kTRUE;}
+    virtual void SetModuleActive(Int_t i){if(fModActive) fModActive[i] = kTRUE;}
     // Sets a particular module inactive
-    virtual void SetModuleInActive(Int_t i){if(fActive) fActive[i] = kFALSE;}
+    virtual void SetModuleInActive(Int_t i){if(fModActive) fModActive[i] = kFALSE;}
     // Sets Region of Interst Flag. if fRiof=0 then no Region of Interest
     // cut applyed
     virtual void SetByRegionOfInterestFlag(Int_t i=0){fRoif = i;};
@@ -44,6 +45,8 @@ class AliITSDigitizer : public AliDigitizer{
     // Region of interest cut will not be made.
     virtual void ClearByRegionOfInterestFlag(){fRoif = 0;};
  private:
+    AliITSDigitizer(const AliITSDigitizer& dig);
+    AliITSDigitizer& operator=(const AliITSDigitizer &source);
     // Routines used internaly
     // Returns a pointer to the TObjecArray of Modules.
     TObjArray* GetModules(){return fITS->GetModules();}
@@ -56,12 +59,13 @@ class AliITSDigitizer : public AliDigitizer{
     virtual void SetByRegionOfInterest(TTree *ts);
  private:
     AliITS *fITS;      //! local pointer to ITS
-    Bool_t *fActive;   //! flag to indicate which module to digitize.
+    Bool_t *fModActive;//! flag to indicate which module to digitize.
     Bool_t  fInit;     //! flag to indecate Initilization when well.
     Int_t   fRoif;     //! Region of interest flag.
     Int_t   fRoiifile; //! The file number with which to determing the region
                        // of interest from.
+    Bool_t fFlagFirstEv; //! Flag to control calibration access
 
-    ClassDef(AliITSDigitizer,1) // Task to Digitize ITS from summable hits.
+    ClassDef(AliITSDigitizer,2) // Task to Digitize ITS from summable hits.
 };
 #endif