]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/AliEveVSDCreator.h
Remove trailing whitespace.
[u/mrichter/AliRoot.git] / EVE / Alieve / AliEveVSDCreator.h
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
5a5a1232 9
10#ifndef ALIEVE_VSDCreator_H
11#define ALIEVE_VSDCreator_H
12
84aff7a4 13#include <TEveVSD.h>
5a5a1232 14
15class AliTPCParam;
16class AliRunLoader;
17
18#include <map>
19
5a5a1232 20
d810d0de 21class AliEveVSDCreator : public TEveVSD
5a5a1232 22{
d810d0de 23 AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
24 AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
265ecb21 25
5a5a1232 26public:
27 enum KineType_e { KT_Standard, KT_ProtonProton };
28
29protected:
30 void MakeItsDigitsInfo();
84aff7a4 31 TEveMCRecCrossRef* GetGeninfo(Int_t label);
32 AliTPCParam* GetTpcParam(const TEveException& eh);
5a5a1232 33
34 KineType_e mKineType; // X{GS} 7 PhonyEnum()
35 TString mDataDir; // X{G}
36 Int_t mEvent; // X{G}
37
51346b82 38 Float_t mTPCHitRes; // X{gs}
39 Float_t mTRDHitRes; // X{gs}
5a5a1232 40
41 Int_t mDebugLevel;
42
84aff7a4 43 std::map<Int_t, TEveMCRecCrossRef*> mGenInfoMap; //!
5a5a1232 44
5a5a1232 45public:
d810d0de 46 AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
47 virtual ~AliEveVSDCreator() {}
5a5a1232 48
49 void CreateVSD(const Text_t* data_dir, Int_t event,
51346b82 50 const Text_t* vsd_file); // X{Ed}
5a5a1232 51
52 void CreateTrees();
53
54 // --------------------------------------------------------------
55 // Conversion functions.
56
57 void ConvertKinematics();
58 void ConvertHits();
59 void ConvertClusters();
60 void ConvertTPCClusters();
61 void ConvertITSClusters();
62 void ConvertV0();
63 void ConvertKinks();
64 void ConvertRecTracks();
65 void ConvertGenInfo();
66
67 // --------------------------------------------------------------
68 // Get/Set crap
69 Int_t GetDebugLevel() const { return mDebugLevel; }
70 void SetDebugLevel(Int_t dl) { mDebugLevel = dl; }
71
72 // --------------------------------------------------------------
73 // Globals.
74
75 AliRunLoader* pRunLoader;
76
d810d0de 77 ClassDef(AliEveVSDCreator, 1);
78}; // endclass AliEveVSDCreator
5a5a1232 79
80#endif