]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveDet/AliEveTOFStrip.h
CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFStrip.h
index eb8a48509b2d062b70e57045029254e5ee4d3999..3b92df347e6613b9ce9840e92c10b8b2b14ee8e0 100644 (file)
@@ -1,51 +1,28 @@
-// $Id$
-// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
+#ifndef ALIEVETOFSTRIP_H
+#define ALIEVETOFSTRIP_H
 
 /**************************************************************************
  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
  * full copyright notice.                                                 *
  **************************************************************************/
-#ifndef AliEveTOFStrip_H
-#define AliEveTOFStrip_H
 
-#include <TEveQuadSet.h>
-#include <TEveElement.h>
+// $Id$
+// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
 
-#include <TEveRGBAPalette.h>
-#include <TEveFrameBox.h>
+//
+// Class to visualize the TOF digit information
+// in TOF strip frame
+//
 
-#include <TGeoManager.h>
-#include <TClonesArray.h>
+#include <TEveQuadSet.h>
 
-#include <AliTOFGeometry.h>
+class TClonesArray;
 
+class AliTOFGeometry;
 
 class AliEveTOFStrip : public TEveQuadSet
 {
-  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
-  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
-
-private:
-  void LoadQuads();
-
-protected:
-
-  AliTOFGeometry *fTOFgeometry;
-
-  TClonesArray   *fTOFarray;
-
-  Short_t fThreshold;
-  Int_t   fMaxVal;
-  Int_t   fSector;
-  Int_t   fPlate;
-  Int_t   fStrip;
-
-  Float_t fDx;
-  Float_t fDz;
-
-  TGeoManager *fGeoManager;
-
 public:
 
   virtual void InitModule();
@@ -60,19 +37,41 @@ public:
                 TClonesArray *tofArray);
   virtual ~AliEveTOFStrip();
 
-  static Bool_t    fgStaticInitDone;
-  static void      InitStatics();
-
   void SetThreshold(Short_t t);
   void SetMaxVal(Int_t mv);
-  Short_t GetThreshold() const {return fThreshold;};
-  Int_t GetMaxVal() const {return fMaxVal;};
+  Short_t GetThreshold() const { return fThreshold; }
+  Int_t   GetMaxVal()    const { return fMaxVal; }
   virtual void DigitSelected(Int_t idx);
 
-  static TEveFrameBox* fgTOFstripFrameBox;
+protected:
+  static Bool_t    fgStaticInitDone; // Has initialization of static variables been done.
+  static void      InitStatics();    // Initialize static variables.
+
+  static TEveFrameBox    *fgTOFstripFrameBox; // Shared box-frame for all strips.
+  static TEveRGBAPalette *fgTOFstripPalette;  // Shared palette.
+
+private:
+  void LoadQuads();
+
+  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
+  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
+
+
+  AliTOFGeometry *fTOFgeometry; // pointer to TOF geometry
+
+  TClonesArray   *fTOFarray;    // pointer to TOF digits array
+
+  Short_t fThreshold; // threshold to cut on visualization
+  Int_t   fMaxVal;    // max value to cut on visualization
+  Int_t   fSector;    // TOF sector index
+  Int_t   fPlate;     // TOF module index
+  Int_t   fStrip;     // TOF strip index
+
+  Float_t fDx;    // x position of TOF digit (in TOF strip RF)
+  Float_t fDz;    // z position of TOF digit (in TOF strip RF)
 
-  static TEveRGBAPalette* fgTOFstripPalette;
+  TGeoManager *fGeoManager; // pointer to the ALICE geometry
 
-  ClassDef(AliEveTOFStrip, 1);
+  ClassDef(AliEveTOFStrip, 0); // Representation of a TOF strip.
 };
 #endif