2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef ALIEVE_VSDCreator_H
11 #define ALIEVE_VSDCreator_H
21 class AliEveVSDCreator : public TEveVSD
23 AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
24 AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
27 enum KineType_e { kKT_Standard, kKT_ProtonProton };
30 void MakeItsDigitsInfo();
31 TEveMCRecCrossRef* GetGeninfo(Int_t label);
32 AliTPCParam* GetTpcParam(const TEveException& eh);
34 KineType_e mKineType; // X{GS} 7 PhonyEnum()
35 TString mDataDir; // X{G}
38 Float_t mTPCHitRes; // X{gs}
39 Float_t mTRDHitRes; // X{gs}
43 std::map<Int_t, TEveMCRecCrossRef*> mGenInfoMap; //!
46 AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
47 virtual ~AliEveVSDCreator() {}
49 void CreateVSD(const Text_t* data_dir, Int_t event,
50 const Text_t* vsd_file); // X{Ed}
54 // --------------------------------------------------------------
55 // Conversion functions.
57 void ConvertKinematics();
59 void ConvertClusters();
60 void ConvertTPCClusters();
61 void ConvertITSClusters();
64 void ConvertRecTracks();
65 void ConvertGenInfo();
67 // --------------------------------------------------------------
69 Int_t GetDebugLevel() const { return mDebugLevel; }
70 void SetDebugLevel(Int_t dl) { mDebugLevel = dl; }
72 // --------------------------------------------------------------
75 AliRunLoader* pRunLoader;
77 ClassDef(AliEveVSDCreator, 1);
78 }; // endclass AliEveVSDCreator