AliRoot Core  edcc906 (edcc906)
AliFMDEdepHitPair.h
Go to the documentation of this file.
1 #ifndef ALIFMDEDEPHITPAIR_H
2 #define ALIFMDEDEPHITPAIR_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
4  * reserved.
5  *
6  * See cxx source for full Copyright notice
7  */
14 //____________________________________________________________________
15 //
16 // Contains a pair of energy deposited fEdep and number of hits
17 // fN, fEdep is the summed energy deposition, and fN is the
18 // number of hits. The map contains one such object or each strip.
19 // It is used to cache the data in the digitization classes
20 // AliFMDBaseDigitizer and so on.
21 //
22 #ifndef ROOT_Rtypes
23 # include <Rtypes.h>
24 #endif
25 #ifndef ROOT_TArrayI
26 # include <TArrayI.h>
27 #endif
28 
29 //____________________________________________________________________
37 {
38 public:
39  Float_t fEdep; // summed energy deposition
40  UShort_t fN; // Number of hits
41  UShort_t fNPrim; // Number of primaries;
42  TArrayI fLabels; // Track labels.
43 
45  AliFMDEdepHitPair() : fEdep(0), fN(0), fNPrim(0), fLabels(0) {}
47  virtual ~AliFMDEdepHitPair() {}
52  {
53  if (&o == this) return *this;
54  fEdep = o.fEdep;
55  fN = o.fN;
56  fNPrim = o.fNPrim;
57  fLabels = o.fLabels;
58  return *this;
59  }
63  : fEdep(o.fEdep), fN(o.fN), fNPrim(o.fNPrim), fLabels(o.fLabels)
64  {}
65  ClassDef(AliFMDEdepHitPair, 3)
66 };
67 
68 #endif
69 //____________________________________________________________________
70 //
71 // Local Variables:
72 // mode: C++
73 // End:
74 //
75 // EOF
76 //
77 
78 
AliFMDEdepHitPair & operator=(const AliFMDEdepHitPair &o)
AliFMDEdepHitPair(const AliFMDEdepHitPair &o)
Cache of Energy deposited, hit information per strip. Contains a pair of energy deposited fEdep and n...
virtual ~AliFMDEdepHitPair()