Corrections to obey the coding conventions
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Dec 2003 16:13:06 +0000 (16:13 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Dec 2003 16:13:06 +0000 (16:13 +0000)
18 files changed:
EMCAL/AliEMCAL.cxx
EMCAL/AliEMCAL.h
FMD/AliFMD.cxx
FMD/AliFMD.h
ITS/AliITS.cxx
ITS/AliITS.h
MUON/AliMUON.cxx
MUON/AliMUON.h
PHOS/AliPHOS.cxx
PHOS/AliPHOS.h
RICH/AliRICH.cxx
START/AliSTART.cxx
START/AliSTART.h
STEER/AliModule.h
TOF/AliTOF.cxx
TOF/AliTOF.h
TRD/AliTRD.cxx
TRD/AliTRD.h

index d34a7bc66e62cfc158f0d146967fa2cdf024409a..6277d150bf04b5f96ce426f5aa17cbf7fb2c0656 100644 (file)
@@ -255,7 +255,7 @@ void AliEMCAL::Hits2SDigits()
 }
 
 //____________________________________________________________________________
-AliDigitizer* AliEMCAL::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliEMCAL::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliEMCALDigitizer(manager);
 }
index a9b2438a635bfbdf35015084104622864028a484..cce44799dac59132d7794e235b25f52ad027c2e3 100644 (file)
@@ -50,7 +50,7 @@ class AliEMCAL : public AliDetector {
   virtual AliLoader* MakeLoader(const char* topfoldername);
   
   virtual void    Hits2SDigits();
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
 
 protected:
 
index c66b68af2fdb5af95a5e36afcf8485cb983834d2..483afc9523cb08aaf0f89fee6a79342beefc07ad 100644 (file)
@@ -343,7 +343,7 @@ void AliFMD::MakeBranchInTreeD(TTree *treeD, const char *file)
 }
 
 //____________________________________________________________________________
-AliDigitizer* AliFMD::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliFMD::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliFMDDigitizer(manager);
 }
index 08a47e7d2588b65cd17ad85de1998d477e1fde6c..944b8f205c66443073aa17be814b0daf219568f4 100644 (file)
@@ -39,7 +39,7 @@ public:
    // Digitisation
    TClonesArray *ReconParticles() const {return fReconParticles;}   
   virtual void SetHitsAddressBranch(TBranch *b){b->SetAddress(&fHits);}
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
 
  protected:
 //Granularity
index 7f1009c52d3c5a602ccc4a998752c5a5a40b8819..9191f197b92fdb398df5907ce771162e715eeae9 100644 (file)
@@ -983,7 +983,7 @@ void AliITS::Hits2PreDigits(){
     HitsToPreDigits(header->GetEvent(),0,-1," ",fOpt," ");
 }
 //______________________________________________________________________
-AliDigitizer* AliITS::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliITS::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliITSDigitizer(manager);
 }
index 111184b61782bbe44d55e062e2e3ea4766be3ec5..715bd7f8b826bd0e139a508e12df43742e604828 100644 (file)
@@ -120,7 +120,7 @@ class AliITS : public AliDetector {
     void SetTreeAddressD(TTree *treeD);
     void Hits2SDigits(); // Turn hits into SDigits
     void Hits2PreDigits(); // Turn hits into SDigits
-    AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+    AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
     void SDigits2Digits(){SDigitsToDigits("All");} // Turn SDigits to Digits
     void SDigitsToDigits(Option_t *opt="All"); // Turn SDigits to Digits
     void Hits2Digits(); // Turn hits straight into Digits.
index e63a35b613e4f1dc24ec72c5c9d2a79c7bda1861..7b328f2fef023418e02863347cae0cccbdffcf7e 100644 (file)
@@ -339,7 +339,7 @@ void   AliMUON::SetNsec(Int_t id, Int_t nsec)
     ((AliMUONChamber*) fChambers->At(id))->SetNsec(nsec);
 }
 //____________________________________________________________________
-AliDigitizer* AliMUON::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliMUON::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliMUONDigitizerv1(manager);
 }
index c9e45844183b7431c4da2e2feb06222455524715..a2bdb6eaf6c993bcf8042eccf72c14e6d654b7de 100644 (file)
@@ -61,7 +61,7 @@ class AliMUON : public  AliDetector {
     virtual void   Digits2Reco();
     virtual void   FindClusters();
     // Digitisation 
-    virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+    virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
     virtual void   SDigits2Digits();      
     // Configuration Methods (per station id)
     //
index bce8af301f759f3e1d1b6b8750753533fd54f961..dd18a0c7d43ea75a531fde9017443ef2567e2c23 100644 (file)
@@ -449,7 +449,7 @@ void AliPHOS::Hits2SDigits()
 }
 
 //____________________________________________________________________________
-AliDigitizer* AliPHOS::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliPHOS::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliPHOSDigitizer(manager);
 }
