3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 /** @file AliFMDFancy.h
9 @author Christian Holm Christensen <cholm@nbi.dk>
10 @date Mon Mar 27 12:39:09 2006
11 @brief FMD Event display (as fancys)
13 //___________________________________________________________________
15 // The classes defined here, are utility classes for reading in data
16 // for the FMD. They are put in a seperate library to not polute the
17 // normal libraries. The classes are intended to be used as base
18 // classes for customized class that do some sort of analysis on the
19 // various types of data produced by the FMD.
21 #include "AliFMDDisplay.h"
22 #include <TObjArray.h>
33 //___________________________________________________________________
34 /** @class AliFMDFancy
35 @brief Utility class to visualize FMD data in 2D.
38 class AliFMDFancy : public AliFMDDisplay
43 Detector(UShort_t id);
47 void Begin(Int_t event=0);
48 void Clear(Int_t event=0);
50 void AddMarker(Char_t rng, UShort_t sec, UShort_t str,
51 Float_t v, Float_t max);
63 void AddHistogram(TGraph2D& g, const char* opt="");
64 Detector(const Detector& );
65 Detector& operator=(const Detector& ) { return *this; }
69 @param gAliceFile galice file*/
70 AliFMDFancy(const char* gAliceFile="galice.root");
72 virtual ~AliFMDFancy();
75 @return @c false on error */
76 virtual Bool_t Init();
77 /** Called at beginning of an event
78 @param event Event number
79 @return @c false on error */
80 virtual Bool_t Begin(Int_t event);
81 /** Called at end of an event
82 @return @c false on error */
85 AliFMDFancy(const AliFMDFancy& );
86 AliFMDFancy& operator=(const AliFMDFancy& ) { return *this; }
87 /** Add a marker to the display
92 @param o Object to refer to
94 @param max Maximum of signal */
95 virtual void AddMarker(UShort_t det, Char_t rng, UShort_t sec, UShort_t str,
96 TObject* o, Float_t s, Float_t max);
98 virtual Bool_t ProcessHit(AliFMDHit* hit, TParticle*);
123 ClassDef(AliFMDFancy,0)
128 //____________________________________________________________________