From dc5c67dc718aa74435b070792d077a2e8dc95559 Mon Sep 17 00:00:00 2001 From: masera Date: Wed, 25 Feb 2009 15:27:49 +0000 Subject: [PATCH] Changes to obey to coding conventions --- ITS/AliITSDetTypeRec.cxx | 13 ++++++------- ITS/AliITSDetTypeRec.h | 8 ++++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ITS/AliITSDetTypeRec.cxx b/ITS/AliITSDetTypeRec.cxx index 004c01623ce..0b46848ebf8 100644 --- a/ITS/AliITSDetTypeRec.cxx +++ b/ITS/AliITSDetTypeRec.cxx @@ -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. diff --git a/ITS/AliITSDetTypeRec.h b/ITS/AliITSDetTypeRec.h index 403aae77bf3..7503ceed151 100644 --- a/ITS/AliITSDetTypeRec.h +++ b/ITS/AliITSDetTypeRec.h @@ -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 -- 2.43.0