index 13d83ee3a4e42e1b332688f1838d889e63f277cb..975011120ea0ad923c99d89f0bb2cf2bdeb3481a 100644 (file)
@@ -54,7 +54,7 @@ class AliPHOS : public AliDetector {
   virtual AliLoader* MakeLoader(const char* topfoldername);
  
   virtual void    Hits2SDigits();
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
 
 protected:
   
index 5f406f9f008f0708e9f4a98b013e529aea80db9d..775de836a4cfe28ca44027d433d7f0bc08edd710 100644 (file)
@@ -81,7 +81,7 @@ AliRICH::AliRICH()
   fSdigits    =0; fNsdigits   =0;
   fDigitsNew  =0; for(int i=0;i<kNCH;i++) fNdigitsNew[i]  =0;
   fClusters   =0; for(int i=0;i<kNCH;i++) fNclusters[i]=0;
-  
+  fRecos      =0; fNrecos     =0;
   fCerenkovs  =0; fNcerenkovs =0;
   fSpecials   =0; fNspecials  =0;  
   fCkovNumber=fFreonProd=0;  
@@ -99,7 +99,8 @@ AliRICH::AliRICH(const char *name, const char *title)
   fSdigits=    0;
   fDigitsNew=  0;
   fClusters=   0;
-  
+  fRecos      =0;
+
   fCerenkovs=  0;     CreateCerenkovsOld();  gAlice->GetMCApp()->AddHitList(fCerenkovs);
   fSpecials=   0;     CreateSpecialsOld();   
   
@@ -120,7 +121,7 @@ AliRICH::~AliRICH()
   if(fDigits)    delete fDigits;
   if(fDigitsNew) {fDigitsNew->Delete();   delete fDigitsNew;}
   if(fClusters)  {fClusters->Delete();    delete fClusters;}
-  
+  if(fRecos)     delete fRecos;
   if(fCerenkovs) delete fCerenkovs;
   if(fSpecials)  delete fSpecials;
   if(GetDebug()) Info("dtor","Stop.");    
index 402f8c8a4ecd09d3fe24df557ca2d9c028402429..9097fb4fb4b52028b8f21b8e275cd0906d64fda9 100755 (executable)
@@ -263,7 +263,7 @@ void AliSTART::Hit2digit(Int_t /*evnum*/)
 }
 
 //_____________________________________________________________________________
-AliDigitizer* AliSTART::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliSTART::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliSTARTDigitizer(manager);
 }
index 939c0cc91b6782b5bd6ba0cac1e5e3889edc34c8..7e368b18eac5e4e65c2c448ae376eaf5ed83bc3c 100755 (executable)
@@ -44,7 +44,7 @@ public:
    virtual void   SetTreeAddress();
    TClonesArray   *Photons() {return fPhotons;}
    
-   virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager);
+   virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
 
 protected:
    Int_t fIdSens;    // Sensetive Cherenkov radiator
index b4ee8d598a59824bca4950b18a1e9f6fe16ba1b4..71c3907e258921114a40924b6f742303f81a79c3 100644 (file)
@@ -82,7 +82,7 @@ public:
   virtual void        AddHit(Int_t, Int_t*, Float_t *) {
   Error("AddDigit","Hits cannot be added to module %s\n",fName.Data());}
   virtual void        Hits2SDigits() {}
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* /*manager*/) 
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* /*manager*/) const 
     {return NULL;}
   virtual void        SDigits2Digits() {}
   virtual void        Hits2Digits() {}
index c8437720da6775b2038a76c1923a0f27e08ff311..437b9c94ce48e10dac481196d846f85802571601 100644 (file)
@@ -758,7 +758,7 @@ void AliTOF::Hits2SDigits(Int_t evNumber1, Int_t evNumber2)
 }
 
 //___________________________________________________________________________
-AliDigitizer* AliTOF::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliTOF::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliTOFDigitizer(manager);
 }
index 2598dfddc72251a69effa80c0810188831d94df9..ce7d643c7ca198c838431a5f2a3acc96d8b09aab 100644 (file)
@@ -77,7 +77,7 @@ public:
 //  virtual void    Hits2Digits();   
   virtual void    Hits2SDigits();
   virtual void    Hits2SDigits(Int_t evNumber1, Int_t evNumber2);
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager); 
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const
   virtual void    Digits2Reco() {cout << "AliTOF::Digits2Reco()  dummy function called" << endl;}
           void    Digits2Raw (Int_t evNumber=0);
           void    Raw2Digits (Int_t evNumber=0);
index 0149069cd9f8df998930244c3976ae9afebc4b44..2ab09c31874e42b23993c372cb5766a8b3cb88d8 100644 (file)
@@ -281,7 +281,7 @@ void AliTRD::Hits2SDigits()
   }
 
 //_____________________________________________________________________________
-AliDigitizer* AliTRD::CreateDigitizer(AliRunDigitizer* manager)
+AliDigitizer* AliTRD::CreateDigitizer(AliRunDigitizer* manager) const
 {
   return new AliTRDdigitizer(manager);
 }
index 5ddbf321f5cdcc9c9880fcc12d2566cd7a7a588b..8e460ffd1cf518337f6f9038e037b080f18ff8ff 100644 (file)
@@ -80,7 +80,7 @@ class AliTRD : public AliDetector {
  
   virtual void       Hits2Digits();
   virtual void       Hits2SDigits();
-  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager); 
+  virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const
   virtual void       SDigits2Digits();
 
   virtual AliTRDsim *CreateTR()     = 0;