]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDFMD.h
AliHMPIDDigitN no longer needed
[u/mrichter/AliRoot.git] / STEER / AliESDFMD.h
1 #ifndef ALIESDFMD_H
2 #define ALIESDFMD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4  * reserved. 
5  *
6  * See cxx source for full Copyright notice                               
7  */
8 //___________________________________________________________________
9 //
10 // AliESDFMD is the Event Summary Data entry for the FMD.  It contains
11 // a rough estimate of the charged particle multiplicity in each strip
12 // of the FMD.    It also contains the psuedo-rapidity of each strip.
13 // This is important, as it varies from event to event, due to a
14 // finite interaction point probability distribution. 
15 //
16 #ifndef ROOT_TObject
17 # include <TObject.h>
18 #endif
19 #ifndef ALIFMDFLOATMAP_H
20 # include "AliFMDFloatMap.h"
21 #endif
22
23 //___________________________________________________________________
24 class AliESDFMD : public TObject
25 {
26 public:
27   AliESDFMD();
28   AliESDFMD(const AliESDFMD& other);
29   AliESDFMD& operator=(const AliESDFMD& other);
30   virtual ~AliESDFMD() {}
31
32   void Clear(Option_t *option="");
33   Float_t Multiplicity(UShort_t detector, Char_t ring, 
34                        UShort_t sector, UShort_t strip) const;
35   Float_t Eta(UShort_t detector, Char_t ring, 
36               UShort_t sector, UShort_t strip) const;
37   void SetMultiplicity(UShort_t detector, Char_t ring, 
38                        UShort_t sector, UShort_t strip, 
39                        Float_t mult);
40   void SetEta(UShort_t detector, Char_t ring, 
41               UShort_t sector, UShort_t strip, 
42               Float_t mult);
43
44   UShort_t MaxDetectors() const { return fMultiplicity.MaxDetectors(); }
45   UShort_t MaxRings()     const { return fMultiplicity.MaxRings(); }
46   UShort_t MaxSectors()   const { return fMultiplicity.MaxSectors(); }
47   UShort_t MaxStrips()    const { return fMultiplicity.MaxStrips(); }
48   void Print(Option_t* option="") const;
49   enum {
50     kInvalidMult = 1000
51   };
52   enum {
53     kInvalidEta = 1000
54   };
55 protected:
56   AliFMDFloatMap fMultiplicity; // Psuedo multplicity per strip
57   AliFMDFloatMap fEta;          // Psuedo-rapidity per strip
58   
59   ClassDef(AliESDFMD,2)  // ESD info from FMD
60 };
61 #endif
62 //____________________________________________________________________
63 //
64 // Local Variables:
65 //   mode: C++
66 // End:
67 //
68 // EOF
69 //