Various style issues dealt with, like inclussion of header files, etc.
[u/mrichter/AliRoot.git] / FMD / AliFMDBoolMap.h
CommitLineData
56b1929b 1#ifndef ALIFMDBOOLMAP_H
2#define ALIFMDBOOLMAP_H
3/* Copyright (c) 2004, ALICE Experiment @ CERN.
4 * All rights reserved
5 * See AliFMDBoolMap.cxx for full copyright notice
6 *
7 * Created Mon Nov 8 12:51:51 2004 by Christian Holm Christensen
8 */
9/* $Id$ */
10//__________________________________________________________
11//
12// Map of Bool_t for each FMD strip
13//
14#ifndef ALIFMDMAP_H
15# include <AliFMDMap.h>
16#endif
17
18class AliFMDBoolMap : public AliFMDMap
19{
20public:
21 AliFMDBoolMap(const AliFMDBoolMap& other);
22 AliFMDBoolMap(size_t maxDet = kMaxDetectors,
23 size_t maxRing = kMaxRings,
24 size_t maxSec = kMaxSectors,
25 size_t maxStr = kMaxStrips);
26 virtual ~AliFMDBoolMap() { delete [] fData; }
27 AliFMDBoolMap& operator=(const AliFMDBoolMap& other);
28 virtual void Clear(const Bool_t& v=Bool_t());
29 virtual Bool_t& operator()(UShort_t det,
30 Char_t ring,
31 UShort_t sec,
32 UShort_t str);
33 virtual const Bool_t& operator()(UShort_t det,
34 Char_t ring,
35 UShort_t sec,
36 UShort_t str) const;
37protected:
38 Bool_t* fData; // The Data
39 ClassDef(AliFMDBoolMap,1) // Map of Bool_t data per strip
40};
41
42#endif
43//__________________________________________________________
44//
45// Local Variables:
46// mode: C++
47// End:
48//