]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coding conventions
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 11:07:28 +0000 (11:07 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 11:07:28 +0000 (11:07 +0000)
HLT/PHOS/OnlineDisplay/AliHLTPHOSOnlineDisplayEventTab.h
HLT/TPCLib/tracking/AliHLTTPCHough.cxx
HLT/TPCLib/tracking/AliHLTTPCHough.h

index 97652a85109ea3236b2ea2385ace235e5d9365d8..464883e36d651ea10935c06f933accc5a40430f8 100644 (file)
@@ -1,21 +1,21 @@
 //-*- Mode: C++ -*-
 // $Id$
 
-/**************************************************************************
- * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved.      *
- *                                                                        *
- * Authors: Per Thomas Hille for the ALICE                                *
- * offline/HLT Project. Contributors are mentioned in the code where      *
- * appropriate.                                                           *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
+//**************************************************************************
+//* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved.      *
+//*                                                                        *
+//* Authors: Per Thomas Hille for the ALICE                                *
+//* offline/HLT Project. Contributors are mentioned in the code where      *
+//* appropriate.                                                           *
+//*                                                                        *
+//* Permission to use, copy, modify and distribute this software and its   *
+//* documentation strictly for non-commercial purposes is hereby granted   *
+//* without fee, provided that the above copyright notice appears in all   *
+//* copies and that both the copyright notice and this permission notice   *
+//* appear in the supporting documentation. The authors make no claims     *
+//* about the suitability of this software for any purpose. It is          *
+//* provided "as is" without express or implied warranty.                  *
+//**************************************************************************/
 
 #ifndef ALIHLTPHOSONLINEDISPLAYEVENTTAB_H
 #define ALIHLTPHOSONLINEDISPLAYEVENTTAB_H
@@ -88,12 +88,12 @@ class AliHLTPHOSOnlineDisplayEventTab : public AliHLTPHOSOnlineDisplayTab
   void FindFourierBlocks(AliHLTHOMERReader *homeReaderPtr) const;
 
   void ResetDisplay();
-  TGTab               *fTab;
-  TGTab               *fSubTab1;
-  TRootEmbeddedCanvas *fEc1, *fEc2, *fEc3, *fEc4, *fEc5, *fEc6;
-  TGCompositeFrame    *fSubF1, *fSubF2, *fSubF3;
-  TCanvas *fgCanvasPtr[NGAINS];
-  AliHLTPHOSOnlineDisplayTH2D *fgLegoPlotPtr[NGAINS];
+  TGTab               *fTab; //!
+  TGTab               *fSubTab1; //!
+  TRootEmbeddedCanvas *fEc1, *fEc2, *fEc3, *fEc4, *fEc5, *fEc6; //!
+  TGCompositeFrame    *fSubF1, *fSubF2, *fSubF3; //!
+  TCanvas *fgCanvasPtr[NGAINS]; //!
+  AliHLTPHOSOnlineDisplayTH2D *fgLegoPlotPtr[NGAINS]; //!
 
   /*
   int *fChannelData[NMODULES][NXRCUCOORD][NZRCUCOORD][NXCOLUMNSRCU][NZROWSRCU][NGAINS];
@@ -110,6 +110,8 @@ class AliHLTPHOSOnlineDisplayEventTab : public AliHLTPHOSOnlineDisplayTab
 
  private:
   AliHLTPHOSOnlineDisplayEventTab();
+  AliHLTPHOSOnlineDisplayEventTab(const AliHLTPHOSOnlineDisplayEventTab&);
+  AliHLTPHOSOnlineDisplayEventTab& operator=(const AliHLTPHOSOnlineDisplayEventTab&);
 
   void FillRawData(const AliHLTPHOSChannelRawDataStruct &rawStr);
   
index 419afc2750e8b440fc544fdee32d598c115aecc9..bab08cbf137e1a1c8e32f31c9a22e13c5e02eb00 100644 (file)
@@ -1,20 +1,21 @@
-// @(#) $Id$
+// $Id$
 // origin: hough/AliL3Hough.cxx,v 1.50 Tue Mar 28 18:05:12 2006 UTC by alibrary
 
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
+//**************************************************************************
+//* This file is property of and copyright by the ALICE HLT Project        * 
+//* ALICE Experiment at CERN, All rights reserved.                         *
+//*                                                                        *
+//* Primary Authors: Anders Vestbo, Cvetan Cheshkov                        *
+//*                  for The ALICE HLT Project.                            *
+//*                                                                        *
+//* Permission to use, copy, modify and distribute this software and its   *
+//* documentation strictly for non-commercial purposes is hereby granted   *
+//* without fee, provided that the above copyright notice appears in all   *
+//* copies and that both the copyright notice and this permission notice   *
+//* appear in the supporting documentation. The authors make no claims     *
+//* about the suitability of this software for any purpose. It is          *
+//* provided "as is" without express or implied warranty.                  *
+//**************************************************************************
 
 /** @file   AliHLTTPCHough.cxx
     @author Anders Vestbo, Cvetan Cheshkov
@@ -552,6 +553,8 @@ void AliHLTTPCHough::CalcTransformerParams(Float_t ptmin)
 
 void AliHLTTPCHough::SetTransformerParams(Int_t nx,Int_t ny,Float_t lpt,Float_t phi)
 {
+  // SetTransformerParams
+
   Int_t i=0;
   while(i < 6)
     {
index 19eb7177b9e0914005e070ca63c491400d8d32dd..f7206f6fb240497f1953340f6838463fcc26696d 100644 (file)
@@ -1,10 +1,13 @@
-// @(#) $Id$
+//-*- Mode: C++ -*-
+// $Id$
 // origin hough/AliL3Hough.h,v 1.31 Fri Feb 25 07:32:13 2005 UTC by cvetan
+
 #ifndef ALIHLTTPCHOUGH_H
 #define ALIHLTTPCHOUGH_H
 
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
+//* This file is property of and copyright by the ALICE HLT Project        * 
+//* ALICE Experiment at CERN, All rights reserved.                         *
+//* See cxx source for full Copyright notice                               *
 
 /** @file   AliHLTTPCHough.h
     @author Anders Vestbo, Cvetan Cheshkov
@@ -103,23 +106,28 @@ class AliHLTTPCHough {
   void SetPeakParameters(Int_t kspread,Float_t pratio) {fKappaSpread=kspread; fPeakRatio=pratio;}
   
   //Getters
-  AliHLTTPCHoughTransformer *GetTransformer(Int_t i) {if(!fHoughTransformer[i]) return 0; return fHoughTransformer[i];}
-  AliHLTTPCTrackArray *GetTracks(Int_t i) {if(!fTracks[i]) return 0; return fTracks[i];}
-  AliHLTTPCHoughEval *GetEval(Int_t i) {if(!fEval[i]) return 0; return fEval[i];}
-  AliHLTTPCHoughMerger *GetMerger() {if(!fMerger) return 0; return fMerger;}
-  AliHLTTPCHoughIntMerger *GetInterMerger() {if(!fInterMerger) return 0; return fInterMerger;}
-  AliHLTTPCMemHandler *GetMemHandler(Int_t i) {if(!fMemHandler[i]) return 0; return fMemHandler[i];}
-  AliHLTTPCHoughMaxFinder *GetMaxFinder() {return fPeakFinder;}
+  AliHLTTPCHoughTransformer *GetTransformer(Int_t i) const {if(!fHoughTransformer[i]) return 0; return fHoughTransformer[i];}
+  AliHLTTPCTrackArray *GetTracks(Int_t i) const {if(!fTracks[i]) return 0; return fTracks[i];}
+  AliHLTTPCHoughEval *GetEval(Int_t i) const {if(!fEval[i]) return 0; return fEval[i];}
+  AliHLTTPCHoughMerger *GetMerger() const{if(!fMerger) return 0; return fMerger;}
+  AliHLTTPCHoughIntMerger *GetInterMerger() const {if(!fInterMerger) return 0; return fInterMerger;}
+  AliHLTTPCMemHandler *GetMemHandler(Int_t i) const {if(!fMemHandler[i]) return 0; return fMemHandler[i];}
+  AliHLTTPCHoughMaxFinder *GetMaxFinder() const {return fPeakFinder;}
 
   //Special methods for executing Hough Transform as a thread
   static void *ProcessInThread(void *args);
   void StartProcessInThread(Int_t minslice,Int_t maxslice);
   Int_t WaitForThreadFinish();
   void SetMinMaxSlices(Int_t minslice,Int_t maxslice) {fMinSlice = minslice; fMaxSlice = maxslice;} 
-  Int_t GetMinSlice() {return fMinSlice;}
-  Int_t GetMaxSlice() {return fMaxSlice;}
+  Int_t GetMinSlice() const {return fMinSlice;}
+  Int_t GetMaxSlice() const {return fMaxSlice;}
   
  private:
+  /// copy constructor not permitted
+  AliHLTTPCHough(const AliHLTTPCHough);
+  /// assignment operator not permitted
+  AliHLTTPCHough& operator=(const AliHLTTPCHough);
+  
   Char_t *fInputFile;//!
   Char_t *fInputPtr;//!
   AliRawEvent *fRawEvent;//!