]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveDet/AliEveTOFStrip.h
Update of the class ESDMuonFilter. New marcros for creating AOD with muon information...
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFStrip.h
index 7819e40ed30b215bf14530ca03eaf9f857bbfacf..33e2554ee777cd65f45b67a7a1f559ac9b2f655e 100644 (file)
@@ -6,8 +6,8 @@
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
  * full copyright notice.                                                 *
  **************************************************************************/
-#ifndef ALIEVE_TOFStrip_H
-#define ALIEVE_TOFStrip_H
+#ifndef AliEveTOFStrip_H
+#define AliEveTOFStrip_H
 
 #include <TEveQuadSet.h>
 #include <TEveElement.h>
 
 class AliEveTOFStrip : public TEveQuadSet
 {
-  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
-  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
-
-private:
-  void LoadQuads();
-
 protected:
 
   AliTOFGeometry *fTOFgeometry;
@@ -60,19 +54,25 @@ 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.
 
-  static TEveRGBAPalette* fgTOFstripPalette;
+private:
+  void LoadQuads();
+
+  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
+  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
 
-  ClassDef(AliEveTOFStrip, 1);
+  ClassDef(AliEveTOFStrip, 0); // Representation of a TOF strip.
 };
 #endif