kalmanalignment is hosted by Hepforge, IPPP Durham
Kalman Alignment

/home/mweber/Dokumente/CMS/Alignment/kalmanalignment/trunk/simulation/Visualization.h

Go to the documentation of this file.
00001 #ifndef _Visualization_h
00002 #define _Visualization_h
00003 
00004 // geometry
00005 #include <TGeometry.h>
00006 #include <TNode.h>
00007 #include <TMaterial.h>
00008 #include <TBRIK.h>
00009 #include <TTUBE.h>
00010 
00011 
00012 // local includes
00013 #include "ReferenceFrame.h"
00014 #include "Det.h"
00015 #include "Hit.h"
00016 #include "Track.h"
00017 #include "Detector.h"
00018 
00034 class Visualization
00035 {
00036   TGeometry fGeometry;
00037   TBRIK * fHit;
00038   TBRIK * fTrack;
00039 
00040  public:
00041   // standard constructor
00042   Visualization();
00043   void AddDetector(const Detector & det);
00044   void AddHit(const Hit & hit);
00045   void AddTrack(const Track & track, const int color = 1);
00046   void Show();
00047  protected:
00048   void AddDet(const Det & det, int color);
00049 };
00050 
00051 #endif