]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix effc++ warnings
authorjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Mar 2008 23:39:38 +0000 (23:39 +0000)
committerjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Mar 2008 23:39:38 +0000 (23:39 +0000)
16 files changed:
EMCAL/AliEMCALCalibCoefs.cxx
EMCAL/AliEMCALCalibCoefs.h
EMCAL/AliEMCALCell.cxx
EMCAL/AliEMCALCell.h
EMCAL/AliEMCALCellInfo.cxx
EMCAL/AliEMCALCellInfo.h
EMCAL/AliEMCALFolder.cxx
EMCAL/AliEMCALFolder.h
EMCAL/AliEMCALGeometry.cxx
EMCAL/AliEMCALGeometry.h
EMCAL/AliEMCALPi0SelectionParam.cxx
EMCAL/AliEMCALPi0SelectionParam.h
EMCAL/AliEMCALShishKebabTrd1Module.h
EMCAL/AliEMCALv0.cxx
EMCAL/jetfinder/AliEMCALJetMicroDst.cxx
EMCAL/jetfinder/AliEMCALJetMicroDst.h

index 4ace3d21561a177844718a63777ef92d4207bc7c..d8faa7876fe5bfe4d35410973231d05ef8f436db 100644 (file)
 #include <TString.h>
 
 ClassImp(AliEMCALCalibCoef) 
-
+// ----------------------------------------------------------------------
 AliEMCALCalibCoef::AliEMCALCalibCoef() : fAbsId(-1), fCc(-1), fECc(-1)
 { 
   // default constructor
 }
+
+// ----------------------------------------------------------------------
 AliEMCALCalibCoef::AliEMCALCalibCoef(const Int_t id, const Double_t c, const Double_t ec) :
 fAbsId(id), fCc(c), fECc(ec)
 {
   // Oct 16, 2007
 }
-// ----------------------------------------------------------------------
+
 
 ClassImp(AliEMCALCalibCoefs)
 
+// ----------------------------------------------------------------------
 AliEMCALCalibCoefs::AliEMCALCalibCoefs() : TNamed("",""), fTable(0), fCurrentInd(0), fCalibMethod(0)
 {
   // default constructor
 }
 
+// ----------------------------------------------------------------------
+AliEMCALCalibCoefs::AliEMCALCalibCoefs(const AliEMCALCalibCoefs& coefs) 
+  : TNamed(coefs), fTable(coefs.fTable), 
+    fCurrentInd(coefs.fCurrentInd), fCalibMethod(coefs.fCalibMethod)
+{
+  // copy constructor
+}
+
+// ----------------------------------------------------------------------
 AliEMCALCalibCoefs::AliEMCALCalibCoefs(const char* name, const Int_t nrow) : TNamed(name,"table of cell information") , fTable(0), fCurrentInd(0), fCalibMethod(0)
 {
   // Oct 16, 2007
   fTable = new TObjArray(nrow);
 }
 
+// ----------------------------------------------------------------------
 void AliEMCALCalibCoefs::AddAt(AliEMCALCalibCoef* r)
 {
   // Oct 16, 2007
@@ -80,6 +93,7 @@ void AliEMCALCalibCoefs::AddAt(AliEMCALCalibCoef* r)
   fCurrentInd++;
 }
 
+// ----------------------------------------------------------------------
 AliEMCALCalibCoefs::~AliEMCALCalibCoefs()
 {
   // Destructor
@@ -89,13 +103,14 @@ AliEMCALCalibCoefs::~AliEMCALCalibCoefs()
   }
 }
 
+// ----------------------------------------------------------------------
 AliEMCALCalibCoef* AliEMCALCalibCoefs::GetTable(Int_t i) const
 {
   // Oct 16, 2007
   return (AliEMCALCalibCoef*)fTable->At(i);
 }
 
-
+// ----------------------------------------------------------------------
 // Get initial Calib Data from DB
 AliEMCALCalibCoefs* AliEMCALCalibCoefs::GetCalibTableFromDb(const char *tn, AliEMCALCalibData **calData)
 { 
@@ -142,6 +157,7 @@ AliEMCALCalibCoefs* AliEMCALCalibCoefs::GetCalibTableFromDb(const char *tn, AliE
   return tab;
 }
 
+// ----------------------------------------------------------------------
 TH1F* AliEMCALCalibCoefs::GetHistOfCalibTableFromDb(const char *tn)
 {
   // First SM only
@@ -161,6 +177,7 @@ TH1F* AliEMCALCalibCoefs::GetHistOfCalibTableFromDb(const char *tn)
   return h;
 }
 
+// ----------------------------------------------------------------------
 AliEMCALCalibData* AliEMCALCalibCoefs::GetCalibTableForDb(const AliEMCALCalibCoefs *tab, const char* dbLocation,
 const char* coment)
 {
@@ -213,6 +230,7 @@ const char* coment)
   return caldata;
 }
 
+// ----------------------------------------------------------------------
 AliEMCALCalibCoef *AliEMCALCalibCoefs::GetRow(const int absId)
 {
   // Oct 16, 2007
@@ -224,6 +242,7 @@ AliEMCALCalibCoef *AliEMCALCalibCoefs::GetRow(const int absId)
   return 0;
 }
 
+// ----------------------------------------------------------------------
 void AliEMCALCalibCoefs::PrintTable()
 {
   // Oct 16, 2007
@@ -231,6 +250,7 @@ void AliEMCALCalibCoefs::PrintTable()
   for(int i=0; i<fTable->GetSize(); i++) PrintTable(i);
 }
 
+// ----------------------------------------------------------------------
 void AliEMCALCalibCoefs::PrintTable(const Int_t i)
 {
   // Oct 16, 2007
@@ -239,6 +259,7 @@ void AliEMCALCalibCoefs::PrintTable(const Int_t i)
   PrintRec(GetTable(i));
 }
 
