// @(#)codeTDv2Final/CTDR_Animation :$Name:  $:$Id: CTDR_Animation.h,v 1.7 2006/11/25 16:10:44 Benoit Exp $
// Author: Mathieu Benoit   24/11/06

//////////////////////////////////////////////////////////////////////////
// Source file : class CTDR_Animation					//
// This class is used to produce a root file containing the tracks of  	//
// the charge elements simulated. It creates a geometry, defined in the //
// the constructor, and everything needed to draw image and animation   //
// of the simulated event in the geometry . The root file can be read  	//
// using cint interpreter, and the geometry and the charge tracks can	//
// then be manipulated using functions provided with root's geometry  	//
// packages , see TGeoManager and TGeoTracks classes.	 		//
//////////////////////////////////////////////////////////////////////////

#ifndef CTDR_ANIMATION_H_DEF
#define CTDR_ANIMATION_H_DEF

#include "TGeoManager.h"
#include "TVirtualGeoTrack.h"
#include "TFile.h"
#include "TGeoBBox.h"
#include "CTDR_Detecteur.h"



class CTDR_Animation : public TObject
{

      private :
             TGeoManager *Geo; // The geometry manager
             TFile *f2; // The file where the objects are written
             int Ntracks; // The number of tracks
             TGeoMedium *medium; // the material
             TGeoVolume *top ; // the box
             TGeoBBox *Pix; // The pixels
             TGeoVolume *pix; //the pixels volume
             double Lx,Ly,Lz;  // size of the box

      public :
             CTDR_Animation(double lx, double ly, double lz, CTDR_Interaction &inter,int i=0, int j=0);
             void AjoutePas(CTDR_Interaction &inter);
             void Anime(int Npas,double Tmax);
	     ClassDef(CTDR_Animation,0) // A geometry and event track visualization class

};

#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.