]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveBase/AliEveVSDCreator.h
Document code, fix var names.
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveVSDCreator.h
index 7d7f52b62896b5ea829b0eb32fc9637c7a7c7544..ca7484abc1eb54ff26f84503b5141e59d1a0efb4 100644 (file)
@@ -20,34 +20,32 @@ class AliRunLoader;
 
 class AliEveVSDCreator : public TEveVSD
 {
+private:
   AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
   AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
 
-public:
-  enum KineType_e { kKT_Standard, kKT_ProtonProton };
-
 protected:
-  void          MakeItsDigitsInfo();
+  void               MakeItsDigitsInfo();
   TEveMCRecCrossRef* GetGeninfo(Int_t label);
-  AliTPCParam*   GetTpcParam(const TEveException& eh);
+  AliTPCParam*       GetTpcParam(const TEveException& eh);
+
+  TString       fDataDir;    // Source data directory.
+  Int_t         fEvent;      // Source event number.
 
-  KineType_e    mKineType;  // X{GS} 7 PhonyEnum()
-  TString       mDataDir;   // X{G}
-  Int_t         mEvent;     // X{G}
+  Float_t       fTPCHitRes;  // Resolution for storing TPC hits.
+  Float_t       fTRDHitRes;  // Resolution for storing TRD hits.
 
-  Float_t       mTPCHitRes;  // X{gs}
-  Float_t       mTRDHitRes;  // X{gs}
+  Int_t         fDebugLevel; // Internal debug level.
 
-  Int_t         mDebugLevel;
+  AliRunLoader *fRunLoader;  // Internal run-loader.
 
-  std::map<Int_t, TEveMCRecCrossRef*> mGenInfoMap; //!
+  std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
 
 public:
   AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
   virtual ~AliEveVSDCreator() {}
 
-  void CreateVSD(const Text_t* data_dir, Int_t event,
-                 const Text_t* vsd_file);  // X{Ed}
+  void CreateVSD(const Text_t* dataDir, Int_t event, const Text_t* vsdFile);
 
   void CreateTrees();
 
@@ -65,16 +63,11 @@ public:
   void ConvertGenInfo();
 
   // --------------------------------------------------------------
-  // Get/Set crap
-  Int_t GetDebugLevel() const   { return mDebugLevel; }
-  void  SetDebugLevel(Int_t dl) { mDebugLevel = dl; }
-
-  // --------------------------------------------------------------
-  // Globals.
 
-  AliRunLoader* pRunLoader;
+  Int_t GetDebugLevel() const   { return fDebugLevel; }
+  void  SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
 
-  ClassDef(AliEveVSDCreator, 1);
+  ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
 }; // endclass AliEveVSDCreator
 
 #endif