+// ----------------------------------------------------------------------
 void AliEMCALCalibCoefs::PrintRec(AliEMCALCalibCoef* r)
 {
   // Oct 16, 2007
index 2c134dd8ea0176aa52bb8379ceaa1d5985d94b46..9f869fe150af8cd08014587ee85b5b660e5f9bfa 100644 (file)
@@ -42,6 +42,7 @@ class AliEMCALCalibCoefs : public TNamed {
   enum EEmcalCalibType {kMC, kEQUALIZATION, kMIP, kPI0}; // type of EMCAL calibrations 
 
   AliEMCALCalibCoefs(); // default constractor
+  AliEMCALCalibCoefs(const AliEMCALCalibCoefs& coefs); // copy constractor
   AliEMCALCalibCoefs(const char* name, const Int_t nrow);
   virtual ~AliEMCALCalibCoefs();
 
index 6a4a907c5045c180a36b85eef20a4b4a3dd28abb..5ad960893675037c55636645418452b72079275b 100644 (file)
@@ -53,14 +53,30 @@ typedef  AliEMCALHistoUtilities u;
 
 ClassImp(AliEMCALCell)
 
+//______________________________________________________________
 AliEMCALCell::AliEMCALCell() : 
 TFolder(), 
  fParent(0),fLh(0),
 fAbsId(0),fSupMod(0),fModule(0),fPhi(0),fEta(0),fPhiCell(0),fEtaCell(0),fCcIn(0),fCcOut(0),
 fFun(0)
 {
+  //default ctor
 }
 
+//______________________________________________________________
+AliEMCALCell::AliEMCALCell(const AliEMCALCell& cell) : 
+  TFolder(cell.GetName(),cell.GetTitle()), 
+  fParent(cell.fParent),fLh(cell.fLh),
+  fAbsId(cell.fAbsId),fSupMod(cell.fSupMod),
+  fModule(cell.fModule),fPhi(cell.fPhi),
+  fEta(cell.fEta),fPhiCell(cell.fPhiCell),
+  fEtaCell(cell.fEtaCell),fCcIn(cell.fCcIn),
+  fCcOut(cell.fCcOut),fFun(cell.fFun)
+{
+  //copy ctor
+}
+
+//______________________________________________________________
 AliEMCALCell::AliEMCALCell(const Int_t absId, const char* title) : 
   TFolder(Form("Cell%4.4i",absId),title), 
  fParent(0),fLh(0),
@@ -74,12 +90,13 @@ fFun(0)
 
 } 
 
+//______________________________________________________________
 AliEMCALCell::~AliEMCALCell()
 {
   // dtor
 }
-//-------------------------------------------------------------------------------------
 
+//-------------------------------------------------------------------------------------
 void AliEMCALCell::SetCCfromDB(AliEMCALCalibData *ccDb)
 {
   // Oct 15, 2007
@@ -92,6 +109,7 @@ void AliEMCALCell::SetCCfromDB(AliEMCALCalibData *ccDb)
   u::AddToNameAndTitle(h, 0, Form(", cc %5.2f MeV", fCcIn*1.e+3));
 }
 
+//______________________________________________________________
 void AliEMCALCell::SetCCfromCCTable(AliEMCALCalibCoefs *t)
 {
   // Oct 15, 2007
@@ -114,17 +132,20 @@ void AliEMCALCell::SetCCfromCCTable(AliEMCALCalibCoefs *t)
   u::AddToNameAndTitle(h, 0, Form(", cc %5.2f MeV", fCcIn*1.e+3));
 }
 
+//______________________________________________________________
 void AliEMCALCell::FillEffMass(const Double_t mgg)
 {
   u::FillH1(GetHists(), 0, mgg);
 }
 
+//______________________________________________________________
 void AliEMCALCell::FillCellNtuple(TNtuple *nt)
 {
   if(nt==0) return;
   nt->Fill(fAbsId,fSupMod,fModule,fPhi,fEta,fPhiCell,fEtaCell,fCcIn,fCcOut);
 }
 
+//______________________________________________________________
 void AliEMCALCell::FitHist(TH1* h, const char* name, const char* opt)
 {
   // Oct 15, 2007
@@ -182,6 +203,7 @@ void AliEMCALCell::FitHist(TH1* h, const char* name, const char* opt)
   printf("<I> AliEMCALCell::FitHist : |%s| is ended \n\n", h->GetName());
 }
 
+//______________________________________________________________
 void AliEMCALCell::FitEffMassHist(const char* opt)
 {
   // Oct 15, 2007
@@ -209,6 +231,7 @@ void AliEMCALCell::FitEffMassHist(const char* opt)
   printf(" %s | fCcIn %6.5f -> % 6.5f <- fCcOut \n", GetTitle(), fCcIn , fCcOut);
 }
 
+//______________________________________________________________
 void AliEMCALCell::PrintInfo()
 {
   // Oct 15, 2007
@@ -221,6 +244,7 @@ void AliEMCALCell::PrintInfo()
   // if(f) f->Dump();
 }
 
+//______________________________________________________________
 TList* AliEMCALCell::BookHists()
 {
   // Oct 15, 2007
index 72fede0212dc61a2f5a36101203dc2fa86c771b1..fbfa314e5e7080d555482814558f10abbc9d9a6d 100644 (file)
@@ -26,11 +26,19 @@ class AliEMCALCell : public TFolder {
 
  public:
   
-  AliEMCALCell(); 
+  AliEMCALCell(); //default ctor
+  AliEMCALCell(const AliEMCALCell& cell); //copy ctor
   AliEMCALCell(const Int_t absId, const char* title="EMCAL cell");
 
   virtual ~AliEMCALCell();
 
+  AliEMCALCell & operator = (const AliEMCALCell  & /*rvalue*/) {
+    // assignement operator requested by coding convention but not
+    // needed                           
+    Fatal("operator =", "not implemented");
+    return *this;
+  };
+
   void SetCCfromDB(AliEMCALCalibData *ccDb);  // obsolete
   void SetCCfromCCTable(AliEMCALCalibCoefs *t);
 
index 8a7b116714b4d4e411169e93eb32b9ed365af499..805d6c1e1f92b683ffb227ff09444394398c45bd 100644 (file)
  
 ClassImp(AliEMCALCellIndexes) 
 
+// ------------------------------------------------------------------------------
 AliEMCALCellIndexes::AliEMCALCellIndexes() : fAbsId(-1), fNSupMod(-1), fNModule(-1), fNIphi(-1), 
 fNIeta(-1), fIPhi(-1), fIEta(-1), fIPhim(-1), fIEtam(-1)   
 {
 }
 
+
 ClassImp(AliEMCALCellInfo)
-// ------------------------------------------------------------------------------
 
+// ------------------------------------------------------------------------------
 AliEMCALCellInfo::AliEMCALCellInfo() : TNamed("",""), fTable(0), fCurrentInd(0)
 {
+  //default constructor
+}
+
+// ------------------------------------------------------------------------------
+AliEMCALCellInfo::AliEMCALCellInfo(const AliEMCALCellInfo& info) 
+  : TNamed(info.GetName(),info.GetTitle()), 
+    fTable(info.fTable), fCurrentInd(info.fCurrentInd)
+{
+  //copy constructor
 }
 
+// ------------------------------------------------------------------------------
 AliEMCALCellInfo::AliEMCALCellInfo(const char* name, const Int_t nrow) : TNamed(name,"table of cell information") , fTable(0), fCurrentInd(0)
 {
   fTable = new TObjArray(nrow);
 }
 
+// ------------------------------------------------------------------------------
 void AliEMCALCellInfo::AddAt(AliEMCALCellIndexes* r)
 {
   (*fTable)[fCurrentInd] = new AliEMCALCellIndexes(*r);
   fCurrentInd++;
 }
 
+// ------------------------------------------------------------------------------
 AliEMCALCellInfo::~AliEMCALCellInfo()
 {
   if(fTable) {
@@ -63,12 +77,14 @@ AliEMCALCellInfo::~AliEMCALCellInfo()
   }
 }
 
+// ------------------------------------------------------------------------------
 AliEMCALCellIndexes* AliEMCALCellInfo::GetTable(Int_t i) const
 {
   // Oct 16, 2007
   return (AliEMCALCellIndexes*)fTable->At(i);
 }
 
+// ------------------------------------------------------------------------------
 void AliEMCALCellInfo::PrintTable(int ind1, int ind2) const
 {
   // Oct 16, 2007
@@ -85,7 +101,7 @@ void AliEMCALCellInfo::PrintTable(int ind1, int ind2) const
   }
 }
 
-
+// ------------------------------------------------------------------------------
 AliEMCALCellInfo *AliEMCALCellInfo::GetTableForGeometry(const char* geoName)
 {
   // Oct 16, 2007
@@ -94,6 +110,7 @@ AliEMCALCellInfo *AliEMCALCellInfo::GetTableForGeometry(const char* geoName)
   return GetTableForGeometry(g);
 }
 
+// ------------------------------------------------------------------------------
 AliEMCALCellInfo *AliEMCALCellInfo::GetTableForGeometry(AliEMCALGeometry *g)
 {
   // Oct 16, 2007
index 1120171cd5f7a312d2bbc4401e375228e49e3794..627ef1f38fcbd74aa14597921f573016d7b6023f 100644 (file)
@@ -15,6 +15,7 @@
 
 // Aug 1, 2007; Corr. Sep 05
 // cellInfo -> AliEMCALCellIndexes - Oct 15, 2007
+
 class AliEMCALCellIndexes : public TObject { 
   // See AliEMCALGeometry
   // Indexes information
@@ -47,6 +48,7 @@ class TObjArray;
 class AliEMCALCellInfo : public TNamed {
  public:
   AliEMCALCellInfo(); // default constractor
+  AliEMCALCellInfo(const AliEMCALCellInfo& info); //copy constructor
   AliEMCALCellInfo(const char* name, const Int_t nrow);
   virtual ~AliEMCALCellInfo();
 
index 378bcb1f35e7a45a225c5bd5e3ebd192fad2b407..290dba3630078ef560a299e434fc7af5decbf8b7 100644 (file)
@@ -73,13 +73,28 @@ ClassImp(AliEMCALFolder)
 
 //AliEMCALGeometry* AliEMCALFolder::fGeometry = 0;
 
+//_____________________________________________________________
 AliEMCALFolder::AliEMCALFolder() : 
   TFolder(), 
   fCounter(0), fGeometry(0), fNumOfCell(0), fLhists(0), fLofCells(0),fPi0SelPar(0),fCalibData(0),
   fCellNtuple(0),fLobj(0)
 {
+  //default constructor
 }
 
+//_____________________________________________________________
+AliEMCALFolder::AliEMCALFolder(const AliEMCALFolder& folder) : 
+  TFolder(folder.GetName(),folder.GetTitle()), 
+  fCounter(folder.fCounter), 
+  fGeometry(folder.fGeometry), fNumOfCell(folder.fNumOfCell), 
+  fLhists(folder.fLhists), fLofCells(folder.fLofCells),
+  fPi0SelPar(folder.fPi0SelPar),fCalibData(folder.fCalibData),
+  fCellNtuple(folder.fCellNtuple),fLobj(folder.fLobj)
+{
+  //copy constructor
+}
+
+//_____________________________________________________________
 AliEMCALFolder::AliEMCALFolder(const char* name, const char* title, Bool_t putToBrowser) : 
   TFolder(name,title),
   fCounter(-1), fGeometry(0), fNumOfCell(0), fLhists(0), fLofCells(0),fPi0SelPar(0),fCalibData(0),
@@ -88,6 +103,7 @@ AliEMCALFolder::AliEMCALFolder(const char* name, const char* title, Bool_t putTo
   Init(putToBrowser);
 }
 
+//_____________________________________________________________
 AliEMCALFolder::AliEMCALFolder(const Int_t it, const char* title, Bool_t putToBrowser) : 
   TFolder(Form("%s_%2.2i", AliEMCALFolder::fgkBaseFolderName.Data(),it),title),
   fCounter(it), fGeometry(0), fNumOfCell(0), fLhists(0), fLofCells(0),fPi0SelPar(0),fCalibData(0),
@@ -96,11 +112,13 @@ AliEMCALFolder::AliEMCALFolder(const Int_t it, const char* title, Bool_t putToBr
   Init(putToBrowser);
 }
 
+//_____________________________________________________________
 AliEMCALFolder::~AliEMCALFolder()
 {
   // dtor
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::Init(Bool_t putToBrowser)
 {
   // Initialize all data structure
@@ -142,6 +160,7 @@ void AliEMCALFolder::Init(Bool_t putToBrowser)
   if(putToBrowser) gROOT->GetListOfBrowsables()->Add(this); // for testing purpuse
 } 
 
+//_____________________________________________________________
 AliEMCALSuperModule* AliEMCALFolder::GetSuperModule(const Int_t nm)
 {
   // Oct 15, 2007
@@ -153,13 +172,14 @@ AliEMCALSuperModule* AliEMCALFolder::GetSuperModule(const Int_t nm)
   return sm;
 }
 
-
+//_____________________________________________________________
 AliEMCALCell* AliEMCALFolder::GetCell(const Int_t absId)
 { // May 30, 2007
   if(absId<0 || absId >= fNumOfCell) return 0;
   else return fLofCells[absId];
 }  
 
+//_____________________________________________________________
 void  AliEMCALFolder::SetCell(AliEMCALCell *cell, const Int_t absId) 
 {
   // Oct 15, 2007
@@ -168,6 +188,7 @@ void  AliEMCALFolder::SetCell(AliEMCALCell *cell, const Int_t absId)
   }
 }  
 
+//_____________________________________________________________
 AliEMCALPi0SelectionParRec* AliEMCALFolder::GetPi0SelectionParRow(Int_t nrow)
 {
   // Oct 15, 2007
@@ -178,6 +199,7 @@ AliEMCALPi0SelectionParRec* AliEMCALFolder::GetPi0SelectionParRow(Int_t nrow)
   return r;
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::FillPi0Candidate(const Double_t mgg, AliESDCaloCluster* cl1, AliESDCaloCluster* cl2)
 {
   // Oct 15, 2007
@@ -223,6 +245,7 @@ void AliEMCALFolder::FillPi0Candidate(const Double_t mgg, AliESDCaloCluster* cl1
   }
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::FillPi0Candidate(const Double_t mgg, Int_t absIdMax, Int_t nm)
 {
   // Jun 08
@@ -270,6 +293,7 @@ void AliEMCALFolder::FillPi0Candidate(const Double_t mgg, Int_t absIdMax, Int_t
   cell->FillEffMass(mgg);
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::FitAllSMs()
 { // Jun 14, 2007
   // Only first SM now - should be changed in the future 
@@ -297,6 +321,7 @@ void AliEMCALFolder::FitAllSMs()
    Add(ccOut);
 }
 
+//_____________________________________________________________
 AliEMCALCalibCoefs* AliEMCALFolder::GetCCTable(const char* name) const
 {
   // Oct 15, 2007
@@ -305,6 +330,7 @@ AliEMCALCalibCoefs* AliEMCALFolder::GetCCTable(const char* name) const
   else    return 0;
 }
 
+//_____________________________________________________________
 Int_t AliEMCALFolder::GetSMNumber(AliESDCaloCluster* cl)
 {
   // Oct 15, 2007
@@ -318,6 +344,7 @@ Int_t AliEMCALFolder::GetSMNumber(AliESDCaloCluster* cl)
 }
 
 // Recalibration staf - Jun 18,2007
+//_____________________________________________________________
 AliEMCALRecPoint* AliEMCALFolder::GetRecPoint(AliESDCaloCluster *cl, AliEMCALCalibCoefs *tOld,AliEMCALCalibCoefs *tNew,
 TList *l, Double_t deff, Double_t w0, Double_t phiSlope)
 {
@@ -394,6 +421,7 @@ TList *l, Double_t deff, Double_t w0, Double_t phiSlope)
   return rp;
 }
 
+//_____________________________________________________________
 void  AliEMCALFolder::Save(const char *fn, const char *opt)
 { 
   //
@@ -413,6 +441,7 @@ void  AliEMCALFolder::Save(const char *fn, const char *opt)
   if(fn || opt);
 }
 
+//_____________________________________________________________
 AliEMCALFolder* AliEMCALFolder::ReadFolder(const char *fn, const char *opt)
 { 
   //
@@ -440,7 +469,7 @@ AliEMCALFolder* AliEMCALFolder::ReadFolder(const char *fn, const char *opt)
   return emcal;
 }
 
-
+//_____________________________________________________________
 void  AliEMCALFolder::InitAfterRead()
 { 
   // Oct 15, 2007
@@ -450,6 +479,7 @@ void  AliEMCALFolder::InitAfterRead()
   }
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::DrawQA(const int nsm)
 { 
   //
@@ -498,6 +528,7 @@ void AliEMCALFolder::DrawQA(const int nsm)
   c->Update();
 }
 
+//_____________________________________________________________
 TList* AliEMCALFolder::BookHists()
 {
   // Oct 15, 2007
@@ -513,6 +544,7 @@ TList* AliEMCALFolder::BookHists()
   return l;
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::CreateCellNtuple()
 {
   // Jun 28, 2007
@@ -546,6 +578,7 @@ void AliEMCALFolder::CreateCellNtuple()
   fLobj->Add(fCellNtuple); 
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::CreateAndFillAdditionalHists()
 {
   // Oct 15, 2007
@@ -580,10 +613,10 @@ void AliEMCALFolder::CreateAndFillAdditionalHists()
   h1->SetTitle("CC distribution after #pi^{0} calibration");
   h1->SetXTitle("  MeV  ");
   h1->SetYTitle("  N  ");
-  TLatex *lat1 = u::Lat(Form("rel.width = %4.2f%%", 
-  100.*h1->GetRMS()/ h1->GetMean()), 16.5, 100., 12, 0.045);
-  TLatex *lat2 = u::Lat(Form("rel.width = %4.2f%% (from fit)", 
-                            100.*g->GetParameter(2)/ g->GetParameter(1)), 16.5, 70., 12, 0.045);
+  //  TLatex *lat1 = u::Lat(Form("rel.width = %4.2f%%", 
+  //100.*h1->GetRMS()/ h1->GetMean()), 16.5, 100., 12, 0.045);
+  //TLatex *lat2 = u::Lat(Form("rel.width = %4.2f%% (from fit)", 
+  //                100.*g->GetParameter(2)/ g->GetParameter(1)), 16.5, 70., 12, 0.045);
 
   if(0) {
     TH1 *h2 = (TH1*)fLhists->At(2);
@@ -628,6 +661,7 @@ void AliEMCALFolder::CreateAndFillAdditionalHists()
   c->Update();
 }
 
+//_____________________________________________________________
 void AliEMCALFolder::TestSMStruct()
 {
   // testing May 22, 2007
index cdd697615e839168750decdc95dd9c03f6fd0c45..c67a731d9d3e1ae9bde16ac28d52729e89e5d0e2 100644 (file)
@@ -44,11 +44,19 @@ class AliEMCALFolder : public TFolder {
  public:
   
   AliEMCALFolder(); 
+  AliEMCALFolder(const AliEMCALFolder& folder); //copy constructor
   AliEMCALFolder(const char* name, const char* title="Top EMCAL folder", Bool_t putToBrowser=kFALSE);
   AliEMCALFolder(const Int_t it, const char* title="Top EMCAL folder", Bool_t putToBrowser=kFALSE);
 
   virtual ~AliEMCALFolder();
 
+  AliEMCALFolder & operator = (const AliEMCALFolder  & /*rvalue*/) {
+    // assignement operator requested by coding convention but not
+    // needed                           
+    Fatal("operator =", "not implemented");
+    return *this;
+  };
+
   void Init(Bool_t putToBrowser=kFALSE);
   // Get methods
   Int_t GetIterationNumber() const {return fCounter;}
index 2c204b85bc9bc4b1b7d14127511518d0a86e923b..9a6814a1ac99e4ef2970df783a9884155f0b9662 100644 (file)
@@ -307,18 +307,6 @@ void AliEMCALGeometry::Init(void){
             if(fGeoName.Contains("HUGE")) fNECLayers *= 3; // 28-oct-05 for analysing leakage    
           }
        }
-      } else if(fGeoName.Contains("TRD2")) {       // 30-jan-05
-        fSteelFrontThick = 0.0;         // 11-mar-05
-        fIPDistance+= fSteelFrontThick; // 1-feb-05 - compensate absence of steel plate
-        fTrd1Angle  = 1.64;             // 1.3->1.64
-        fTrd2AngleY = fTrd1Angle;       //  symmetric case now
-        fEmptySpace    = 0.2; // 2 mm
-        fTubsR         = fIPDistance; // 31-jan-05 - as for Fred case
-
-        fPhiModuleSize  = fTubsR*2.*TMath::Tan(fTrd2AngleY*TMath::DegToRad()/2.);
-        fPhiModuleSize -= fEmptySpace/2.; // 11-mar-05  
-        fEtaModuleSize  = fPhiModuleSize; // 20-may-05 
-        fTubsTurnAngle  = 3.;
       }
       fNPHIdiv = fNETAdiv  = 2;   // 13-oct-04 - division again
       if(fGeoName.Contains("3X3")) {   // 23-nov-04
@@ -356,9 +344,6 @@ void AliEMCALGeometry::Init(void){
     // 30-sep-04
     if(fGeoName.Contains("TRD")) {
       f2Trd1Dx2 = fEtaModuleSize + 2.*fLongModuleSize*TMath::Tan(fTrd1Angle*TMath::DegToRad()/2.);
-      if(fGeoName.Contains("TRD2")) {  // 27-jan-05
-        f2Trd2Dy2 = fPhiModuleSize + 2.*fLongModuleSize*TMath::Tan(fTrd2AngleY*TMath::DegToRad()/2.);
-      }
     }
   } else Fatal("Init", "%s is an undefined geometry!", fGeoName.Data()) ; 
 
@@ -455,13 +440,7 @@ void AliEMCALGeometry::PrintGeometry()
   if(fGeoName.Contains("TRD")) {
     printf(" fTrd1Angle %7.4f\n", fTrd1Angle);
     printf(" f2Trd1Dx2  %7.4f\n",  f2Trd1Dx2);
-    if(fGeoName.Contains("TRD2")) {
-      printf(" fTrd2AngleY     %7.4f\n", fTrd2AngleY);
-      printf(" f2Trd2Dy2       %7.4f\n", f2Trd2Dy2);
-      printf(" fTubsR          %7.2f cm\n", fTubsR);
-      printf(" fTubsTurnAngle  %7.4f\n", fTubsTurnAngle);
-      printf(" fEmptySpace     %7.4f cm\n", fEmptySpace);
-    } else if(fGeoName.Contains("TRD1")){
+    if(fGeoName.Contains("TRD1")){
       printf("SM dimensions(TRD1) : dx %7.2f dy %7.2f dz %7.2f (SMOD, BOX)\n", 
       fParSM[0],fParSM[1],fParSM[2]);
       printf(" fPhiGapForSM  %7.4f cm (%7.4f <- phi size in degree)\n",  
@@ -1352,7 +1331,7 @@ AliEMCALShishKebabTrd1Module* AliEMCALGeometry::GetShishKebabModule(Int_t neta)
   return trd1;
 }
 
-void AliEMCALGeometry::Browse(TBrowser* b) const
+void AliEMCALGeometry::Browse(TBrowser* b)
 {
   //Browse the modules
   if(fShishKebabTrd1Modules) b->Add(fShishKebabTrd1Modules);
index 2c313886f1922b54e8cb3378e6ff43411e7e9fee..d0a3dbd15006842569283b3d3dea85dc64de7d31 100644 (file)
@@ -53,7 +53,7 @@ public:
   static Char_t* GetDefaulGeometryName() {return fgDefaultGeometryName;}
   void PrintGeometry();                                           //*MENU*  
   void PrintCellIndexes(Int_t absId=0, int pri=0, char *tit="");  //*MENU*
-  virtual void Browse(TBrowser* b) const ;
+  virtual void Browse(TBrowser* b);
   virtual Bool_t  IsFolder() const;
 
   void GetCellPhiEtaIndexInSModuleFromTRUIndex(Int_t itru, Int_t iphitru, Int_t ietatru, Int_t &ietaSM, Int_t &iphiSM) const ; // Tranforms Eta-Phi Cell index in TRU into Eta-Phi index in Super Module
index 2a7b62c5b19227566629afc44d35c596d54691e1..076868064e4f9be8d547c5e949e7f4668017b3fc 100644 (file)
 #include "AliEMCALPi0SelectionParam.h"
 
 ClassImp(AliEMCALPi0SelectionParRec)
+//_________________________________________________________________________
 AliEMCALPi0SelectionParRec::AliEMCALPi0SelectionParRec() : 
 fEOfRpMin(0.3), fEOfRpMax(30.), fMassGGMin(0.03), fMassGGMax(0.28), fMomPi0Min(1.8), fMomPi0Max(12.)
 {
   // Default constructor 
 }
-//_________________________________________________________________________
+
+
+
 
 ClassImp(AliEMCALPi0SelectionParam)
+//_________________________________________________________________________
 AliEMCALPi0SelectionParam::AliEMCALPi0SelectionParam() : TNamed("",""), fTable(0), fCurrentInd(0)
 {
   // Default constructor 
 }
 
+//_________________________________________________________________________
+AliEMCALPi0SelectionParam::AliEMCALPi0SelectionParam(const AliEMCALPi0SelectionParam& param) 
+  : TNamed(param), fTable(param.fTable), fCurrentInd(param.fCurrentInd)
+{
+  // Copy constructor 
+}
+
+//_________________________________________________________________________
 AliEMCALPi0SelectionParam::AliEMCALPi0SelectionParam(const char* name, const Int_t nrow) : TNamed(name,"table of cell information") , fTable(0), fCurrentInd(0)
 {
   // Oct 16, 2007
   fTable = new TObjArray(nrow);
 }
 
+//_________________________________________________________________________
 void AliEMCALPi0SelectionParam::AddAt(AliEMCALPi0SelectionParRec* r)
 {
   // Oct 16, 2007
@@ -61,6 +74,7 @@ void AliEMCALPi0SelectionParam::AddAt(AliEMCALPi0SelectionParRec* r)
   fCurrentInd++;
 }
 
+//_________________________________________________________________________
 AliEMCALPi0SelectionParam::~AliEMCALPi0SelectionParam()
 {
   // Oct 16, 2007
@@ -70,12 +84,14 @@ AliEMCALPi0SelectionParam::~AliEMCALPi0SelectionParam()
   }
 }
 
+//_________________________________________________________________________
 AliEMCALPi0SelectionParRec* AliEMCALPi0SelectionParam::GetTable(Int_t i) const
 {
   // Oct 16, 2007
   return (AliEMCALPi0SelectionParRec*)fTable->At(i);
 }
 
+//_________________________________________________________________________
 void AliEMCALPi0SelectionParam::PrintTable()
 {
   // Oct 16, 2007
@@ -83,6 +99,7 @@ void AliEMCALPi0SelectionParam::PrintTable()
   for(int i=0; i<GetNRows(); i++) PrintTable(i);
 }
 
+//_________________________________________________________________________
 void AliEMCALPi0SelectionParam::PrintTable(const Int_t i)
 {
   // Oct 16, 2007
@@ -91,6 +108,7 @@ void AliEMCALPi0SelectionParam::PrintTable(const Int_t i)
   PrintRec(GetTable(i));
 }
 
+//_________________________________________________________________________
 void AliEMCALPi0SelectionParam::PrintRec(AliEMCALPi0SelectionParRec* r)
 {
   // Oct 16, 2007
@@ -99,6 +117,8 @@ void AliEMCALPi0SelectionParam::PrintRec(AliEMCALPi0SelectionParRec* r)
   printf(" gamma,gamma mass window %7.2f -> %7.2f \n", r->fMassGGMin, r->fMassGGMax);
   printf(" pi0   momentum   window %7.2f -> %7.2f \n", r->fMomPi0Min, r->fMomPi0Max);
 }
+
+//_________________________________________________________________________
 // Set 1;
 AliEMCALPi0SelectionParam* AliEMCALPi0SelectionParam::Set1()
 {
index 7b2b79d8cc6c0fb7cfb3043b1e023d31e336d3d9..456c862ea29ea9769b5341bf3c78b8705f349c14 100644 (file)
@@ -41,6 +41,7 @@ class  AliEMCALPi0SelectionParRec :  public TObject{
 class AliEMCALPi0SelectionParam : public TNamed {
  public:
   AliEMCALPi0SelectionParam(); // default constractor
+  AliEMCALPi0SelectionParam(const AliEMCALPi0SelectionParam& param);
   AliEMCALPi0SelectionParam(const char* name, const Int_t nrow);
   virtual ~AliEMCALPi0SelectionParam();
 
index 859ae44ba772e47197e964b48a47940555136195..36af21542cf93444f70f441a2c01cb62efeff2cc 100644 (file)
@@ -56,8 +56,10 @@ class AliEMCALShishKebabTrd1Module : public TNamed {
   }
   void GetCenterOfCellInLocalCoordinateofSM_3X3(Int_t ieta, Double_t &xr, Double_t &zr) const
   { // 3X3 case - Nov 9,2006
-    ieta = ieta<0? ieta=0 : ieta; // check index
-    ieta = ieta>2? ieta=2 : ieta;
+    if(ieta < 0) ieta = 0;
+    if(ieta > 2) ieta = 2;
+    //    ieta = ieta<0? ieta=0 : ieta; // check index
+    //ieta = ieta>2? ieta=2 : ieta;
     xr   = fOK3X3[2-ieta].Y();
     zr   = fOK3X3[2-ieta].X();
   }
index dbe38ccc544a3a1b25adf41e7050af9a486daddf..1a82ec268764357c8657c84658bde08c09058277 100644 (file)
@@ -29,7 +29,6 @@
 #include <TNode.h>
 #include <TBRIK.h>
 #include <TTRD1.h>
-#include <TTRD2.h>
 #include <TTRAP.h>
 #include <TPGON.h>
 #include <TTUBS.h>
@@ -116,7 +115,7 @@ void AliEMCALv0::BuildGeometry()
     TNode * top = gAlice->GetGeometry()->GetNode("alice") ; // See AliceGeom/Nodes
     TNode * envelopNode = 0;
     char *envn = "Envelop1";
-    if(!gn.Contains("SHISH") || gn.Contains("TRD2")){
+    if(!gn.Contains("SHISH")){
       new TTUBS(envn, "Tubs that contains arm 1", "void", 
              geom->GetEnvelop(0) -10, // rmin 
              geom->GetEnvelop(1) +40 ,// rmax
@@ -321,18 +320,7 @@ void AliEMCALv0::CreateGeometry()
     // Create the EMCAL Mother Volume (a polygone) within which to place the Detector and named XEN1 
 
     Float_t envelopA[10];
-    if(gn.Contains("TRD2")) { // TUBS
-       envelopA[0] = geom->GetEnvelop(0) - 10.; // rmin 
-       envelopA[1] = geom->GetEnvelop(1) + 12.; // rmax
-       //       envelopA[2] = geom->ZFromEtaR(geom->GetEnvelop(1), geom->GetArm1EtaMin());
-       envelopA[2] = 390.; // 6-feb-05
-       envelopA[3] = geom->GetArm1PhiMin();
-       envelopA[4] = geom->GetArm1PhiMax();
-       gMC->Gsvolu("XEN1", "TUBS", fIdTmedArr[kIdAIR], envelopA, 5) ;   // Tubs filled with air 
-       fEnvelop1.Set(5, envelopA);
-    // Position the EMCAL Mother Volume (XEN1) in Alice (ALIC)  
-       gMC->Gspos("XEN1", 1, "ALIC", 0.0, 0.0, 0.0, fIdRotm, "ONLY") ;
-    } else if(gn.Contains("TRD1") && gn.Contains("WSUC") ) { // TRD1 for WSUC facility
+    if(gn.Contains("TRD1") && gn.Contains("WSUC") ) { // TRD1 for WSUC facility
       // 17-may-05 - just BOX
       envelopA[0] = 26;
       envelopA[1] = 15;
@@ -374,7 +362,7 @@ void AliEMCALv0::CreateGeometry()
     }
 
     if(gn.Contains("SHISH")){
-      // COMPACT, TWIST, TRD2 or TRD1
+      // COMPACT, TWIST, or TRD1
       AliDebug(2,Form("Shish-Kebab geometry : %s", GetTitle())); 
       CreateShishKebabGeometry();
     }
@@ -412,7 +400,7 @@ void AliEMCALv0::Init(void)
 // 24-aug-04 by PAI
 void AliEMCALv0::CreateShishKebabGeometry()
 {  
-  // TWIST, TRD1 and TRD2 
+  // TWIST, TRD1
   AliEMCALGeometry * g = GetGeometry(); 
   TString gn(g->GetName()); gn.ToUpper(); 
   // see AliModule::fFIdTmedArr
@@ -535,9 +523,6 @@ void AliEMCALv0::CreateShishKebabGeometry()
     } else if(g->GetNPHIdiv()==4 && g->GetNETAdiv()==4) {
       Trd1Tower4X4();
     }
-  } else if(gn.Contains("TRD2")) {    // TRD2 - 14-jan-05
-    //    Scm0InTrd2(g, fParEMOD, parSCM0); // First dessin 
-    PbmoInTrd2(g, fParEMOD, parSCM0); // Second design 
   }
 }
 
@@ -545,11 +530,10 @@ void AliEMCALv0::CreateSmod(const char* mother)
 { 
   // 18-may-05; mother="XEN1"; 
   // child="SMOD" from first to 10th, "SM10" (11th and 12th) (TRD1 case)
-  // child="SMON" and "SMOP"("TRD2" case)
   AliEMCALGeometry * g = GetGeometry(); 
   TString gn(g->GetName()); gn.ToUpper();
 
-  Double_t par[3], parTubs[5], xpos=0., ypos=0., zpos=0., rpos=0., dphi=0., phi=0.0, phiRad=0.;
+  Double_t par[3], xpos=0., ypos=0., zpos=0., rpos=0., dphi=0., phi=0.0, phiRad=0.;
   Double_t par1C = 0.;
   //  ===== define Super Module from air - 14x30 module ==== ;
   fSampleWidth = double(g->GetECPbRadThick()+g->GetECScintThick());
@@ -566,21 +550,7 @@ void AliEMCALv0::CreateSmod(const char* mother)
     AliDebug(2,Form(" rpos %8.2f : dphi %6.1f degree \n", rpos, dphi));
   }
 
-  if (gn.Contains("TRD2")) { // tubs - 27-jan-05
-    parTubs[0] = g->GetTubsR();                       // rmin
-    parTubs[1] = parTubs[0] + g->GetShellThickness(); // rmax ?? 
-    parTubs[2] = 380./2.;                             // DZ half length in z; 11-oct-04 - for 26 division
-    parTubs[3] = -dphi/2.;                            // PHI1 starting angle of the segment;
-    parTubs[4] = +dphi/2.;                            // PHI2 ending angle of the segment;
-
-    gMC->Gsvolu("SMOP", "TUBS", fIdTmedArr[kIdAIR], parTubs, 5); // pozitive Z
-    gMC->Gsvolu("SMON", "TUBS", fIdTmedArr[kIdAIR], parTubs, 5); // negative Z
-
-    AliDebug(2,Form(" SMOP,N ** TUBS **\n")); 
-    AliDebug(2,Form("tmed %i | Rmin %7.2f Rmax %7.2f dz %7.2f phi1,2 (%7.2f,%7.2f)\n", 
-                   fIdTmedArr[kIdAIR], parTubs[0],parTubs[1],parTubs[2], parTubs[3],parTubs[4]));
-    // have to add 1 cm plastic before EMOD - time solution 
-  } else if(gn.Contains("WSUC")) {
+  if(gn.Contains("WSUC")) {
     par[0] = g->GetPhiModuleSize()*g->GetNPhi()/2.; 
     par[1] = g->GetShellThickness()/2.;
     par[2] = g->GetEtaModuleSize()*g->GetNZ()/2. + 5; 
@@ -630,50 +600,8 @@ void AliEMCALv0::CreateSmod(const char* mother)
   if(gn.Contains("TEST")) {nphism = 1;} // just only 2 super modules;
 
   // Turn whole super module
-  int turnSupMod = 1; // should be ONE; for testing = 0
   for(int i=i0; i<nphism; i++) {
-    if (gn.Contains("TRD2")) {      // tubs - 27-jan-05
-      if(i==i0) {
-        printf("** TRD2 ** ");
-        if(turnSupMod==1) printf(" No 3 degree rotation !!! ");
-        printf("\n");
-      }
-      Double_t phic=0., phicRad=0.; // phi angle of arc center
-      phic    = g->GetArm1PhiMin() + dphi*(2*i+1)/2.; //
-      phicRad = phic*TMath::DegToRad();
-      phi     = phic - g->GetTubsTurnAngle();
-      phiRad  = phi*TMath::DegToRad();
-      if(turnSupMod==1) {
-        TVector2  vc;     // position of super module center
-        vc.SetMagPhi(parTubs[0], phicRad);
-        TVector2  vcTurn; // position of super module center with turn
-        vcTurn.SetMagPhi(parTubs[0], phiRad);
-        TVector2 vcShift = vc - vcTurn;
-        phic = phi;
-
-        xpos = vcShift.X();
-        ypos = vcShift.Y();
-      } else { // 1-mar-05 ; just for testing - no turn od SMOD; looks good
-        xpos = ypos = 0.0;
-      }
-      zpos = parTubs[2];
-      AliMatrix(fIdRotm, 90.0, phic, 90.0, 90.0+phic, 0.0, 0.0);
-
-      gMC->Gspos("SMOP", ++nr, mother, xpos, ypos, zpos, fIdRotm, "ONLY") ;
-      printf("SMOP %2i | %2i fIdRotm %3i phi %6.1f(%5.3f) xpos %7.2f ypos %7.2f zpos %7.2f \n", 
-      i, nr, fIdRotm, phic, phicRad, xpos, ypos, zpos);
-      printf(" phiy(90+phic)  %6.1f \n", 90. + phic);
-
-      if(!gn.Contains("TEST1") && g->GetNumberOfSuperModules() > 1){
-       //        double  phiy = 90. + phic + 180.;
-       //        if(phiy>=360.) phiy -= 360.;
-       //        printf(" phiy  %6.1f \n", phiy);
-       //        AliMatrix(fIdRotm, 90.0, phic, 90.0, phiy, 180.0, 0.0);
-        gMC->Gspos("SMON", nr, mother, xpos, ypos, -zpos, fIdRotm, "ONLY") ;
-        printf("SMON %2i | %2i fIdRotm %3i phi %6.1f(%5.3f) xpos %7.2f ypos %7.2f zpos %7.2f \n", 
-        i, nr, fIdRotm, phic, phicRad, xpos, ypos, -zpos);
-      }
-    } else if(gn.Contains("WSUC")) {
+    if(gn.Contains("WSUC")) {
       xpos = ypos = zpos = 0.0;
       fIdRotm = 0;
       gMC->Gspos("SMOD", 1, mother, xpos, ypos, zpos, fIdRotm, "ONLY") ;
@@ -728,10 +656,9 @@ void AliEMCALv0::CreateEmod(const char* mother, const char* child)
   AliEMCALGeometry * g = GetGeometry(); 
   TString gn(g->GetName()); gn.ToUpper(); 
   // Module definition
-  Double_t par[10], parTubs[5], xpos=0., ypos=0., zpos=0., rpos=0.;
+  Double_t par[10], xpos=0., ypos=0., zpos=0.;
   Double_t parSCPA[5], zposSCPA=0.; // passive SC - 13-MAY-05, TRD1 case
   Double_t trd1Angle = g->GetTrd1Angle()*TMath::DegToRad(), tanTrd1 = TMath::Tan(trd1Angle/2.);
-  Double_t tanTrd2y  = TMath::Tan(g->GetTrd2AngleY()*TMath::DegToRad()/2.);
   int nr=0;
   fIdRotm=0;
   if(!gn.Contains("TRD")) { // standard module
@@ -757,13 +684,6 @@ void AliEMCALv0::CreateEmod(const char* mother, const char* child)
         gMC->Gspos ("SCPA", ++nr, child, 0.0, 0.0, zposSCPA, 0, "ONLY");
       }
     }
-  } else if (gn.Contains("TRD2")){ // TRD2 as for TRD1 - 27-jan-05
-    fParEMOD[0] = g->GetEtaModuleSize()/2.;   // dx1
-    fParEMOD[1] = g->Get2Trd1Dx2()/2.;        // dx2
-    fParEMOD[2] = g->GetPhiModuleSize()/2.;   // dy1
-    fParEMOD[3] = fParEMOD[2] + tanTrd2y*g->GetLongModuleSize();// dy2
-    fParEMOD[4] = g->GetLongModuleSize()/2.;  // dz
-    gMC->Gsvolu(child, "TRD2", fIdTmedArr[kIdSTEEL], fParEMOD, 5);
   }
 
   nr   = 0;
@@ -791,9 +711,9 @@ void AliEMCALv0::CreateEmod(const char* mother, const char* child)
        //        printf(" %3i(%2i,2i) xpos %7.2f ypos %7.2f zpos %7.2f \n", nr,iy,iz, xpos, ypos, zpos);
       }
     }    
-  } else if(gn.Contains("TRD")) { // 30-sep-04; 27-jan-05 - as for TRD1 as for TRD2
+  } else if(gn.Contains("TRD")) { // 30-sep-04; 27-jan-05 - as for TRD1
     // X->Z(0, 0); Y->Y(90, 90); Z->X(90, 0)
-    AliEMCALShishKebabTrd1Module *mod=0, *mTmp; // current module
+    AliEMCALShishKebabTrd1Module *mod=0; // current module
 
     for(int iz=0; iz<g->GetNZ(); iz++) {
       Double_t  angle=90., phiOK=0;
@@ -836,49 +756,6 @@ void AliEMCALv0::CreateEmod(const char* mother, const char* child)
           }
           printf("\n");
         }
-      } else if(gn.Contains("TRD2")){ // 1-feb-05 - TRD2;  curve in phi
-        double angEtaRow = 0.;
-       double theta1=0.,phi1=0., theta2=0.,phi2=0., theta3=0.,phi3=0.;
-        angle=90.;
-        if(iz==0) {
-          mod   = new AliEMCALShishKebabTrd1Module();
-        } else {
-          mTmp  = new AliEMCALShishKebabTrd1Module(*mod);
-          mod   = mTmp;
-          angle = mod->GetThetaInDegree();
-        }
-
-        fShishKebabModules->Add(mod);
-        phiOK = mod->GetCenterOfModule().Phi()*180./TMath::Pi(); 
-       AliDebug(2,Form(" %i | theta | %6.3f - %6.3f = %6.3f\n", iz+1, angle, phiOK, angle-phiOK));
-
-        zpos = mod->GetPosZ() - parTubs[2];
-        rpos = parTubs[0] + mod->GetPosXfromR();
-
-        angle     = mod->GetThetaInDegree();
-        Double_t stepAngle = (parTubs[4] -  parTubs[3])/g->GetNPhi(); // 11-mar-04
-       for(int iy=0; iy<g->GetNPhi(); iy++) {
-          angEtaRow = parTubs[3] + stepAngle*(0.5+double(iy));
-         //          angEtaRow = 0;
-          theta1  = 90. +  angle; phi1 = angEtaRow;      // x' ~-z;
-          theta2  = 90.;          phi2 = 90. + angEtaRow;// y' ~ y;
-          theta3  = angle;        phi3 = angEtaRow;      // z' ~ x;
-          if(phi3 < 0.0) phi3 += 360.; 
-          AliMatrix(fIdRotm, theta1,phi1, theta2,phi2, theta3,phi3);
-
-          xpos = rpos * TMath::Cos(angEtaRow*TMath::DegToRad());
-          ypos = rpos * TMath::Sin(angEtaRow*TMath::DegToRad());
-          gMC->Gspos(child, ++nr, "SMOP", xpos, ypos, zpos, fIdRotm, "ONLY") ;
-         // SMON; 
-         phi1    = 180 + angEtaRow;
-         theta3  = 180.-theta3;  phi3 = angEtaRow;
-          AliMatrix(fIdRotm, theta1,phi1, theta2,phi2, theta3,phi3);
-          gMC->Gspos(child,  nr, "SMON", xpos, ypos, -zpos, fIdRotm, "ONLY") ;
-          if(AliDebugLevel()>=2) {
-           printf(" angEtaRow(phi) %7.2f |  angle(eta) %7.2f \n",  angEtaRow, angle);
-           printf("iy=%2i xpos %7.2f ypos %7.2f zpos %7.2f fIdRotm %i\n", iy, xpos, ypos, zpos, fIdRotm);
-          }
-        } // for(int iy=0; iy<g->GetNPhi(); iy++)
       }
     } 
   } else {
index 0cbef87b6699003c81b2b59706be0728896883e3..1c70a26586b22134dbbca5fd0c3cf558a8b75129 100644 (file)
@@ -764,7 +764,7 @@ void AliEMCALJetMicroDst::Close()
   fTree = 0;
 }
 
-void AliEMCALJetMicroDst::Browse(TBrowser* b) const
+void AliEMCALJetMicroDst::Browse(TBrowser* b)
 {
   // Browse
    if(fTree)      b->Add((TObject*)fTree);
index 05c85d7c24df539690e61394206b40eb969a5cee..c766b537bef170919a8a3d976b7ce05a81197bb9 100644 (file)
@@ -82,7 +82,7 @@ class AliEMCALJetMicroDst: public TNamed {
 
   Bool_t  IsPythiaDst() const ;
   virtual Bool_t  IsFolder() const;
-  virtual void Browse(TBrowser* b) const;
+  virtual void Browse(TBrowser* b);
 
   // service routine
   static TList *MoveHistsToList(const char* name="ListOfHists", Bool_t putToBrowser=kTRUE);