* 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
{
-private:
- AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
- AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
-
-protected:
- void MakeItsDigitsInfo();
- TEveMCRecCrossRef* GetGeninfo(Int_t label);
- AliTPCParam* GetTpcParam(const TEveException& eh);
-
- TString fDataDir; // Source data directory.
- Int_t fEvent; // Source event number.
-
- 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.
-
public:
AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
virtual ~AliEveVSDCreator() {}
- void CreateVSD(const Text_t* dataDir, Int_t event, const Text_t* vsdFile);
+ void CreateVSD(const Text_t* vsdFile);
void CreateTrees();
Int_t GetDebugLevel() const { return fDebugLevel; }
void SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
+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, 0); // Create VSD file from ALICE data.
}; // endclass AliEveVSDCreator