]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveBase/AliEveVSDCreator.h
Resolving all symbols in the library
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveVSDCreator.h
index 7d7f52b62896b5ea829b0eb32fc9637c7a7c7544..f8089c7fc0dcc8b15ef1eeea256eed21699d0027 100644 (file)
@@ -7,47 +7,23 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
-#ifndef ALIEVE_VSDCreator_H
-#define ALIEVE_VSDCreator_H
+#ifndef AliEveVSDCreator_H
+#define AliEveVSDCreator_H
 
 #include <TEveVSD.h>
 
-class AliTPCParam;
-class AliRunLoader;
-
 #include <map>
 
+class AliTPCParam;
+class AliRunLoader;
 
 class AliEveVSDCreator : public TEveVSD
 {
-  AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
-  AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
-
-public:
-  enum KineType_e { kKT_Standard, kKT_ProtonProton };
-
-protected:
-  void          MakeItsDigitsInfo();
-  TEveMCRecCrossRef* GetGeninfo(Int_t label);
-  AliTPCParam*   GetTpcParam(const TEveException& eh);
-
-  KineType_e    mKineType;  // X{GS} 7 PhonyEnum()
-  TString       mDataDir;   // X{G}
-  Int_t         mEvent;     // X{G}
-
-  Float_t       mTPCHitRes;  // X{gs}
-  Float_t       mTRDHitRes;  // X{gs}
-
-  Int_t         mDebugLevel;
-
-  std::map<Int_t, TEveMCRecCrossRef*> mGenInfoMap; //!
-
 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* vsdFile="AliVSD.root");
 
   void CreateTrees();
 
@@ -55,26 +31,47 @@ public:
   // Conversion functions.
 
   void ConvertKinematics();
+
   void ConvertHits();
+  void ConvertAnyHits(const TString& detector, const TString& clones_class,
+                      Int_t det_id, Float_t minDistSqr=0);
+  void ConvertTPCHits(Int_t det_id, Float_t minDistSqr=0);
+
   void ConvertClusters();
-  void ConvertTPCClusters();
-  void ConvertITSClusters();
+  void ConvertAnyClusters(const TString& detector, const TString& branch_name,
+                          Int_t det_id);
+  void ConvertTPCClusters(Int_t det_id);
+
+  void ConvertRecTracks();
+
   void ConvertV0();
   void ConvertKinks();
-  void ConvertRecTracks();
+
   void ConvertGenInfo();
 
   // --------------------------------------------------------------
-  // Get/Set crap
-  Int_t GetDebugLevel() const   { return mDebugLevel; }
-  void  SetDebugLevel(Int_t dl) { mDebugLevel = dl; }
 
-  // --------------------------------------------------------------
-  // Globals.
+  Int_t GetDebugLevel() const   { return fDebugLevel; }
+  void  SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
 
-  AliRunLoader* pRunLoader;
+protected:
+  void               MakeItsDigitsInfo();
+  TEveMCRecCrossRef* GetGeninfo(Int_t label);
+
+  Float_t       fTPCHitRes;  // Resolution for storing TPC hits.
+  Float_t       fTRDHitRes;  // Resolution for storing TRD hits.
+
+  Int_t         fDebugLevel; // Internal debug level.
+
+  AliRunLoader *fRunLoader;  // Internal run-loader.
+
+  std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
+
+private:
+  AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
+  AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
 
-  ClassDef(AliEveVSDCreator, 1);
+  ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
 }; // endclass AliEveVSDCreator
 
 #endif