]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDEdepHitPair.h
Fixes for macosx
[u/mrichter/AliRoot.git] / FMD / AliFMDEdepHitPair.h
CommitLineData
02a27b50 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 */
8/** @file AliFMDEdepHitPair.h
9 @author Christian Holm Christensen <cholm@nbi.dk>
10 @date Mon Mar 27 12:39:50 2006
11 @brief Per strip map of energy deposited and number of hits
12 @ingroup FMD_sim
13*/
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
b2e6f0b0 25#ifndef ROOT_TArrayI
26# include <TArrayI.h>
27#endif
28
02a27b50 29//____________________________________________________________________
30/** @brief Cache of Energy deposited, hit information per strip.
31 Contains a pair of energy deposited @c fEdep and
32 number of hits @c fN, @c fEdep is the summed energy deposition,
33 and @c fN is the number of hits
34 @ingroup FMD_sim
35*/
36class AliFMDEdepHitPair
37{
38public:
b2e6f0b0 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.
83ad576a 43
02a27b50 44 /** CTOR */
b2e6f0b0 45 AliFMDEdepHitPair() : fEdep(0), fN(0), fNPrim(0), fLabels(0) {}
02a27b50 46 /** DTOR */
47 virtual ~AliFMDEdepHitPair() {}
48 /** Assignment operator
49 @param o Object to assign from
50 @return Reference to this object */
51 AliFMDEdepHitPair& operator=(const AliFMDEdepHitPair& o)
83ad576a 52 {
b2e6f0b0 53 fEdep = o.fEdep;
54 fN = o.fN;
55 fNPrim = o.fNPrim;
56 fLabels = o.fLabels;
83ad576a 57 return *this;
58 }
02a27b50 59 /** Copy CTOR
60 @param o Object to copy from */
83ad576a 61 AliFMDEdepHitPair(const AliFMDEdepHitPair& o)
b2e6f0b0 62 : fEdep(o.fEdep), fN(o.fN), fNPrim(o.fNPrim), fLabels(o.fLabels)
83ad576a 63 {}
b2e6f0b0 64 ClassDef(AliFMDEdepHitPair, 3)
02a27b50 65};
66
67#endif
68//____________________________________________________________________
69//
70// Local Variables:
71// mode: C++
72// End:
73//
74// EOF
75//
76
77