]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changes to obey to coding conventions
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Feb 2009 15:27:49 +0000 (15:27 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Feb 2009 15:27:49 +0000 (15:27 +0000)
ITS/AliITSDetTypeRec.cxx
ITS/AliITSDetTypeRec.h

index 004c01623ce87e63942e00ab79a8f723b86f5cb1..0b46848ebf89d92169f0c7fe39edec5a4d3f49aa 100644 (file)
@@ -43,6 +43,7 @@
 #include "AliITSNoiseSSD.h"
 #include "AliITSGainSSD.h"
 #include "AliITSBadChannelsSSD.h"
+#include "AliITSresponseSDD.h"
 #include "AliITSsegmentationSPD.h"
 #include "AliITSsegmentationSDD.h"
 #include "AliITSsegmentationSSD.h"
@@ -50,7 +51,6 @@
 
 class AliITSDriftSpeedArraySDD;
 class AliITSMapSDD;
-class AliITSresponseSDD;
 class AliITSRecoParam;
 
 const Int_t AliITSDetTypeRec::fgkNdettypes = 3;
@@ -288,7 +288,7 @@ AliITSCalibration* AliITSDetTypeRec::GetSPDDeadModel(Int_t iMod) const {
 }
 
 //______________________________________________________________________
-void AliITSDetTypeRec::SetTreeAddressD(TTree *treeD){
+void AliITSDetTypeRec::SetTreeAddressD(TTree* const treeD){
     // Set branch address for the tree of digits.
 
     const char *det[4] = {"SPD","SDD","SSD","ITS"};
@@ -316,10 +316,9 @@ void AliITSDetTypeRec::SetTreeAddressD(TTree *treeD){
 }
 
 //_______________________________________________________________________
-TBranch* AliITSDetTypeRec::MakeBranchInTree(TTree *tree, const char* name, 
-                                       const char *classname, 
-                                       void* address,Int_t size, 
-                                       Int_t splitlevel)
+TBranch* AliITSDetTypeRec::MakeBranchInTree(TTree* const tree, 
+                           const char* name, const char *classname, 
+                           void* address,Int_t size,Int_t splitlevel)
 { 
 //
 // Makes branch in given tree and diverts them to a separate file
@@ -749,7 +748,7 @@ void AliITSDetTypeRec::MakeBranchR(TTree *treeR, Option_t *opt){
     MakeBranchInTree(treeR,branchname,0,&fRecPoints,buffsz,99);
 }
 //______________________________________________________________________
-void AliITSDetTypeRec::SetTreeAddressR(TTree *treeR){
+void AliITSDetTypeRec::SetTreeAddressR(TTree* const treeR){
     // Set branch address for the Reconstructed points Trees.
     // Inputs:
     //      TTree *treeR   Tree containing the RecPoints.
index 403aae77bf37cddfe8d715af6b605a0042fd7eb1..7503ceed15138c97631233918b560bceb09a9088 100644 (file)
@@ -39,11 +39,11 @@ class AliITSDetTypeRec : public TObject {
     virtual ~AliITSDetTypeRec(); // Proper Destructor
 
     virtual AliITSgeom* GetITSgeom() const { return fITSgeom; }
-    virtual void SetITSgeom(AliITSgeom *geom) { fITSgeom = geom; }
+    virtual void SetITSgeom(AliITSgeom* const geom) { fITSgeom = geom; }
     virtual void SetDefaults();
     virtual void SetDefaultClusterFindersV2(Bool_t rawdata=kFALSE);
     virtual void MakeBranch(TTree *tree,Option_t *opt);
-    virtual void SetTreeAddressD(TTree* treeD);
+    virtual void SetTreeAddressD(TTree* const treeD);
 
     virtual void SetSegmentationModel(Int_t dettype, AliITSsegmentation *seg);
     virtual void SetCalibrationModel(Int_t iMod, AliITSCalibration *cal);
@@ -78,13 +78,13 @@ class AliITSDetTypeRec : public TObject {
     TObjArray* GetDigits() const {return fDigits;} 
     TClonesArray *DigitsAddress(Int_t id) const {return ((TClonesArray*)(*fDigits)[id]);}
 
-    TBranch* MakeBranchInTree(TTree *tree, const char* name, const char *classname, void* address,Int_t size, Int_t splitlevel);
+    TBranch* MakeBranchInTree(TTree* const tree, const char* name, const char *classname, void* address,Int_t size, Int_t splitlevel);
 
     virtual void ResetDigits();
     virtual void ResetDigits(Int_t branch);
 
     void MakeBranchR(TTree *treeR,Option_t *opt=" ");
-    void SetTreeAddressR(TTree *treeR);
+    void SetTreeAddressR(TTree* const treeR);
     void AddRecPoint(const AliITSRecPoint &p);
     void ResetRecPoints(){if(fRecPoints) fRecPoints->Clear();fNRecPoints = 0;};
     // Return pointer to rec points