// $Header: /data/reve-cvs/reve/alicore/VSDCreator.h,v 1.1.1.1 2005/12/04 19:42:49 aljam Exp $

#ifndef ALIREVE_VSDCreator_H
#define ALIREVE_VSDCreator_H

#include <Reve/VSD.h>

class AliTPCParam;
class AliRunLoader;

#include <map>

namespace AliReve {

class VSDCreator : public Reve::VSD
{
public:
  enum KineType_e { KT_Standard, KT_ProtonProton };

protected:
  void          make_its_digits_info();
  Reve::GenInfo* get_geninfo(Int_t label);
  AliTPCParam*   get_tpc_param(const Reve::Exc_t& eh);

  KineType_e    mKineType;  // X{GS} 7 PhonyEnum()
  TString       mDataDir;   // X{G}
  Int_t         mEvent;     // X{G}

  Float_t       mTRDHitRes;  // X{gs} 
  Float_t       mTPCHitRes;  // X{gs} 

  std::map<Int_t, Reve::GenInfo*> mGenInfoMap; //!

  void init();

public:
  VSDCreator();
  VSDCreator(const Text_t* name, const Text_t* title="");
  virtual ~VSDCreator() {}

  void CreateVSD(const Text_t* data_dir, Int_t event,
                 const Text_t* vsd_file);  // X{Ed} 

  void CreateTrees();

  // --------------------------------------------------------------
  // Conversion functions.

  void ConvertKinematics();
  void ConvertHits();
  void ConvertClusters();
  void ConvertTPCClusters();
  void ConvertITSClusters();
  void ConvertV0();
  void ConvertKinks();
  void ConvertRecTracks();
  void ConvertGenInfo();


  // --------------------------------------------------------------
  // Globals.

  AliRunLoader* pRunLoader;

  ClassDef(VSDCreator, 1);
}; // endclass VSDCreator

}

#endif


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.